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

Unified Diff: pkg/dartdoc/lib/mirrors.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: pkg/dartdoc/lib/mirrors.dart
diff --git a/pkg/dartdoc/lib/mirrors.dart b/pkg/dartdoc/lib/mirrors.dart
index d6a8010834419263bee8c0ece2f097ec1b0f48f8..82d48429e8d5d214ce6489006a1200800748df94 100644
--- a/pkg/dartdoc/lib/mirrors.dart
+++ b/pkg/dartdoc/lib/mirrors.dart
@@ -13,7 +13,7 @@
/**
* [Compilation] encapsulates the compilation of a program.
*/
-class Compilation {
+abstract class Compilation {
/**
* Creates a new compilation which has [script] as its entry point.
*/
@@ -45,7 +45,7 @@ class Compilation {
/**
* Returns a future for the compiled JavaScript code.
*/
- abstract Future<String> compileToJavaScript();
+ Future<String> compileToJavaScript();
}
/**

Powered by Google App Engine
This is Rietveld 408576698