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

Unified Diff: pkg/analyzer/test/src/summary/resynthesize_test.dart

Issue 1863103002: Add an UNUSED_SHOWN_NAMES hint to the analyzer (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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/analyzer/test/src/summary/resynthesize_test.dart
diff --git a/pkg/analyzer/test/src/summary/resynthesize_test.dart b/pkg/analyzer/test/src/summary/resynthesize_test.dart
index aa938d7571f3ecbd6cabade9e5b2fe0bc633f8d3..c523de8f2518817a41abe420bbd0008c04512674 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_test.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_test.dart
@@ -3142,7 +3142,11 @@ get x => null;''');
test_import_show() {
addLibrary('dart:async');
- checkLibrary('import "dart:async" show Future, Stream; Future f;');
+ checkLibrary('''
+import "dart:async" show Future, Stream;
+Future f;
+Stream s;
+''');
}
test_imports() {

Powered by Google App Engine
This is Rietveld 408576698