| Index: pkg/compiler/lib/src/scanner/token.dart
|
| diff --git a/pkg/compiler/lib/src/scanner/token.dart b/pkg/compiler/lib/src/scanner/token.dart
|
| index c1a502b9ee497c514b9309309f0073f37c5b13e8..c7c74d1b4a39e126b61204d08da0b9942bcf4314 100644
|
| --- a/pkg/compiler/lib/src/scanner/token.dart
|
| +++ b/pkg/compiler/lib/src/scanner/token.dart
|
| @@ -262,21 +262,6 @@ class BadInputToken extends ErrorToken {
|
| }
|
| }
|
|
|
| -// TODO(sigmund): delete once we enable null-aware-operators by default.
|
| -class UnsupportedNullAwareToken extends ErrorToken {
|
| - final String operator;
|
| -
|
| - UnsupportedNullAwareToken(this.operator, int charOffset)
|
| - : super(charOffset);
|
| -
|
| - String toString() => "UnsupportedNullAwareToken($operator)";
|
| -
|
| - String get assertionMessage => "'$operator' isn't supported without "
|
| - "the --enable-null-aware-operators flag.";
|
| -
|
| - int get charCount => operator.length;
|
| -}
|
| -
|
| class UnterminatedToken extends ErrorToken {
|
| final String start;
|
| final int endOffset;
|
|
|