We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The typechecker accepts this:
shared Boolean isInsideInterval<out Value> ([Value, Value] interval)(Value x) given Value satisfies Comparable<Value> => let ([a,b]=interval) a <= x <= b;
That's inconsistent, since Value occurs contravariantly in the return type.
Value
The text was updated successfully, but these errors were encountered:
comment about #1378
9c75b8c
This is pretty harmless and fixing it is too much of a PITA to bother with it for 1.2. I have added a comment indicating where the fix should go.
Sorry, something went wrong.
gavinking
No branches or pull requests
The typechecker accepts this:
That's inconsistent, since
Value
occurs contravariantly in the return type.The text was updated successfully, but these errors were encountered: