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

Unified Diff: compiler/javatests/com/google/dart/compiler/end2end/inc/some.dart

Issue 11314019: Using 'interface' and 'abstract' for methods should produce 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/end2end/inc/some.dart
diff --git a/compiler/javatests/com/google/dart/compiler/end2end/inc/some.dart b/compiler/javatests/com/google/dart/compiler/end2end/inc/some.dart
index 8624331e4bd45b2d895326ac4dc350f89015f012..fc5b2cbd543d73b5e1a4dc52fd34d8f0f9d99b44 100644
--- a/compiler/javatests/com/google/dart/compiler/end2end/inc/some.dart
+++ b/compiler/javatests/com/google/dart/compiler/end2end/inc/some.dart
@@ -2,12 +2,12 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-interface SomeClass default SomeClassImpl {
- SomeClass(arg);
+abstract class SomeClass {
+ factory SomeClass(arg) = SomeClassImpl;
get message;
}
-interface SomeInterface2 {
+abstract class SomeInterface2 {
}
// myother7.dart/Baz depends on SomeClass2 which depends on SomeInterface2

Powered by Google App Engine
This is Rietveld 408576698