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

Unified Diff: pkg/analyzer_cli/test/data/no_packages_file/sdk_ext_user.dart

Issue 1459683003: `analyzer_cli` move to SDK. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: master merge Created 5 years, 1 month 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/analyzer_cli/test/data/no_packages_file/sdk_ext_user.dart
diff --git a/tests/compiler/dart2js/dart2js_batch2_run.dart b/pkg/analyzer_cli/test/data/no_packages_file/sdk_ext_user.dart
similarity index 69%
copy from tests/compiler/dart2js/dart2js_batch2_run.dart
copy to pkg/analyzer_cli/test/data/no_packages_file/sdk_ext_user.dart
index aee55ef18e5fa77c47bcbf53f5c16125299ed77a..b346f7f1ed19a53ff94321f5a12737f3decde69f 100644
--- a/tests/compiler/dart2js/dart2js_batch2_run.dart
+++ b/pkg/analyzer_cli/test/data/no_packages_file/sdk_ext_user.dart
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-@notExisting
-var x;
+import 'dart:foo';
main() {
- print(x);
+ // import of 'dart:foo' should resolve to a file which defines bar().
+ bar();
}

Powered by Google App Engine
This is Rietveld 408576698