Index: sdk/lib/_internal/compiler/implementation/inferrer/inferrer_visitor.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/inferrer/inferrer_visitor.dart b/sdk/lib/_internal/compiler/implementation/inferrer/inferrer_visitor.dart |
index 46170e47836b245439a545a4ce83907fd841968b..d048f9e617d6a5dd2a10bb8529351a5066f2f198 100644 |
--- a/sdk/lib/_internal/compiler/implementation/inferrer/inferrer_visitor.dart |
+++ b/sdk/lib/_internal/compiler/implementation/inferrer/inferrer_visitor.dart |
@@ -582,7 +582,14 @@ abstract class InferrerVisitor |
super(compiler.enqueuer.resolution.getCachedElements(analyzedElement), |
compiler) { |
if (handler != null) return; |
- Node node = analyzedElement.parseNode(compiler); |
+ Node node; |
+ try { |
+ // @lry debug |
+ node = analyzedElement.parseNode(compiler); |
+ } catch (e) { |
+ print(0); |
kasperl
2013/11/06 08:30:04
I guess you're going to get rid of this before sub
lukas
2013/11/06 11:36:08
yes, stuff annotated with "@lry" will be removed
|
+ throw e; |
kasperl
2013/11/06 08:30:04
rethrow.
|
+ } |
FieldInitializationScope<T> fieldScope = |
analyzedElement.isGenerativeConstructor() |
? new FieldInitializationScope<T>(types) |