blob: 5b0b74c1a089677f5bb7cf67853be40340a402fe [file] [log] [blame]
Problems reported:
parser/error_recovery/issue_49477:7:3: Expected an identifier, but got 'void'.
void writeMessage(String message) {}
^^^^
parser/error_recovery/issue_49477:5:14: Expected ';' after this.
proc.stdout. // we're typing here!
^
beginCompilationUnit(import)
beginMetadataStar(import)
endMetadataStar(0)
beginUncategorizedTopLevelDeclaration(import)
beginImport(import)
beginLiteralString('dart:io')
endLiteralString(0, ;)
beginConditionalUris(;)
endConditionalUris(0)
handleImportPrefix(null, null)
beginCombinators(;)
endCombinators(0)
endImport(import, null, ;)
endTopLevelDeclaration(;)
beginMetadataStar(void)
endMetadataStar(0)
beginTopLevelMember(void)
beginTopLevelMethod(;, null, null)
handleVoidKeyword(void)
handleIdentifier(main, topLevelFunctionDeclaration)
handleNoTypeVariables(()
beginFormalParameters((, MemberKind.TopLevelMethod)
beginMetadataStar(List)
endMetadataStar(0)
beginFormalParameter(List, MemberKind.TopLevelMethod, null, null, null)
handleIdentifier(List, typeReference)
beginTypeArguments(<)
handleIdentifier(String, typeReference)
handleNoTypeArguments(>)
handleType(String, null)
endTypeArguments(1, <, >)
handleType(List, null)
handleIdentifier(args, formalParameterDeclaration)
handleFormalParameterWithoutValue())
endFormalParameter(null, null, null, args, null, null, FormalParameterKind.requiredPositional, MemberKind.TopLevelMethod)
endFormalParameters(1, (, ), MemberKind.TopLevelMethod)
handleAsyncModifier(async, null)
beginBlockFunctionBody({)
beginMetadataStar(final)
endMetadataStar(0)
handleNoType(final)
beginVariablesDeclaration(proc, null, final)
handleIdentifier(proc, localVariableDeclaration)
beginInitializedIdentifier(proc)
beginVariableInitializer(=)
beginAwaitExpression(await)
handleIdentifier(Process, expression)
handleNoTypeArguments(.)
handleNoArguments(.)
handleSend(Process, Process)
handleIdentifier(start, expressionContinuation)
handleNoTypeArguments(()
beginArguments(()
beginLiteralString('')
endLiteralString(0, ,)
handleNoTypeArguments([])
handleLiteralList(0, [, null, ])
endArguments(2, (, ))
handleSend(start, ))
handleEndingBinaryExpression(., ))
endAwaitExpression(await, ))
endVariableInitializer(=)
endInitializedIdentifier(proc)
endVariablesDeclaration(1, ;)
handleIdentifier(proc, expression)
handleNoTypeArguments(.)
handleNoArguments(.)
handleSend(proc, proc)
handleIdentifier(stdout, expressionContinuation)
handleNoTypeArguments(.)
handleNoArguments(.)
handleSend(stdout, stdout)
handleEndingBinaryExpression(., stdout)
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got 'void'., Try inserting an identifier before 'void'., {lexeme: void}], void, void)
handleIdentifier(, expressionContinuation)
handleNoTypeArguments(void)
handleNoArguments(void)
handleSend(, )
handleEndingBinaryExpression(., )
handleRecoverableError(Message[ExpectedAfterButGot, Expected ';' after this., null, {string: ;}], ., .)
handleExpressionStatement(proc, ;)
beginMetadataStar(void)
endMetadataStar(0)
handleNoTypeVariables(()
beginLocalFunctionDeclaration(void)
handleVoidKeyword(void)
beginFunctionName(writeMessage)
handleIdentifier(writeMessage, localFunctionDeclaration)
endFunctionName(void, ()
beginFormalParameters((, MemberKind.Local)
beginMetadataStar(String)
endMetadataStar(0)
beginFormalParameter(String, MemberKind.Local, null, null, null)
handleIdentifier(String, typeReference)
handleNoTypeArguments(message)
handleType(String, null)
handleIdentifier(message, formalParameterDeclaration)
handleFormalParameterWithoutValue())
endFormalParameter(null, null, null, message, null, null, FormalParameterKind.requiredPositional, MemberKind.Local)
endFormalParameters(1, (, ), MemberKind.Local)
handleNoInitializers()
handleAsyncModifier(null, null)
beginBlockFunctionBody({)
endBlockFunctionBody(0, {, })
endLocalFunctionDeclaration(})
endBlockFunctionBody(3, {, })
endTopLevelMethod(void, null, })
endTopLevelDeclaration(})
endCompilationUnit(2, )