nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
typing: extact `check_one_vararg` from `check_signature`
[nit.git]
/
src
/
semantize
/
local_var_init.nit
diff --git
a/src/semantize/local_var_init.nit
b/src/semantize/local_var_init.nit
index
82fa0a4
..
27c7ddd
100644
(file)
--- a/
src/semantize/local_var_init.nit
+++ b/
src/semantize/local_var_init.nit
@@
-70,7
+70,7
@@
private class LocalVarInitVisitor
var flow = node.after_flow_context.as(not null)
if not flow.is_variable_set(variable) then
var flow = node.after_flow_context.as(not null)
if not flow.is_variable_set(variable) then
- self.toolcontext.error(node.hot_location, "Error: variable '{variable}' is possibly unset.")
+ self.toolcontext.error(node.hot_location, "Error: possibly unset variable `{variable}`.")
# Remove the variable to avoid repeating errors
self.maybe_unset_vars.remove(variable)
end
# Remove the variable to avoid repeating errors
self.maybe_unset_vars.remove(variable)
end