compiler.tests: remove some tests that can't work now.

check-combination-effect raises an error at parse-time.
db4
John Benediktsson 2015-08-05 18:01:16 -07:00
parent 46021e4d77
commit 136d793c6e
2 changed files with 0 additions and 27 deletions

View File

@ -1,11 +0,0 @@
USING: tools.test math kernel compiler.units definitions ;
IN: compiler.tests.generic
GENERIC: bad ( -- )
M: integer bad ;
M: object bad ;
[ 0 bad ] must-fail
[ "" bad ] must-fail
[ ] [ [ \ bad forget ] with-compilation-unit ] unit-test

View File

@ -385,22 +385,6 @@ DEFER: loop-bbb
[ 1 ] [ 257 modular-arithmetic-bug ] unit-test
[ -10 ] [ -10 modular-arithmetic-bug ] unit-test
! Optimizer needs to ignore invalid generics
GENERIC# bad-dispatch-position-test* 3 ( -- )
M: object bad-dispatch-position-test* ;
: bad-dispatch-position-test ( -- ) bad-dispatch-position-test* ;
[ 1 2 3 4 bad-dispatch-position-test ] must-fail
[ ] [
[
\ bad-dispatch-position-test forget
\ bad-dispatch-position-test* forget
] with-compilation-unit
] unit-test
[ 16 ] [
[
0 2