瀏覽代碼

make sure that the exception is always well printed

Nicolas Cannasse 12 年之前
父節點
當前提交
757a8c4484
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/haxe/io/Eof.hx

+ 1 - 1
std/haxe/io/Eof.hx

@@ -27,7 +27,7 @@ package haxe.io;
 class Eof {
 	public function new() {
 	}
-	function toString() {
+	@:keep function toString() {
 		return "Eof";
 	}
 }