blob: 25d087dd79c22c955634af3f1fc8703af9d736ab [file] [log] [blame]
Problems reported:
parser/error_recovery/issue_50908:1:39: Expected an identifier, but got '}'.
void Function({required int Function()}) f;
^
parser/error_recovery/issue_50908:2:28: Expected an identifier, but got '}'.
void Function({required int}) g;
^
parser/error_recovery/issue_50908:3:28: Expected an identifier, but got ','.
void Function({required int, required int})? h;
^
parser/error_recovery/issue_50908:3:42: Expected an identifier, but got '}'.
void Function({required int, required int})? h;
^
beginCompilationUnit(void)
beginMetadataStar(void)
endMetadataStar(0)
beginTopLevelMember(void)
beginFields(DeclarationKind.TopLevel, null, null, null, null, null, null, null, )
beginFunctionType(void)
handleNoTypeVariables(()
handleVoidKeyword(void)
beginFormalParameters((, MemberKind.GeneralizedFunctionType)
beginOptionalFormalParameters({)
beginMetadataStar(required)
endMetadataStar(0)
beginFormalParameter(required, MemberKind.GeneralizedFunctionType, required, null, null)
beginFunctionType(int)
handleNoTypeVariables(()
handleIdentifier(int, typeReference)
handleNoTypeArguments(Function)
handleType(int, null)
beginFormalParameters((, MemberKind.GeneralizedFunctionType)
endFormalParameters(0, (, ), MemberKind.GeneralizedFunctionType)
endFunctionType(Function, null)
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '}'., Try inserting an identifier before '}'., {lexeme: }}], }, })
handleIdentifier(, formalParameterDeclaration)
handleFormalParameterWithoutValue(})
endFormalParameter(null, null, null, , null, null, FormalParameterKind.requiredNamed, MemberKind.GeneralizedFunctionType)
endOptionalFormalParameters(1, {, }, MemberKind.GeneralizedFunctionType)
endFormalParameters(1, (, ), MemberKind.GeneralizedFunctionType)
endFunctionType(Function, null)
handleIdentifier(f, topLevelVariableDeclaration)
handleNoFieldInitializer(;)
endTopLevelFields(null, null, null, null, null, null, 1, void, ;)
endTopLevelDeclaration(;)
beginMetadataStar(void)
endMetadataStar(0)
beginTopLevelMember(void)
beginFields(DeclarationKind.TopLevel, null, null, null, null, null, null, null, ;)
beginFunctionType(void)
handleNoTypeVariables(()
handleVoidKeyword(void)
beginFormalParameters((, MemberKind.GeneralizedFunctionType)
beginOptionalFormalParameters({)
beginMetadataStar(required)
endMetadataStar(0)
beginFormalParameter(required, MemberKind.GeneralizedFunctionType, required, null, null)
handleIdentifier(int, typeReference)
handleNoTypeArguments(})
handleType(int, null)
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '}'., Try inserting an identifier before '}'., {lexeme: }}], }, })
handleIdentifier(, formalParameterDeclaration)
handleFormalParameterWithoutValue(})
endFormalParameter(null, null, null, , null, null, FormalParameterKind.requiredNamed, MemberKind.GeneralizedFunctionType)
endOptionalFormalParameters(1, {, }, MemberKind.GeneralizedFunctionType)
endFormalParameters(1, (, ), MemberKind.GeneralizedFunctionType)
endFunctionType(Function, null)
handleIdentifier(g, topLevelVariableDeclaration)
handleNoFieldInitializer(;)
endTopLevelFields(null, null, null, null, null, null, 1, void, ;)
endTopLevelDeclaration(;)
beginMetadataStar(void)
endMetadataStar(0)
beginTopLevelMember(void)
beginFields(DeclarationKind.TopLevel, null, null, null, null, null, null, null, ;)
beginFunctionType(void)
handleNoTypeVariables(()
handleVoidKeyword(void)
beginFormalParameters((, MemberKind.GeneralizedFunctionType)
beginOptionalFormalParameters({)
beginMetadataStar(required)
endMetadataStar(0)
beginFormalParameter(required, MemberKind.GeneralizedFunctionType, required, null, null)
handleIdentifier(int, typeReference)
handleNoTypeArguments(,)
handleType(int, null)
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got ','., Try inserting an identifier before ','., {lexeme: ,}], ,, ,)
handleIdentifier(, formalParameterDeclaration)
handleFormalParameterWithoutValue(,)
endFormalParameter(null, null, null, , null, null, FormalParameterKind.requiredNamed, MemberKind.GeneralizedFunctionType)
beginMetadataStar(required)
endMetadataStar(0)
beginFormalParameter(required, MemberKind.GeneralizedFunctionType, required, null, null)
handleIdentifier(int, typeReference)
handleNoTypeArguments(})
handleType(int, null)
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '}'., Try inserting an identifier before '}'., {lexeme: }}], }, })
handleIdentifier(, formalParameterDeclaration)
handleFormalParameterWithoutValue(})
endFormalParameter(null, null, null, , null, null, FormalParameterKind.requiredNamed, MemberKind.GeneralizedFunctionType)
endOptionalFormalParameters(2, {, }, MemberKind.GeneralizedFunctionType)
endFormalParameters(1, (, ), MemberKind.GeneralizedFunctionType)
endFunctionType(Function, ?)
handleIdentifier(h, topLevelVariableDeclaration)
handleNoFieldInitializer(;)
endTopLevelFields(null, null, null, null, null, null, 1, void, ;)
endTopLevelDeclaration(;)
endCompilationUnit(3, )