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

Unified Diff: pkg/dev_compiler/lib/src/compiler/type_utilities.dart

Issue 2371113004: Use .packages instead of pubspec.yaml (Closed)
Patch Set: Fix gclient sync, update expectations Created 4 years, 3 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/dev_compiler/lib/src/compiler/type_utilities.dart
diff --git a/pkg/dev_compiler/lib/src/compiler/type_utilities.dart b/pkg/dev_compiler/lib/src/compiler/type_utilities.dart
index 260c200ec7ef1ff217c9763f94630b8644f640e5..27abedd3a2972d03a5b05170e28101a1bae4f750 100644
--- a/pkg/dev_compiler/lib/src/compiler/type_utilities.dart
+++ b/pkg/dev_compiler/lib/src/compiler/type_utilities.dart
@@ -25,6 +25,7 @@ Set<TypeParameterElement> freeTypeParameters(DartType t) {
t.typeArguments.forEach(find);
}
}
+
find(t);
return result;
}
@@ -196,6 +197,7 @@ class TypeTable {
if (types == null) _scopeDependencies[i] = types = [];
types.add(type);
}
+
fvs.forEach(addScope);
return false;
}

Powered by Google App Engine
This is Rietveld 408576698