Fix type in error case
original commit: e0acdf1fc11d9e4a713a7ad2b948641197cb1b0a
This commit is contained in:
parent
51c5197974
commit
f9efcae75e
|
@ -191,7 +191,7 @@
|
|||
(match (resolve v)
|
||||
[(and s (? Struct?)) (make-StructTop s)]
|
||||
[_ (tc-error/delayed "Argument to Struct must be a structure type, got ~a" v)
|
||||
(make-StructTop (Un))]))]
|
||||
(Un)]))]
|
||||
[((~and kw t:Instance) t)
|
||||
(add-disappeared-use #'kw)
|
||||
(let ([v (parse-type #'t)])
|
||||
|
|
Loading…
Reference in New Issue
Block a user