We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7924ea5 commit a1efd9dCopy full SHA for a1efd9d
lib/repl_type_completor/type_analyzer.rb
@@ -230,7 +230,7 @@ def evaluate_reference_read(node, scope)
230
alias evaluate_instance_variable_read_node evaluate_reference_read
231
232
def evaluate_it_local_variable_read_node(_node, scope)
233
- # `it` is not a normal local variable. It can be overrided like `tap{p it; it=1}`.
+ # `it` is not a normal local variable. It can be overridden like `tap{p it; it=1}`.
234
# Use the name `_1` instead of `it` to avoid conflict.
235
scope['_1'] || Types::NIL
236
end
0 commit comments