1 USING: eval tools.test compiler.units vocabs words kernel ;
2 IN: compiler.tests.redefine10
4 ! Mixin redefinition did not recompile all necessary words.
6 [ ] [ [ "compiler.tests.redefine10" forget-vocab ] with-compilation-unit ] unit-test
9 "USING: kernel math classes ;
10 IN: compiler.tests.redefine10
12 INSTANCE: fixnum my-mixin
13 : my-inline ( a -- b ) dup my-mixin instance? [ 1 + ] when ;"
19 IN: compiler.tests.redefine10
20 INSTANCE: float my-mixin"
25 1.0 "my-inline" "compiler.tests.redefine10" lookup execute