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

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

Issue 11305007: Getter with parameters is error. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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/resolver/ResolverTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
index 9192064eec52fa0c392a22f1067789320811aebe..a28cb537cde01f593e4ec70c815afc421b8d8dc0 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
@@ -1403,12 +1403,12 @@ public class ResolverTest extends ResolverTestCase {
public void testNoGetterOrSetter() {
resolveAndTest(Joiner.on("\n").join(
"class Object {}",
- "get getter1() {}",
+ "get getter1 {}",
"set setter1(arg) {}",
"class A {",
- " static get getter2() {}",
+ " static get getter2 {}",
" static set setter2(arg) {}",
- " get getter3() {}",
+ " get getter3 {}",
" set setter3(arg) {}",
"}",
"method() {",

Powered by Google App Engine
This is Rietveld 408576698