]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/errors/CompilationError.java
Sync git svn branch with SVN repository r33144.
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / errors / CompilationError.java
index 499fe2bf0fa9506489321738adfd1ba9a2db81b3..5f2aff156f29f1c1f8b4d45af3e9f7d13aea4b2d 100644 (file)
@@ -72,4 +72,9 @@ public class CompilationError implements Comparable<CompilationError> {
             return 1;\r
         return description.compareTo(o.description);\r
     }\r
+    \r
+    @Override\r
+    public String toString() {\r
+        return new StringBuilder().append("CompilationError: \"").append(description).append("\" at location ").append(location).toString();\r
+    }\r
 }\r