Browse Source

[eval] keep Exception.toString

Aleksandr Kuzmenko 5 years ago
parent
commit
6b8780f9e3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      std/eval/_std/haxe/Exception.hx

+ 1 - 0
std/eval/_std/haxe/Exception.hx

@@ -48,6 +48,7 @@ class Exception {
 		return __nativeException;
 	}
 
+	@:ifFeature("haxe.Exception.thrown")
 	public function toString():String {
 		return inline CallStack.exceptionToString(this);
 	}