don't traverse into replacement breaks in for-of transformer - thanks @zloirock

This commit is contained in:
Sebastian McKenzie
2015-02-21 17:55:38 +11:00
parent 55357a331d
commit 61ea720637

View File

@@ -55,6 +55,7 @@ var breakVisitor = {
);
if (state.wrapReturn) ret = state.wrapReturn(ret);
this.skip();
return [ret, node];
}
}