Just use Error.rethrow
This commit is contained in:
@@ -75,7 +75,7 @@ class ClassBuilder {
|
||||
}
|
||||
catch (e:Dynamic) {//fails for unknown reason
|
||||
if (e == 'assert')
|
||||
#if neko neko.Lib.rethrow(e) #else throw e #end;
|
||||
tink.core.Error.rethrow(e);
|
||||
constructor = new Constructor(this, null);
|
||||
}
|
||||
break;
|
||||
|
@@ -21,7 +21,7 @@ class Types {
|
||||
}
|
||||
catch (e:Dynamic)
|
||||
if (Std.string(e) == 'Type not found \'$typeName\'') None;
|
||||
else #if neko neko.Lib.rethrow(e) #else throw e #end;
|
||||
else tink.core.Error.rethrow(e);
|
||||
|
||||
static var types = new Map<Int,Void->Type>();
|
||||
static var idCounter = 0;
|
||||
|
Reference in New Issue
Block a user