Just use Error.rethrow

This commit is contained in:
Juraj Kirchheim
2017-06-01 13:14:39 +02:00
parent 49e48bc801
commit c7634e0a29
2 changed files with 2 additions and 2 deletions

View File

@@ -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;