Skip to content

Commit

Permalink
Updated Linter.py
Browse files Browse the repository at this point in the history
Fixed bug that caused the plugin to crash since 'expr_result' was not in
scope. Message should now show the correct information as well.
  • Loading branch information
Kapiainen committed Mar 18, 2017
1 parent 51b891c commit e11ab43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,7 @@ def parse_local_statement(self):
final_variables.append(LuaVariable(str(var)))
SharedFunctions.debug_print(
"Could not figure out local variable type based on initial value %s"
% expr_result)
% initial_values[i])
else:
final_variables.append(LuaNil(str(var)))
i += 1
Expand Down

0 comments on commit e11ab43

Please sign in to comment.