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

Unified Diff: sdk/lib/_internal/compiler/implementation/closure.dart

Issue 11418113: Substitution added to DartType (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments Created 8 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
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/dart_backend/renamer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/closure.dart
diff --git a/sdk/lib/_internal/compiler/implementation/closure.dart b/sdk/lib/_internal/compiler/implementation/closure.dart
index 4d6be1c78fbc59b06ae6509edd36b22eb0652fd5..3d5feef0376368bca40e3c67adf84a8c80ed7124 100644
--- a/sdk/lib/_internal/compiler/implementation/closure.dart
+++ b/sdk/lib/_internal/compiler/implementation/closure.dart
@@ -371,7 +371,7 @@ class ClosureTranslator extends Visitor {
return true;
} else if (type is InterfaceType) {
InterfaceType ifcType = type;
- for (DartType argument in ifcType.arguments) {
+ for (DartType argument in ifcType.typeArguments) {
if (hasTypeVariable(argument)) {
return true;
}
@@ -385,7 +385,7 @@ class ClosureTranslator extends Visitor {
useLocal(type.element);
} else if (type is InterfaceType) {
InterfaceType ifcType = type;
- for (DartType argument in ifcType.arguments) {
+ for (DartType argument in ifcType.typeArguments) {
analyzeTypeVariables(argument);
}
}
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/dart_backend/renamer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698