Chromium Code Reviews| Index: lib/compiler/implementation/scanner/keyword.dart |
| diff --git a/lib/compiler/implementation/scanner/keyword.dart b/lib/compiler/implementation/scanner/keyword.dart |
| index e9ddcd55250752a92b9d53f77ded5d1113e65c40..5dac9ea3e06caed7306f178a74fff12f192c75cf 100644 |
| --- a/lib/compiler/implementation/scanner/keyword.dart |
| +++ b/lib/compiler/implementation/scanner/keyword.dart |
| @@ -139,6 +139,12 @@ class Keyword implements SourceString { |
| String slowToString() => syntax; |
| String get stringValue() => syntax; |
| + SourceString copyWithoutQuotes(int initial, int terminal) { |
| + // TODO(lrn): consider remodelling to avoid having this method in keywords. |
| + throw new InternalError( |
| + "copyWithouQuotes should never be called on keywords"); |
|
kasperl
2012/04/16 13:10:46
Withou -> Without. Would it be terrible to just re
floitsch
2012/04/16 13:57:57
Done.
|
| + } |
| + |
| bool isEmpty() => false; |
| bool isPrivate() => false; |
| } |