Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/repl_type_completor/type_analyzer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,10 @@ def evaluate_alias_global_variable_node(_node, _scope) = Types::NIL
def evaluate_undef_node(_node, _scope) = Types::NIL
def evaluate_missing_node(_node, _scope) = Types::NIL

def evaluate_error_recovery_node(node, scope)
node.unexpected ? evaluate(node.unexpected, scope) : Types::NIL
end

def evaluate_call_node_arguments(call_node, scope)
# call_node.arguments is Prism::ArgumentsNode
arguments = call_node.arguments&.arguments&.dup || []
Expand Down
Loading