Make type parsing error more informative
original commit: 1dede055492351e2d1d96b95dd5267741d359a03
This commit is contained in:
parent
3d741fced7
commit
e0da126e85
|
@ -588,7 +588,8 @@
|
|||
(values row-var fields methods)]
|
||||
[(? Mu?)
|
||||
(match-parent-type (unfold parent-type))]
|
||||
[_ (tc-error "expected a class type for #:implements clause")]))
|
||||
[_ (tc-error "expected a class type for #:implements clause, got ~a"
|
||||
parent-type)]))
|
||||
(define-values (super-row-var super-fields super-methods)
|
||||
(match-parent-type parent-type))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user