Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Make type inference failures more consistent #7079
This PR makes several related changes:
This may actually give some new errors as compared to status quo, but as one can see from the diff, the result is negative in number of (redundant) errors.
There are couple changes in tests that look unrelated, these are because
JukkaL left a comment
Nice, this cleans up type inference logic some. Looks good; left only a few minor comments.
I still don't fully understand what caused the different behavior in new semantic analyzer. Could you explain that in some detail?