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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/ResolveVisitor.java

Issue 10943012: Issue 5153. Setter should not conflict with method (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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: compiler/java/com/google/dart/compiler/resolver/ResolveVisitor.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/ResolveVisitor.java b/compiler/java/com/google/dart/compiler/resolver/ResolveVisitor.java
index 4ddaec1bb22b4abce84e8f9b1f4da7baaa62af2d..7768016bd3ddb244e2417df534d4f7fe692db55b 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ResolveVisitor.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ResolveVisitor.java
@@ -15,7 +15,6 @@ import com.google.dart.compiler.ast.DartParameter;
import com.google.dart.compiler.ast.DartThisExpression;
import com.google.dart.compiler.ast.DartTypeNode;
import com.google.dart.compiler.ast.DartTypeParameter;
-import com.google.dart.compiler.type.DynamicType;
import com.google.dart.compiler.type.FunctionType;
import com.google.dart.compiler.type.Type;
import com.google.dart.compiler.type.Types;
@@ -132,7 +131,7 @@ abstract class ResolveVisitor extends ASTVisitor<Element> {
if (node == null) {
return getTypeProvider().getDynamicType();
}
- assert node.getType() == null || node.getType() instanceof DynamicType;
+// assert node.getType() == null || node.getType() instanceof DynamicType;
Type type = getContext().resolveType(node, isStatic, isFactory, errorCode, wrongNumberErrorCode);
if (type == null) {
type = getTypeProvider().getDynamicType();

Powered by Google App Engine
This is Rietveld 408576698