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

Unified Diff: pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.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/full_emitter/setup_program_builder.dart
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart
index cf33142a6236998d4e05412585019832280814e0..3ed9a09155b4d59992dc0514c30a432cec4bac36 100644
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/setup_program_builder.dart
@@ -129,7 +129,7 @@ jsAst.Statement buildSetupProgram(
'finishedClassesAccess': finishedClassesAccess,
'needsMixinSupport': emitter.needsMixinSupport,
'needsNativeSupport': program.needsNativeSupport,
- 'enabledJsInterop': backend.nativeBasicData.isJsInteropUsed,
+ 'enabledJsInterop': closedWorld.nativeData.isJsInteropUsed,
'jsInteropBoostrap': backend.jsInteropAnalysis.buildJsInteropBootstrap(),
'isInterceptorClass':
namer.operatorIs(closedWorld.commonElements.jsInterceptorClass),

Powered by Google App Engine
This is Rietveld 408576698