repair test for new compilation-top field

This commit is contained in:
Matthew Flatt 2015-09-05 17:39:31 -06:00
parent 89d99b92da
commit 6632070f75

View File

@ -28,20 +28,24 @@
(test
(roundtrip
(compilation-top 0
#hash()
(prefix 0 empty empty 'insp0)
(list 1 (list 2 3) (list 2 3) 4 5)))
(roundtrip
(compilation-top 0
#hash()
(prefix 1 empty empty 'insp0)
(list (lam 'proc null 0 null #f #(0) '(val/ref) (set 0) 3 1))))
(roundtrip
(compilation-top 0
#hash()
(prefix 1 empty empty 'insp0)
(list (lam 'proc null 0 null #f #(0) '(val/ref) #f 3 1))))
#;(roundtrip
(compilation-top 0
#hash()
(prefix 0 empty empty)
(let* ([ph (make-placeholder #f)]
[x (closure
@ -62,6 +66,7 @@
#;(roundtrip
(compilation-top
0
#hash()
(prefix 0 (list #f) (list))
(mod
'simple
@ -94,17 +99,20 @@
(roundtrip
(compilation-top 0
#hash()
(prefix 0 empty empty 'insp0)
(current-directory)))
(roundtrip
(compilation-top 0
#hash()
(prefix 0 empty empty 'insp0)
(list (current-directory))))
(roundtrip
(compilation-top
0
#hash()
(prefix 0 empty empty 'insp0)
(cons #hash()
#hash())))
@ -112,5 +120,6 @@
(roundtrip
(compilation-top
0
#hash()
(prefix 0 empty empty 'insp0)
#hash())))