diff --git a/hscript/Async.hx b/hscript/Async.hx index 669b50d..4ea58ab 100644 --- a/hscript/Async.hx +++ b/hscript/Async.hx @@ -414,6 +414,8 @@ class Async { return toCps(v, mk(EFunction([ { name : "_c", t : null } ], mk(ESwitch(ident("_c",v), cases, def == null ? retNull(rest) : toCps(def, rest, exit)),e)),e), exit ); case EThrow(v): return toCps(v, mk(EFunction([ { name : "_v", t : null } ], mk(EThrow(v),v)), v), exit); + case EMeta(name,_,e) if( name.charCodeAt(0) == ":".code ): // ignore custom ":" metadata + return toCps(e, rest, exit); //case EDoWhile(_), ETry(_), ECall(_): default: throw "Unsupported async expression " + Printer.toString(e);