浏览代码

rethrow returns Dynamic.

Nicolas Cannasse 19 年之前
父节点
当前提交
1b17223db0
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      std/neko/Lib.hx

+ 2 - 2
std/neko/Lib.hx

@@ -38,8 +38,8 @@ class Lib {
 		untyped __dollar__print(v,"\n");
 	}
 
-	public static function rethrow( e : Dynamic ) : Void {
-		untyped __dollar__rethrow(e);
+	public static function rethrow( e : Dynamic ) : Dynamic {
+		return untyped __dollar__rethrow(e);
 	}
 
 	public static function serialize( v : Dynamic ) : String {