This repository has been archived by the owner on Oct 18, 2021. It is now read-only.
Confusing error location on type syn <- foo [bar]
#302
Labels
type syn <- foo [bar]
#302
In the code
I accidentally use
[string]
instead oflist string
. This leads to a confusing error:The error location is wrong, pointing to
type foo
instead of[string]
.The same error does not occur without a type constructor, in fact
type foo <- [string, int]
is accepted as valid by amc. Should I open an issue for that too?The text was updated successfully, but these errors were encountered: