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

Unified Diff: lib/compiler/implementation/dart_backend/backend.dart

Issue 10828250: Support for generic type variables and unresolved types added. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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: lib/compiler/implementation/dart_backend/backend.dart
diff --git a/lib/compiler/implementation/dart_backend/backend.dart b/lib/compiler/implementation/dart_backend/backend.dart
index e4adcc3786cc0a9a2228cfa841561f44a1ff41bc..a896995c3fefa1892d43c17421cce5ac131b485d 100644
--- a/lib/compiler/implementation/dart_backend/backend.dart
+++ b/lib/compiler/implementation/dart_backend/backend.dart
@@ -157,6 +157,8 @@ class ReferencedElementCollector extends AbstractVisitor {
}
void collect() {
- element.parseNode(compiler).accept(this);
+ compiler.withCurrentElement(element, () {
Roman 2012/08/10 10:36:06 Does it change anything?
Anton Muhin 2012/08/10 10:49:19 Yes, but it's tricky. When type variables are res
+ element.parseNode(compiler).accept(this);
+ });
}
}

Powered by Google App Engine
This is Rietveld 408576698