nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
syntax: fix code using superstrings with nullables
[nit.git]
/
src
/
mmloader.nit
diff --git
a/src/mmloader.nit
b/src/mmloader.nit
index
04c3a98
..
4dfc361
100644
(file)
--- a/
src/mmloader.nit
+++ b/
src/mmloader.nit
@@
-38,10
+38,11
@@
special Comparable
end
redef fun to_s: String do
- if location == null then
+ var l = location
+ if l == null then
return text
else
- return "{location}: {text}"
+ return "{l}: {text}"
end
end
end