metamodel: rename 'universal' to 'enum'
[nit.git] / src / location.nit
index c3eb80d..c6e4dee 100644 (file)
@@ -17,7 +17,7 @@
 package location
 
 class Location
-special Comparable
+       super Comparable
        redef type OTHER: Location
 
        readable var _file: String
@@ -78,7 +78,7 @@ special Comparable
                                return "{file_part}{line_start},{column_start}--{column_end}"
                        end
                else
-                       return "{file_part}{line_start},{column_start}--{line_end}:{column_end}"
+                       return "{file_part}{line_start},{column_start}--{line_end},{column_end}"
                end
        end