Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(546)

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/utilities/ast/IncrementalAstCloner.java

Issue 268673006: Fix for 10469- removal of the ArgumentDefinitionTest Ast node from the analyzer (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase before commit Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/utilities/ast/IncrementalAstCloner.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/utilities/ast/IncrementalAstCloner.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/utilities/ast/IncrementalAstCloner.java
index e59ea351b4b099040a8ca6b55fe56d81dbb756a8..f6bb90fa851ddba2de0caa5d7328dadefaf6247d 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/utilities/ast/IncrementalAstCloner.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/utilities/ast/IncrementalAstCloner.java
@@ -75,16 +75,6 @@ public class IncrementalAstCloner implements AstVisitor<AstNode> {
}
@Override
- public ArgumentDefinitionTest visitArgumentDefinitionTest(ArgumentDefinitionTest node) {
- ArgumentDefinitionTest copy = new ArgumentDefinitionTest(
- mapToken(node.getQuestion()),
- cloneNode(node.getIdentifier()));
- copy.setPropagatedType(node.getPropagatedType());
- copy.setStaticType(node.getStaticType());
- return copy;
- }
-
- @Override
public ArgumentList visitArgumentList(ArgumentList node) {
return new ArgumentList(
mapToken(node.getLeftParenthesis()),

Powered by Google App Engine
This is Rietveld 408576698