don't traverse into replacement breaks in for-of transformer - thanks @zloirock
This commit is contained in:
@@ -55,6 +55,7 @@ var breakVisitor = {
|
||||
);
|
||||
if (state.wrapReturn) ret = state.wrapReturn(ret);
|
||||
|
||||
this.skip();
|
||||
return [ret, node];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user