-
Notifications
You must be signed in to change notification settings - Fork 2
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
Better typing #189
Better typing #189
Conversation
@@ -13,7 +13,7 @@ class MonotonicGenerator | |||
undef_method :instance_variable_set | |||
|
|||
def initialize | |||
super() | |||
super |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm bit negative for this change. 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- range: | ||
start: | ||
line: 233 | ||
character: 23 | ||
end: | ||
line: 233 | ||
character: 27 | ||
severity: ERROR | ||
message: Type `::Numeric` does not have method `to_i` | ||
code: Ruby::NoMethod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- range: | ||
start: | ||
line: 326 | ||
character: 8 | ||
end: | ||
line: 326 | ||
character: 52 | ||
severity: ERROR | ||
message: |- | ||
UnexpectedError: undefined method `constr' for nil:NilClass | ||
|
||
constr = rhs_result.constr.update_lvar_env do |lvar_env| | ||
^^^^^^^ | ||
code: Ruby::UnexpectedError | ||
- range: | ||
start: | ||
line: 326 | ||
character: 26 | ||
end: | ||
line: 326 | ||
character: 52 | ||
severity: ERROR | ||
message: sclass receiver must be instance type or singleton type, but type given | ||
`untyped` | ||
code: Ruby::UnsupportedSyntax |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks intentional omitted 😮
- range: | ||
start: | ||
line: 326 | ||
character: 8 | ||
end: | ||
line: 326 | ||
character: 52 | ||
severity: ERROR | ||
message: |- | ||
UnexpectedError: undefined method `constr' for nil:NilClass | ||
|
||
constr = rhs_result.constr.update_lvar_env do |lvar_env| | ||
^^^^^^^ | ||
code: Ruby::UnexpectedError |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closes #26
Not all for the issue. But I can close major part.