compiler.cfg: 'basic-block new hashcode' should not throw an exception; fixes tools.deploy.test.11
parent
b23fa0a0c6
commit
e30d275e41
|
@ -4,7 +4,7 @@ USING: kernel math vectors arrays accessors namespaces ;
|
|||
IN: compiler.cfg
|
||||
|
||||
TUPLE: basic-block < identity-tuple
|
||||
id
|
||||
{ id integer }
|
||||
number
|
||||
{ instructions vector }
|
||||
{ successors vector }
|
||||
|
|
|
@ -6,7 +6,7 @@ io.streams.string kernel kernel.private math math.constants
|
|||
math.order namespaces parser parser.notes prettyprint
|
||||
quotations random see sequences sequences.private slots
|
||||
slots.private splitting strings summary threads tools.test
|
||||
vectors vocabs words words.symbol ;
|
||||
vectors vocabs words words.symbol fry ;
|
||||
IN: classes.tuple.tests
|
||||
|
||||
TUPLE: rect x y w h ;
|
||||
|
@ -734,3 +734,11 @@ ERROR: base-error x y ;
|
|||
ERROR: derived-error < base-error z ;
|
||||
|
||||
[ (( x y z -- * )) ] [ \ derived-error stack-effect ] unit-test
|
||||
|
||||
USE: classes.struct
|
||||
|
||||
[ { } ] [
|
||||
classes
|
||||
[ "prototype" word-prop ] map
|
||||
[ '[ _ hashcode drop f ] [ drop t ] recover ] filter
|
||||
] unit-test
|
||||
|
|
Loading…
Reference in New Issue