1 USING: eval tools.test compiler.units vocabs words
2 kernel classes.mixin arrays ;
3 IN: compiler.tests.folding
5 ! Calls to generic words were not folded away.
7 [ ] [ [ "compiler.tests.redefine11" forget-vocab ] with-compilation-unit ] unit-test
11 IN: compiler.tests.folding
12 GENERIC: foldable-generic ( a -- b ) foldable
13 M: integer foldable-generic f <array> ;"
19 IN: compiler.tests.folding
20 : fold-test ( -- x ) 10 foldable-generic ;"
25 "fold-test" "compiler.tests.folding" lookup-word execute
26 "fold-test" "compiler.tests.folding" lookup-word execute