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

Unified Diff: sdk/lib/_internal/compiler/implementation/scanner/token.dart

Issue 11368080: Use abstract classes instead of interfaces in dart2js. (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
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/constant_system.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/scanner/token.dart
diff --git a/sdk/lib/_internal/compiler/implementation/scanner/token.dart b/sdk/lib/_internal/compiler/implementation/scanner/token.dart
index 901202139bcdf4c3205b7c3b2e56229eef259021..a768b5038458be91960883793ce175f69e29d55d 100644
--- a/sdk/lib/_internal/compiler/implementation/scanner/token.dart
+++ b/sdk/lib/_internal/compiler/implementation/scanner/token.dart
@@ -177,8 +177,8 @@ class StringToken extends Token {
String slowToString() => value.slowToString();
}
-interface SourceString extends Iterable<int> default StringWrapper {
- const SourceString(String string);
+abstract class SourceString extends Iterable<int> {
+ const factory SourceString(String string) = StringWrapper;
void printOn(StringBuffer sb);
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/constant_system.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698