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

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

Issue 10441150: Report not existing function only in resolver (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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
« no previous file with comments | « compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b3ea6e693d35649a8dec5f3c2646c481a1ec79f6..3922b7a655dac348ce427d94d9e1b750400ca923 100644
--- a/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
+++ b/compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java
@@ -928,7 +928,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()", 1);
+ analyzeIn(cls, "noSuchMethod()", 0);
analyzeIn(cls, "x.noSuchField", 0);
analyzeIn(cls, "x.noSuchMethod()", 0);
analyzeIn(cls, "x.x.noSuchField", 0);
@@ -1278,7 +1278,7 @@ public class TypeAnalyzerTest extends TypeAnalyzerTestCase {
analyzeIn(element, "this.field", 0);
analyzeIn(element, "null", 0);
analyzeIn(element, "noSuchField", 1);
- analyzeIn(element, "noSuchMethod()", 1);
+ analyzeIn(element, "noSuchMethod()", 0);
analyzeIn(element, "method()", 0);
analyzeIn(element, "field", 0);
analyzeIn(element, "this.noSuchField", 1);
« no previous file with comments | « compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerCompilerTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698