| Index: pkg/front_end/lib/src/scanner/errors.dart
|
| diff --git a/pkg/front_end/lib/src/scanner/errors.dart b/pkg/front_end/lib/src/scanner/errors.dart
|
| index 93b7fb0d26f87e3896c2763cf5b583906d9a231a..62756b7d01b11a7665b8e6e2cf32c209a8335a93 100644
|
| --- a/pkg/front_end/lib/src/scanner/errors.dart
|
| +++ b/pkg/front_end/lib/src/scanner/errors.dart
|
| @@ -141,6 +141,9 @@ void translateErrorToken(ErrorToken token, ReportError reportError) {
|
| if (type == TokenType.OPEN_PAREN) {
|
| return _makeError(ScannerErrorCode.EXPECTED_TOKEN, [')']);
|
| }
|
| + if (type == TokenType.LT) {
|
| + return _makeError(ScannerErrorCode.EXPECTED_TOKEN, ['>']);
|
| + }
|
| } else if (errorCode == codeUnexpectedDollarInString) {
|
| return _makeError(ScannerErrorCode.MISSING_IDENTIFIER, null);
|
| }
|
|
|