You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Elm compiler does not do any special checking for kind mismatches during type inference. So if you are extending a record with a non-record (or a record with overlapping fields) you can get weird things. Fortunately, these bad cases overlap with programs that would be disallowed anyway.
If you have other examples that seem related, please open a new issue and make a nice http://sscce.org about it. More examples from more perspectives is always helpful! It will be collected here if it is definitely related.
To summarize, the kind issues have been narrowed down by syntactic restrictions so far, but you can still get kind errors for record extension in types.
The text was updated successfully, but these errors were encountered:
The Elm compiler does not do any special checking for kind mismatches during type inference. So if you are extending a record with a non-record (or a record with overlapping fields) you can get weird things. Fortunately, these bad cases overlap with programs that would be disallowed anyway.
Active reports:
If you have other examples that seem related, please open a new issue and make a nice http://sscce.org about it. More examples from more perspectives is always helpful! It will be collected here if it is definitely related.
Old Reports:
Type -> Type
as aType
, and they almost all usedList
andDict
with missing type arguments. This was fixed by making sure that types have the right number of arguments during canonicalization.To summarize, the kind issues have been narrowed down by syntactic restrictions so far, but you can still get kind errors for record extension in types.
The text was updated successfully, but these errors were encountered: