X-Git-Url: http://nitlanguage.org diff --git a/src/mmloader.nit b/src/mmloader.nit index 04c3a98..4dfc361 100644 --- 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