| Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyGetter.java
|
| ===================================================================
|
| --- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyGetter.java (revision 12211)
|
| +++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyGetter.java (working copy)
|
| @@ -78,7 +78,7 @@
|
| import com.google.dart.compiler.ast.DartSyntheticErrorExpression;
|
| import com.google.dart.compiler.ast.DartSyntheticErrorStatement;
|
| import com.google.dart.compiler.ast.DartThisExpression;
|
| -import com.google.dart.compiler.ast.DartThrowStatement;
|
| +import com.google.dart.compiler.ast.DartThrowExpression;
|
| import com.google.dart.compiler.ast.DartTryStatement;
|
| import com.google.dart.compiler.ast.DartTypeExpression;
|
| import com.google.dart.compiler.ast.DartTypeNode;
|
| @@ -731,11 +731,11 @@
|
| }
|
|
|
| @Override
|
| - public Object visitThrowStatement(DartThrowStatement node) {
|
| + public Object visitThrowExpression(DartThrowExpression node) {
|
| if (property == PropertyDescriptorHelper.DART_THROW_STATEMENT_EXCEPTION) {
|
| return node.getException();
|
| } else {
|
| - return visitStatement(node);
|
| + return visitExpression(node);
|
| }
|
| }
|
|
|
|
|