Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upType inference of binary operators' operand is still not perfect #22001
Comments
edwardw
changed the title
Type inference of binary operators
Type inference of binary operators' operand is still not perfect
Feb 6, 2015
edwardw
referenced this issue
Feb 6, 2015
Closed
Type inference of floating point numbers through a comparison depends on the order of the operands #21634
kmcallister
added
the
A-typesystem
label
Feb 6, 2015
This comment has been minimized.
This comment has been minimized.
|
Do you know if #22099 might be a regression? |
This comment has been minimized.
This comment has been minimized.
|
Triage:
and it doesn't look like |
This comment has been minimized.
This comment has been minimized.
|
Closing since we can't reproduce. |
Mark-Simulacrum
closed this
May 13, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
edwardw commentedFeb 6, 2015
#21817 tried to solve a type inference quirk for the binary operators. But as @Byron reported, it is still not perfect:
Notice that there are two versions of
normalized, one can compile whereas the other can't. This is a bug.