Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Unified Diff: pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart

Issue 2975433002: Assert that we don't mix K and J elements (Closed)
Patch Set: Updated cf. comments Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart b/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart
index b1f69175da2bbb76f549f47771401af8b0ad91bd..5902c2d614e55f7ed5c3768d29302e9c8494dece 100644
--- a/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/startup_emitter/fragment_emitter.dart
@@ -541,7 +541,7 @@ class FragmentEmitter {
'nativeSupport': program.needsNativeSupport
? emitNativeSupport(fragment)
: new js.EmptyStatement(),
- 'jsInteropSupport': backend.nativeBasicData.isJsInteropUsed
+ 'jsInteropSupport': _closedWorld.nativeData.isJsInteropUsed
? backend.jsInteropAnalysis.buildJsInteropBootstrap()
: new js.EmptyStatement(),
'invokeMain': fragment.invokeMain,

Powered by Google App Engine
This is Rietveld 408576698