[cfe] Update parser test expectations after parser change

Change-Id: I207fc18ce8add110e405bdc407906d0925ae2eb1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/211440
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
This commit is contained in:
Johnni Winther 2021-08-26 13:42:28 +00:00 committed by commit-bot@chromium.org
parent 62b3f211e0
commit 3be0f377a5
2 changed files with 3 additions and 3 deletions

View file

@ -86,7 +86,7 @@ beginCompilationUnit(class)
beginConstructorReference(Foo)
handleNoTypeArguments(()
handleNoConstructorReferenceContinuationAfterTypeArguments(()
endConstructorReference(Foo, null, ()
endConstructorReference(Foo, null, (, ConstructorReferenceContext.New)
beginArguments(()
endArguments(0, (, ))
endNewExpression(new)

View file

@ -131,14 +131,14 @@ parseUnit(class)
parseNewExpression(=)
isNextIdentifier(new)
listener: beginNewExpression(new)
parseConstructorReference(new, null)
parseConstructorReference(new, ConstructorReferenceContext.New, null)
ensureIdentifier(new, constructorReference)
listener: handleIdentifier(Foo, constructorReference)
listener: beginConstructorReference(Foo)
parseQualifiedRestOpt(Foo, constructorReferenceContinuation)
listener: handleNoTypeArguments(()
listener: handleNoConstructorReferenceContinuationAfterTypeArguments(()
listener: endConstructorReference(Foo, null, ()
listener: endConstructorReference(Foo, null, (, ConstructorReferenceContext.New)
parseConstructorInvocationArguments(Foo)
parseArgumentsRest(()
listener: beginArguments(()