1 USING: kernel tools.test eval ;
2 IN: compiler.tests.redefine12
4 ! A regression that came about when fixing the
5 ! 'no method on classes-intersect?' bug
11 : h ( a -- b ) dup [ g ] when ;
13 [ f ] [ f h ] unit-test
14 [ t ] [ "hi" h ] unit-test
18 [ ] [ "USE: kernel IN: compiler.tests.redefine12 M: jeah g drop f ;" eval ] unit-test
20 [ f ] [ T{ jeah } h ] unit-test