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

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

Issue 2700843002: Use absolute URIs for LinkedDependency.uri/parts. (Closed)
Patch Set: Created 3 years, 10 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_common.dart
diff --git a/pkg/analyzer/test/src/summary/resynthesize_common.dart b/pkg/analyzer/test/src/summary/resynthesize_common.dart
index c7eec5d188e64f320a2346bd2efbd59d1853adc2..51b77eda797836a473c0b9c629bb8e00ca19b1a3 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart
@@ -4462,6 +4462,20 @@ C v = null;
''');
}
+ test_nameConflict_importWithRelativeUri_exportWithAbsolute() {
+ if (resourceProvider.pathContext.separator != '/') {
+ return;
+ }
+
+ addLibrarySource('/a.dart', 'class A {}');
+ addLibrarySource('/b.dart', 'export "/a.dart";');
+ checkLibrary('''
+import 'a.dart';
+import 'b.dart';
+A v = null;
+''');
+ }
+
test_nested_generic_functions_in_generic_class_with_function_typed_params() {
checkLibrary('''
class C<T, U> {

Powered by Google App Engine
This is Rietveld 408576698