1 USING: eval tools.test compiler.units vocabs multiline words
5 ! Mixin redefinition did not recompile all necessary words.
7 [ ] [ [ "compiler.tests.redefine8" forget-vocab ] with-compilation-unit ] unit-test
11 USING: kernel math math.order sorting ;
12 IN: compiler.tests.redefine8
14 INSTANCE: fixnum my-mixin
15 GENERIC: my-generic ( a -- b )
16 ! We add the bogus quotation here to hinder inlining
17 ! since otherwise we cannot trigger this bug.
18 M: my-mixin my-generic 1 + [ [ <=> ] sort ] drop ;
25 IN: compiler.tests.redefine8
26 INSTANCE: float my-mixin
31 1.0 "my-generic" "compiler.tests.redefine8" lookup execute