blob: eac2ae281f4df0ec3e6831c5d29d177d2ac8bb54 [file] [log] [blame]
Problems reported:
parser/error_recovery/method_called_with:2:3: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
int with() => 7;
^^^
parser/error_recovery/method_called_with:2:3: Expected ';' after this.
int with() => 7;
^^^
parser/error_recovery/method_called_with:2:7: Expected a class member, but got 'with'.
int with() => 7;
^^^^
parser/error_recovery/method_called_with:2:11: Expected an identifier, but got '('.
int with() => 7;
^
parser/error_recovery/method_called_with:3:3: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
int with = 7;
^^^
parser/error_recovery/method_called_with:3:3: Expected ';' after this.
int with = 7;
^^^
parser/error_recovery/method_called_with:3:7: Expected a class member, but got 'with'.
int with = 7;
^^^^
parser/error_recovery/method_called_with:3:12: Operator declarations must be preceded by the keyword 'operator'.
int with = 7;
^
parser/error_recovery/method_called_with:3:12: The string '=' isn't a user-definable operator.
int with = 7;
^
parser/error_recovery/method_called_with:3:12: A method declaration needs an explicit list of parameters.
int with = 7;
^
parser/error_recovery/method_called_with:3:14: Expected a function body, but got '7'.
int with = 7;
^
parser/error_recovery/method_called_with:3:14: Expected a class member, but got '7'.
int with = 7;
^
parser/error_recovery/method_called_with:3:15: Expected a class member, but got ';'.
int with = 7;
^
parser/error_recovery/method_called_with:4:7: Expected ';' after this.
int get with => 7;
^^^
parser/error_recovery/method_called_with:4:11: Expected a class member, but got 'with'.
int get with => 7;
^^^^
parser/error_recovery/method_called_with:4:16: Expected an identifier, but got '=>'.
int get with => 7;
^^
parser/error_recovery/method_called_with:4:16: A method declaration needs an explicit list of parameters.
int get with => 7;
^^
parser/error_recovery/method_called_with:5:8: Expected ';' after this.
void set with(int x) {}
^^^
parser/error_recovery/method_called_with:5:12: Expected a class member, but got 'with'.
void set with(int x) {}
^^^^
parser/error_recovery/method_called_with:5:16: Expected an identifier, but got '('.
void set with(int x) {}
^
parser/error_recovery/method_called_with:8:1: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
int with() => 7;
^^^
parser/error_recovery/method_called_with:8:1: Expected ';' after this.
int with() => 7;
^^^
parser/error_recovery/method_called_with:8:5: Expected an identifier, but got 'with'.
int with() => 7;
^^^^
parser/error_recovery/method_called_with:9:1: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
int with = 7;
^^^
parser/error_recovery/method_called_with:9:1: Expected ';' after this.
int with = 7;
^^^
parser/error_recovery/method_called_with:9:5: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
int with = 7;
^^^^
parser/error_recovery/method_called_with:9:5: Expected an identifier, but got 'with'.
int with = 7;
^^^^
beginCompilationUnit(class)
beginMetadataStar(class)
endMetadataStar(0)
beginClassOrNamedMixinApplicationPrelude(class)
handleIdentifier(C, classOrMixinDeclaration)
handleNoTypeVariables({)
beginClassDeclaration(class, null, C)
handleNoType(C)
handleClassExtends(null)
handleClassNoWithClause()
handleClassOrMixinImplements(null, 0)
handleClassHeader(class, class, null)
beginClassOrMixinBody(DeclarationKind.Class, {)
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
handleRecoverableError(MissingConstFinalVarOrType, int, int)
handleNoType({)
handleIdentifier(int, fieldDeclaration)
handleNoFieldInitializer(with)
handleRecoverableError(Message[ExpectedAfterButGot, Expected ';' after this., null, {string: ;}], int, int)
endClassFields(null, null, null, null, 1, int, ;)
endMember()
beginMetadataStar(with)
endMetadataStar(0)
beginMember()
handleRecoverableError(Message[ExpectedClassMember, Expected a class member, but got 'with'., null, {token: with}], with, with)
handleInvalidMember(with)
endMember()
beginMetadataStar(()
endMetadataStar(0)
beginMember()
beginMethod(null, null, null, null, null, ()
handleNoType(with)
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '('., null, {token: (}], (, ()
handleIdentifier(, methodDeclaration)
handleNoTypeVariables(()
beginFormalParameters((, MemberKind.NonStaticMethod)
endFormalParameters(0, (, ), MemberKind.NonStaticMethod)
handleNoInitializers()
handleAsyncModifier(null, null)
handleLiteralInt(7)
handleExpressionFunctionBody(=>, ;)
endClassMethod(null, , (, null, ;)
endMember()
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
handleRecoverableError(MissingConstFinalVarOrType, int, int)
handleNoType(;)
handleIdentifier(int, fieldDeclaration)
handleNoFieldInitializer(with)
handleRecoverableError(Message[ExpectedAfterButGot, Expected ';' after this., null, {string: ;}], int, int)
endClassFields(null, null, null, null, 1, int, ;)
endMember()
beginMetadataStar(with)
endMetadataStar(0)
beginMember()
handleRecoverableError(Message[ExpectedClassMember, Expected a class member, but got 'with'., null, {token: with}], with, with)
handleInvalidMember(with)
endMember()
beginMetadataStar(=)
endMetadataStar(0)
beginMember()
handleRecoverableError(MissingOperatorKeyword, =, =)
beginMethod(null, null, null, null, null, operator)
handleNoType(with)
handleRecoverableError(Message[InvalidOperator, The string '=' isn't a user-definable operator., null, {token: =}], =, =)
handleInvalidOperatorName(operator, =)
handleNoTypeVariables(7)
handleRecoverableError(MissingMethodParameters, =, =)
beginFormalParameters((, MemberKind.NonStaticMethod)
endFormalParameters(0, (, ), MemberKind.NonStaticMethod)
handleNoInitializers()
handleAsyncModifier(null, null)
handleRecoverableError(Message[ExpectedFunctionBody, Expected a function body, but got '7'., null, {token: 7}], 7, 7)
handleInvalidFunctionBody({)
endClassMethod(null, operator, (, null, })
endMember()
beginMetadataStar(7)
endMetadataStar(0)
beginMember()
handleRecoverableError(Message[ExpectedClassMember, Expected a class member, but got '7'., null, {token: 7}], 7, 7)
handleInvalidMember(7)
endMember()
beginMetadataStar(;)
endMetadataStar(0)
beginMember()
handleRecoverableError(Message[ExpectedClassMember, Expected a class member, but got ';'., null, {token: ;}], ;, ;)
handleInvalidMember(;)
endMember()
beginMetadataStar(int)
endMetadataStar(0)
beginMember()
handleIdentifier(int, typeReference)
handleNoTypeArguments(get)
handleType(int, null)
handleIdentifier(get, fieldDeclaration)
handleNoFieldInitializer(with)
handleRecoverableError(Message[ExpectedAfterButGot, Expected ';' after this., null, {string: ;}], get, get)
endClassFields(null, null, null, null, 1, int, ;)
endMember()
beginMetadataStar(with)
endMetadataStar(0)
beginMember()
handleRecoverableError(Message[ExpectedClassMember, Expected a class member, but got 'with'., null, {token: with}], with, with)
handleInvalidMember(with)
endMember()
beginMetadataStar(=>)
endMetadataStar(0)
beginMember()
beginMethod(null, null, null, null, null, =>)
handleNoType(with)
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '=>'., null, {token: =>}], =>, =>)
handleIdentifier(, methodDeclaration)
handleNoTypeVariables(=>)
handleRecoverableError(MissingMethodParameters, =>, =>)
beginFormalParameters((, MemberKind.NonStaticMethod)
endFormalParameters(0, (, ), MemberKind.NonStaticMethod)
handleNoInitializers()
handleAsyncModifier(null, null)
handleLiteralInt(7)
handleExpressionFunctionBody(=>, ;)
endClassMethod(null, , (, null, ;)
endMember()
beginMetadataStar(void)
endMetadataStar(0)
beginMember()
handleVoidKeyword(void)
handleIdentifier(set, fieldDeclaration)
handleNoFieldInitializer(with)
handleRecoverableError(Message[ExpectedAfterButGot, Expected ';' after this., null, {string: ;}], set, set)
endClassFields(null, null, null, null, 1, void, ;)
endMember()
beginMetadataStar(with)
endMetadataStar(0)
beginMember()
handleRecoverableError(Message[ExpectedClassMember, Expected a class member, but got 'with'., null, {token: with}], with, with)
handleInvalidMember(with)
endMember()
beginMetadataStar(()
endMetadataStar(0)
beginMember()
beginMethod(null, null, null, null, null, ()
handleNoType(with)
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '('., null, {token: (}], (, ()
handleIdentifier(, methodDeclaration)
handleNoTypeVariables(()
beginFormalParameters((, MemberKind.NonStaticMethod)
beginMetadataStar(int)
endMetadataStar(0)
beginFormalParameter(int, MemberKind.NonStaticMethod, null, null, null)
handleIdentifier(int, typeReference)
handleNoTypeArguments(x)
handleType(int, null)
handleIdentifier(x, formalParameterDeclaration)
handleFormalParameterWithoutValue())
endFormalParameter(null, null, x, null, null, FormalParameterKind.mandatory, MemberKind.NonStaticMethod)
endFormalParameters(1, (, ), MemberKind.NonStaticMethod)
handleNoInitializers()
handleAsyncModifier(null, null)
beginBlockFunctionBody({)
endBlockFunctionBody(0, {, })
endClassMethod(null, , (, null, })
endMember()
endClassOrMixinBody(DeclarationKind.Class, 14, {, })
endClassDeclaration(class, })
endTopLevelDeclaration(int)
beginMetadataStar(int)
endMetadataStar(0)
beginTopLevelMember(int)
handleRecoverableError(MissingConstFinalVarOrType, int, int)
handleNoType(})
handleIdentifier(int, topLevelVariableDeclaration)
handleNoFieldInitializer(with)
handleRecoverableError(Message[ExpectedAfterButGot, Expected ';' after this., null, {string: ;}], int, int)
endTopLevelFields(null, null, null, null, 1, int, ;)
endTopLevelDeclaration(with)
beginMetadataStar(with)
endMetadataStar(0)
beginTopLevelMember(with)
beginTopLevelMethod(;, null)
handleNoType(;)
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got 'with'., null, {token: with}], with, with)
handleIdentifier(with, topLevelFunctionDeclaration)
handleNoTypeVariables(()
beginFormalParameters((, MemberKind.TopLevelMethod)
endFormalParameters(0, (, ), MemberKind.TopLevelMethod)
handleAsyncModifier(null, null)
handleLiteralInt(7)
handleExpressionFunctionBody(=>, ;)
endTopLevelMethod(with, null, ;)
endTopLevelDeclaration(int)
beginMetadataStar(int)
endMetadataStar(0)
beginTopLevelMember(int)
handleRecoverableError(MissingConstFinalVarOrType, int, int)
handleNoType(;)
handleIdentifier(int, topLevelVariableDeclaration)
handleNoFieldInitializer(with)
handleRecoverableError(Message[ExpectedAfterButGot, Expected ';' after this., null, {string: ;}], int, int)
endTopLevelFields(null, null, null, null, 1, int, ;)
endTopLevelDeclaration(with)
beginMetadataStar(with)
endMetadataStar(0)
beginTopLevelMember(with)
handleRecoverableError(MissingConstFinalVarOrType, with, with)
handleNoType(;)
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got 'with'., null, {token: with}], with, with)
handleIdentifier(with, topLevelVariableDeclaration)
beginFieldInitializer(=)
handleLiteralInt(7)
endFieldInitializer(=, ;)
endTopLevelFields(null, null, null, null, 1, with, ;)
endTopLevelDeclaration()
endCompilationUnit(5, )