| Index: dart/lib/compiler/implementation/scanner/partial_parser.dart
|
| diff --git a/dart/lib/compiler/implementation/scanner/partial_parser.dart b/dart/lib/compiler/implementation/scanner/partial_parser.dart
|
| index 1e792d0410d289bdf483dfab28e04626e6489b8f..2199ddef8c6bdf8239b9c0764a0e17d96ad9cf9c 100644
|
| --- a/dart/lib/compiler/implementation/scanner/partial_parser.dart
|
| +++ b/dart/lib/compiler/implementation/scanner/partial_parser.dart
|
| @@ -54,9 +54,8 @@ class PartialParser extends Parser {
|
| continue;
|
| }
|
| }
|
| - if (!mayParseFunctionExpressions && value === '{')
|
| - return token;
|
| - if ((value !== '<') && (token is BeginGroupToken)) {
|
| + if (!mayParseFunctionExpressions && value === '{') return token;
|
| + if (token is BeginGroupToken) {
|
| BeginGroupToken begin = token;
|
| token = (begin.endGroup !== null) ? begin.endGroup : token;
|
| }
|
|
|