| Problems reported: |
| |
| parser/patterns/object_recovery_missingClosingParen:3:17: Can't find ')' to match '('. |
| case dynamic(foo: int(): |
| ^ |
| |
| beginCompilationUnit(void) |
| beginMetadataStar(void) |
| endMetadataStar(0) |
| beginTopLevelMember(void) |
| beginTopLevelMethod(UnmatchedToken((), null, null) |
| handleVoidKeyword(void) |
| handleIdentifier(f, topLevelFunctionDeclaration) |
| handleNoTypeVariables(() |
| beginFormalParameters((, MemberKind.TopLevelMethod) |
| beginMetadataStar(x) |
| endMetadataStar(0) |
| beginFormalParameter(x, MemberKind.TopLevelMethod, null, null, null) |
| handleNoType(() |
| handleIdentifier(x, formalParameterDeclaration) |
| handleFormalParameterWithoutValue()) |
| endFormalParameter(null, null, null, x, null, null, FormalParameterKind.requiredPositional, MemberKind.TopLevelMethod) |
| endFormalParameters(1, (, ), MemberKind.TopLevelMethod) |
| handleAsyncModifier(null, null) |
| beginBlockFunctionBody({) |
| beginSwitchStatement(switch) |
| handleIdentifier(x, expression) |
| handleNoTypeArguments()) |
| handleNoArguments()) |
| handleSend(x, x) |
| handleParenthesizedCondition((, null, null) |
| beginSwitchBlock({) |
| beginCaseExpression(case) |
| beginPattern(case) |
| handleNoTypeArguments(() |
| handleIdentifier(foo, namedArgumentReference) |
| beginPattern(:) |
| handleNoTypeArguments(() |
| handleObjectPatternFields(0, (, )) |
| handleObjectPattern(int, null, null) |
| endPattern()) |
| handlePatternField(:) |
| handleObjectPatternFields(1, (, )) |
| handleObjectPattern(dynamic, null, null) |
| endPattern()) |
| handleSwitchCaseNoWhenClause()) |
| endCaseExpression(case, null, :) |
| beginSwitchCase(0, 1, case) |
| handleBreakStatement(false, break, ;) |
| endSwitchCase(0, 1, null, null, 1, case, ;) |
| endSwitchBlock(1, {, }) |
| endSwitchStatement(switch, }) |
| endBlockFunctionBody(1, {, }) |
| endTopLevelMethod(void, null, }) |
| endTopLevelDeclaration(}) |
| handleErrorToken(UnmatchedToken(()) |
| handleRecoverableError(Message[Template(UnmatchedToken), Can't find ')' to match '('., null, {string: ), lexeme: (}], UnmatchedToken((), UnmatchedToken(()) |
| endCompilationUnit(1, ) |