Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[flow] Process polymorphic type bounds on functions #444
There was a test that did not test the intended functionality:
log<Foo, Foo2>(1, 2)
is not a polymorphic function call; such a thing does not appear to exist. Instead, it parses as a SequenceExpression of greater/less-than's:
This was introduced in this commit.
I amended the test to use an imported type inside function parameters, which was the previous
It turns out the amended test failed;
This PR fixes that bug.
I also found that the same bug also applies to