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

Unified Diff: compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java

Issue 10545189: Issue 3643. Associate 'no such method' problem with method name, not with whole invocation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Use 'resolutionError' flag in DartIdentifier Created 8 years, 6 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/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
index 8a509faf5ff0b40beb4a66f413dc019a862b21d0..bd7d1c9704a0a1df5ae4a94ceb3f974b05302dfb 100644
--- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
+++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
@@ -927,7 +927,7 @@ public class TypeAnalyzerTest extends TypeAnalyzerTestCase {
ClassElement cls = loadClass("classes_with_properties.dart", "ClassWithProperties");
analyzeIn(cls, "null", 0);
analyzeIn(cls, "noSuchField", 1);
- analyzeIn(cls, "noSuchMethod()", 0);
+ analyzeIn(cls, "noSuchMethod()", 1);
analyzeIn(cls, "x.noSuchField", 0);
analyzeIn(cls, "x.noSuchMethod()", 0);
analyzeIn(cls, "x.x.noSuchField", 0);
@@ -1277,7 +1277,7 @@ public class TypeAnalyzerTest extends TypeAnalyzerTestCase {
analyzeIn(element, "this.field", 0);
analyzeIn(element, "null", 0);
analyzeIn(element, "noSuchField", 1);
- analyzeIn(element, "noSuchMethod()", 0);
+ analyzeIn(element, "noSuchMethod()", 1);
analyzeIn(element, "method()", 0);
analyzeIn(element, "field", 0);
analyzeIn(element, "this.noSuchField", 1);

Powered by Google App Engine
This is Rietveld 408576698