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

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

Issue 10735039: Issue 3986. Class member cannot have the same name as the class (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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/CompileTimeConstantTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/CompileTimeConstantTest.java b/compiler/javatests/com/google/dart/compiler/resolver/CompileTimeConstantTest.java
index 81d39848e1973380a213bc6c683f0effcb2d2075..a10c36edfb7132c0b57254379b5ae2ffc2e6246c 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/CompileTimeConstantTest.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/CompileTimeConstantTest.java
@@ -254,8 +254,8 @@ public class CompileTimeConstantTest extends ResolverTestCase {
Joiner.on("\n").join(
"class Object {}",
"class A {",
- " static final A = B;",
- " static final B = A;",
+ " static final a = b;",
+ " static final b = a;",
"}"),
errEx(ResolverErrorCode.CIRCULAR_REFERENCE, 3, 20, 1),
errEx(ResolverErrorCode.CIRCULAR_REFERENCE, 4, 20, 1));

Powered by Google App Engine
This is Rietveld 408576698