Chromium Code Reviews| Index: pkg/front_end/lib/src/fasta/parser/parser.dart |
| diff --git a/pkg/front_end/lib/src/fasta/parser/parser.dart b/pkg/front_end/lib/src/fasta/parser/parser.dart |
| index d3508fc81777fe6db1158e3f698a8d0d48a7d30d..0b1e47a0141fb88f4e511504997dbbe29410c864 100644 |
| --- a/pkg/front_end/lib/src/fasta/parser/parser.dart |
| +++ b/pkg/front_end/lib/src/fasta/parser/parser.dart |
| @@ -1051,7 +1051,7 @@ class Parser { |
| } else if (!optional("dynamic", token)) { |
| reportRecoverableErrorCodeWithToken(token, codeBuiltInIdentifierAsType); |
| } |
| - } else if (!inPlainSync && token.isPseudo) { |
| + } else if (!inPlainSync && token.type.isPseudo) { |
|
ahe
2017/05/15 09:23:12
Why this change?
danrubel
2017/05/15 13:03:18
There was no corresponding `isPseudo` accessor in
|
| if (optional('await', token)) { |
| reportRecoverableErrorCode(token, codeAwaitAsIdentifier); |
| } else if (optional('yield', token)) { |