1 USING: eval tools.test compiler.units vocabs multiline words
5 ! Regression: if dispatch was eliminated but method was not inlined,
6 ! compiled usage information was not recorded.
8 [ "compiler.tests.redefine5" forget-vocab ] with-compilation-unit
12 USING: sorting kernel math.order ;
13 IN: compiler.tests.redefine5
14 GENERIC: my-generic ( a -- b )
15 M: object my-generic [ <=> ] sort ;
16 : my-inline ( a -- b ) my-generic ;
23 IN: compiler.tests.redefine5
25 M: my-tuple my-generic drop 0 ;
30 "my-tuple" "compiler.tests.redefine5" lookup boa
31 "my-inline" "compiler.tests.redefine5" lookup execute