]> gitweb.factorcode.org Git - factor.git/blob - basis/compiler/tests/redefine16.factor
3bef30f9f1bc15b6d06e5684ee9154f05e8f5b90
[factor.git] / basis / compiler / tests / redefine16.factor
1 IN: compiler.tests.redefine16
2 USING: eval tools.test definitions words compiler.units
3 quotations stack-checker ;
4
5 [ ] [ [ "blah" "compiler.tests.redefine16" lookup forget ] with-compilation-unit ] unit-test
6
7 [ ] [ "IN: compiler.tests.redefine16 GENERIC# blah 2 ( foo bar baz -- )" eval( -- ) ] unit-test
8 [ ] [ "IN: compiler.tests.redefine16 USING: strings math arrays prettyprint ; M: string blah 1 + 3array . ;" eval( -- ) ] unit-test
9 [ ] [ "IN: compiler.tests.redefine16 GENERIC# blah 2 ( foo bar baz -- x )" eval( -- ) ] unit-test
10
11 [ ] [ [ "blah" "compiler.tests.redefine16" lookup forget ] with-compilation-unit ] unit-test