Skip to content

Commit a1efd9d

Browse files
tompngst0012
andauthored
Update lib/repl_type_completor/type_analyzer.rb
Fix typo Co-authored-by: Stan Lo <stan.lo@shopify.com>
1 parent 7924ea5 commit a1efd9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/repl_type_completor/type_analyzer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def evaluate_reference_read(node, scope)
230230
alias evaluate_instance_variable_read_node evaluate_reference_read
231231

232232
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}`.
233+
# `it` is not a normal local variable. It can be overridden like `tap{p it; it=1}`.
234234
# Use the name `_1` instead of `it` to avoid conflict.
235235
scope['_1'] || Types::NIL
236236
end

0 commit comments

Comments
 (0)