Chromium Code Reviews| 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 166136668d9cd862ce3e9fc1e48c8c947fb32720..2dd85eed8faad769aade9f61a90d983f6cda8557 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/closure.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/closure.dart |
| @@ -1000,12 +1000,6 @@ class ClosureTranslator extends Visitor { |
| }); |
| } |
| - visitFunctionDeclaration(FunctionDeclaration node) { |
|
floitsch
2014/07/25 12:30:08
We need to declare the local in the current scope
Johnni Winther
2014/08/04 06:59:09
Reinserting though we don't need it. Fixing this i
|
| - node.visitChildren(this); |
| - LocalFunctionElement localFunction = elements[node]; |
| - declareLocal(localFunction); |
| - } |
| - |
| visitTryStatement(TryStatement node) { |
| // TODO(ngeoffray): implement finer grain state. |
| bool oldInTryStatement = inTryStatement; |