-
Notifications
You must be signed in to change notification settings - Fork 3
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
unwanted AssertionError; KeySubscript.key type too narrow #118
Comments
Hrm. I think all the @gavinking is it correct to say that |
§6.8.7 says:
|
Oh, I see. You're saying that strictly speaking this restriction should also apply to the lookup operator. You're right, it should, if we wanted to be really pedantic about this, but I'm not terribly motivated to add such a restriction. As you say, it's easy and harmless to resolve the ambiguity in favor of the interpretation as a subrange operator, rather than as a lookup operator applied to a range. |
Thanks, then I’ll change |
Thanks! |
The
ElementOrSubrangeExpression
in the line below:is represented by the following redhat ast:
but fails to convert to
ceylon.ast
:since (I assume)
ElseOperation
is not assignable toAddingExpression
.The text was updated successfully, but these errors were encountered: