Fixed a bug with eof and procedure types overlapping.

This commit is contained in:
Vincent St-Amour 2010-06-09 17:50:59 -04:00
parent 727000fbfb
commit 96c541912c

View File

@ -69,6 +69,9 @@
[(list (Struct: n p flds _ _ _ _ _ _)
(Struct: n* p* flds* _ _ _ _ _ _))
(and (= (length flds) (length flds*)) (for/and ([f flds] [f* flds*]) (overlap f f*)))]
[(list (== (-val eof))
(Function: _))
#f]
[else #t])])))