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

Unified Diff: compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java

Issue 10540010: Issue 3264. Use field type is formal initializer has to declared type (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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/resolver/NegativeResolverTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java b/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java
index 1b35e00cf31acb19434d0169380f7064603ca163..c706b151db9fb82595e84cf2ae1a6e4d05b053c1 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/NegativeResolverTest.java
@@ -536,8 +536,8 @@ public class NegativeResolverTest extends CompilerTestCase {
" foo() {}",
" var foo;",
"}"),
- errEx(ResolverErrorCode.DUPLICATE_MEMBER, 3, 3, 3),
- errEx(ResolverErrorCode.DUPLICATE_MEMBER, 4, 7, 3));
+ errEx(ResolverErrorCode.DUPLICATE_MEMBER, 4, 7, 3),
+ errEx(ResolverErrorCode.DUPLICATE_MEMBER, 3, 3, 3));
}
/**
@@ -920,8 +920,8 @@ public class NegativeResolverTest extends CompilerTestCase {
" foo() {}",
" set foo(x) {}",
"}"),
- errEx(ResolverErrorCode.DUPLICATE_MEMBER, 3, 3, 3),
- errEx(ResolverErrorCode.DUPLICATE_MEMBER, 4, 7, 3));
+ errEx(ResolverErrorCode.DUPLICATE_MEMBER, 4, 7, 3),
+ errEx(ResolverErrorCode.DUPLICATE_MEMBER, 3, 3, 3));
}
public void test_nameShadow_functionExpressionParameters() {

Powered by Google App Engine
This is Rietveld 408576698