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

Unified Diff: lib/compiler/implementation/scanner/scanner.dart

Issue 10091033: Add extends clause to the type parameter for AbstractScanner. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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
« no previous file with comments | « lib/compiler/implementation/scanner/array_based_scanner.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/scanner/scanner.dart
diff --git a/lib/compiler/implementation/scanner/scanner.dart b/lib/compiler/implementation/scanner/scanner.dart
index 7d4b0dc1a40529350464b3e912157b2ec242be41..ff2a93e88d1ff34ca556d1d9ddd14a2b2b98f4c0 100644
--- a/lib/compiler/implementation/scanner/scanner.dart
+++ b/lib/compiler/implementation/scanner/scanner.dart
@@ -9,7 +9,7 @@ interface Scanner {
/**
* Common base class for a Dart scanner.
*/
-class AbstractScanner<T> implements Scanner {
+class AbstractScanner<T extends SourceString> implements Scanner {
abstract int advance();
abstract int nextByte();
abstract int peek();
« no previous file with comments | « lib/compiler/implementation/scanner/array_based_scanner.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698