Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertySetter.java |
=================================================================== |
--- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertySetter.java (revision 12211) |
+++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertySetter.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; |
@@ -853,11 +853,11 @@ |
} |
@Override |
- public Object visitThrowStatement(DartThrowStatement node) { |
+ public Object visitThrowExpression(DartThrowExpression node) { |
if (property == PropertyDescriptorHelper.DART_THROW_STATEMENT_EXCEPTION) { |
// node.setException(propertyValue); |
} else { |
- visitStatement(node); |
+ visitExpression(node); |
} |
DartCore.notYetImplemented(); |
return null; |