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

Unified Diff: compiler/javatests/com/google/dart/compiler/end2end/NonStrictResolutionTest.java

Issue 8384012: Make some ErrorCode-s compile-time errors and some just type warnings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 2 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/end2end/NonStrictResolutionTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/end2end/NonStrictResolutionTest.java b/compiler/javatests/com/google/dart/compiler/end2end/NonStrictResolutionTest.java
index c2434abe3a1c7e431bfe7103089be36e29da8a1a..ac50a04b8f1f1dc3a14e25c1e773d50c6438e570 100644
--- a/compiler/javatests/com/google/dart/compiler/end2end/NonStrictResolutionTest.java
+++ b/compiler/javatests/com/google/dart/compiler/end2end/NonStrictResolutionTest.java
@@ -31,15 +31,15 @@ public class NonStrictResolutionTest extends End2EndTestCase {
runExpectError("NonStrictResolutionTest.dart",
"",
compilerOptions,
- "no such type \"type1\"", 12, 10,
- "no such type \"type2\"", 16, 3,
- "no such type \"type4\"", 18, 18,
- "no such type \"type3\"", 18, 3,
- "no such type \"type5\"", 22, 3,
- "no such type \"type7\"", 26, 13,
- "no such type \"type6\"", 26, 3,
- "no such type \"type8\"", 27, 5,
- "no such type \"type9\"", 28, 5);
+ "no such type \"type1\" in method return", 12, 10,
+ "no such type \"type2\" in field declaration", 16, 3,
+ "no such type \"type4\" in method parameter", 18, 18,
+ "no such type \"type3\" in method return", 18, 3,
+ "no such type \"type5\" in method return", 22, 3,
+ "no such type \"type7\" in method parameter", 26, 13,
+ "no such type \"type6\" in method return", 26, 3,
+ "no such type \"type8\" in variable declaration statement", 27, 5,
+ "no such type \"type9\" in variable declaration statement", 28, 5);
}
public void testNoMethod() throws Exception {

Powered by Google App Engine
This is Rietveld 408576698