blob: bb3e5fba2519ec2b731d8c4818f61f1660647c59 [file] [log] [blame]
Problems reported:
parser/patterns/switchExpression_recovery_bogusTokensAfterCase:2:14: Expected '}' before this.
int() => 0 : 1
^
beginCompilationUnit(f)
beginMetadataStar(f)
endMetadataStar(0)
beginTopLevelMember(f)
beginTopLevelMethod(, null, null)
handleNoType()
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)
beginSwitchExpression(switch)
handleIdentifier(x, expression)
handleNoTypeArguments())
handleNoArguments())
handleSend(x, x)
handleParenthesizedCondition((, null, null)
beginSwitchExpressionBlock({)
beginSwitchExpressionCase()
beginPattern({)
handleNoTypeArguments(()
handleObjectPatternFields(0, (, ))
handleObjectPattern(int, null, null)
endPattern())
handleSwitchExpressionCasePattern())
handleLiteralInt(0)
endSwitchExpressionCase(int, null, =>, 0)
handleRecoverableError(Message[ExpectedButGot, Expected '}' before this., null, {string: }}], :, :)
endSwitchExpressionBlock(1, {, })
endSwitchExpression(switch, })
handleExpressionFunctionBody(=>, ;)
endTopLevelMethod(f, null, ;)
endTopLevelDeclaration(;)
endCompilationUnit(1, )