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

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

Issue 11411146: Issue 6866. Report not-implemented-in-concrete class warnings if there are members without body. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 90d8486b616ffea24f0a44448200bf30aab0862c..7ed0cf28ac645510ed200a3d7b7cf319867bb4be 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
@@ -1380,15 +1380,6 @@ public class ResolverTest extends ResolverTestCase {
errEx(ResolverErrorCode.IS_AN_INSTANCE_METHOD, 6, 13, 6));
}
- public void test_methodMustHaveBody() {
- resolveAndTest(Joiner.on("\n").join(
- "class Object {}",
- "class C {",
- " method();",
- "}"),
- errEx(ResolverErrorCode.METHOD_MUST_HAVE_BODY, 3, 3, 9));
- }
-
public void test_staticAccess() throws Exception {
resolveAndTest(Joiner.on("\n").join(
"class Object {}",

Powered by Google App Engine
This is Rietveld 408576698