You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As local, instance, and class vars are known and cannot point to methods, we can add rules that will report if a local / instance / class var is in a void context:
a =1begin
a
# ^ error: local variable access in void contextputs a
endclassMyClass@world : Int32=0defhello@world# ^^^^ error: instance var access in void context@world+1endend
The text was updated successfully, but these errors were encountered:
nobodywasishere
changed the title
Add Lint/Unused{Local,Instance,Class}VarAccess
Add Lint/Unused{Local,Instance,Class}VariableAccessJan 20, 2025
As local, instance, and class vars are known and cannot point to methods, we can add rules that will report if a local / instance / class var is in a void context:
The text was updated successfully, but these errors were encountered: