-
Notifications
You must be signed in to change notification settings - Fork 662
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
Leaving type parameters out of type annotation compiles when it shouldn't #1542
Comments
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it! Here is what to expect next, and if anyone wants to comment, keep these things in mind. |
Seems to be part of "no kind checking", #1373. Thanks for the report! |
Added to the No Kind Checking section of #1373 - thanks again! |
In the development build, I am getting:
Because we now rule this out in the canonicalization phase. Thanks for the report! |
Nice, thank a lot |
We were talking about some weirdness in the general chat today and user alon came up with a simple example to showcase it. The following code compiles.
SomeUnion
takes three type parameters but only one is supplied. No one will be able to call this function because no one can make aSomeUnion a
obviously, so I suppose the damage is as minimal as it gets.This was tested on Elm 0.18.0 on Ubuntu 16.04.
The text was updated successfully, but these errors were encountered: