Fix type in error case
This commit is contained in:
parent
b5f7a7ffb2
commit
e0acdf1fc1
|
@ -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