fix(zone.js): __load_patch and __symbol__ should be in zone_extern for closure compiler (#31350)

PR Close #31350
This commit is contained in:
JiaLiPassion
2019-06-29 12:29:29 +07:00
committed by Miško Hevery
parent b696413a79
commit 6b51ed29ef
3 changed files with 14 additions and 2 deletions

View File

@ -52,6 +52,9 @@ const testClosureFunction = () => {
}
};
Zone.__load_patch('test_closure_load_patch', function() {});
Zone.__symbol__('test_symbol');
const testZone: Zone = Zone.current.fork(testZoneSpec);
testZone.runGuarded(() => {
testZone.run(() => {