Skip to content

Commit

Permalink
Fix svalue being set to nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
Victorious3 committed Jan 4, 2023
1 parent 134fd28 commit 3a37a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typechecking.pr
Original file line number Diff line number Diff line change
Expand Up @@ -3860,8 +3860,8 @@ export def walk_Call(node: &parser::Node, dry_run: bool, state: &State) -> bool
return true
} else {
if (@left).kind == parser::NodeKind::IDENTIFIER {
left.svalue = null
var exists, function = scope::get_function_check(state.scope, left, arguments, false, dry_run, only_function = only_function)
left.svalue = function

if not function and dry_run { return false }

Expand Down

0 comments on commit 3a37a81

Please sign in to comment.