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
class A def foo?(x: Object) -> Bool true end def bar foo?(1) or foo?(2) end end
Error: expected Colon but got Separator
Seems that ? is treated as conditional operator.
?
Parse succeeds with explicit self.
self.
class A def foo?(x: Object) -> Bool true end def bar self.foo?(1) or self.foo?(2) end end
The text was updated successfully, but these errors were encountered:
It's good for me.
I'll work for this later.
Sorry, something went wrong.
No branches or pull requests
Given
Result
Seems that
?
is treated as conditional operator.Workaround
Parse succeeds with explicit
self.
The text was updated successfully, but these errors were encountered: