1 USING: eval tools.test compiler.units vocabs multiline words
5 ! Mixin redefinition did not recompile all necessary words.
7 [ ] [ [ "compiler.tests.redefine10" forget-vocab ] with-compilation-unit ] unit-test
11 USING: kernel math classes ;
12 IN: compiler.tests.redefine10
14 INSTANCE: fixnum my-mixin
15 : my-inline ( a -- b ) dup my-mixin instance? [ 1 + ] when ;
22 IN: compiler.tests.redefine10
23 INSTANCE: float my-mixin
28 1.0 "my-inline" "compiler.tests.redefine10" lookup execute