Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors due to lack of kind checking #1684

Open
evancz opened this issue Mar 7, 2018 · 0 comments
Open

Errors due to lack of kind checking #1684

evancz opened this issue Mar 7, 2018 · 0 comments

Comments

@evancz
Copy link
Member

evancz commented Mar 7, 2018

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:

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.

@elm elm locked and limited conversation to collaborators Mar 7, 2018
@elm elm deleted a comment from process-bot Mar 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant