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

Unified Diff: pkg/compiler/lib/src/native/native.dart

Issue 1653453002: Don't use "var" to introduce the deferred_initializer. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add test. Created 4 years, 11 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/native/native.dart
diff --git a/pkg/compiler/lib/src/native/native.dart b/pkg/compiler/lib/src/native/native.dart
index ad88cbeee7dceb33323234ddac92f989feeee1af..487832b6c11060ac2613e30fd15a665d1fff60e7 100644
--- a/pkg/compiler/lib/src/native/native.dart
+++ b/pkg/compiler/lib/src/native/native.dart
@@ -63,6 +63,8 @@ bool maybeEnableNative(Compiler compiler,
String libraryName = library.canonicalUri.toString();
if (library.entryCompilationUnit.script.name.contains(
'sdk/tests/compiler/dart2js_native')
+ || library.entryCompilationUnit.script.name.contains(
+ 'sdk/tests/compiler/dart2js_extra')
|| libraryName == 'dart:async'
|| libraryName == 'dart:html'
|| libraryName == 'dart:html_common'

Powered by Google App Engine
This is Rietveld 408576698