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

Unified Diff: pkg/dartdoc/lib/src/markdown/inline_parser.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/src/markdown/inline_parser.dart
diff --git a/pkg/dartdoc/lib/src/markdown/inline_parser.dart b/pkg/dartdoc/lib/src/markdown/inline_parser.dart
index a9588888c93489543e8f4171f5776720ee0875fa..554477387d706d197e80d6b0331e1358db142a9d 100644
--- a/pkg/dartdoc/lib/src/markdown/inline_parser.dart
+++ b/pkg/dartdoc/lib/src/markdown/inline_parser.dart
@@ -148,7 +148,7 @@ class InlineParser {
}
/// Represents one kind of markdown tag that can be parsed.
-class InlineSyntax {
+abstract class InlineSyntax {
final RegExp pattern;
InlineSyntax(String pattern)
@@ -168,7 +168,7 @@ class InlineSyntax {
return false;
}
- abstract bool onMatch(InlineParser parser, Match match);
+ bool onMatch(InlineParser parser, Match match);
}
/// Matches stuff that should just be passed through as straight text.

Powered by Google App Engine
This is Rietveld 408576698