Chromium Code Reviews| 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); |
| + }); |
| } |
| } |