Nicolas Cannasse 12 years ago
parent
commit
a8abca8fa9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      std/haxe/macro/Expr.hx

+ 3 - 0
std/haxe/macro/Expr.hx

@@ -235,4 +235,7 @@ class Error {
 		this.message = m;
 		this.pos = p;
 	}
+	function toString() {
+		return message;
+	}
 }