blob: f2dede8c4d5faf118744e7a6cd375ad87e246494 [file] [log] [blame]
Problems reported:
parser/primary_constructors/new_new:2:7: Constructors declared with the 'new' keyword can't be named 'new'.
new new();
^^^
parser/primary_constructors/new_new:3:13: Constructors declared with the 'new' keyword can't be named 'new'.
const new new();
^^^
parser/primary_constructors/new_new:4:7: Constructors declared with the 'new' keyword can't be named 'new'.
new new() : this.x = 0;
^^^
parser/primary_constructors/new_new:5:13: Constructors declared with the 'new' keyword can't be named 'new'.
const new new() : this.x = 0;
^^^
parser/primary_constructors/new_new:6:7: Constructors declared with the 'new' keyword can't be named 'new'.
new new() {}
^^^
parser/primary_constructors/new_new:7:13: Constructors declared with the 'new' keyword can't be named 'new'.
const new new() {}
^^^
parser/primary_constructors/new_new:8:7: Constructors declared with the 'new' keyword can't be named 'new'.
new new() : this.x = 0 {}
^^^
parser/primary_constructors/new_new:9:13: Constructors declared with the 'new' keyword can't be named 'new'.
const new new() : this.x = 0 {}
^^^
beginCompilationUnit(class)
beginMetadataStar(class)
endMetadataStar(0)
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
handleIdentifier(C, classOrMixinDeclaration)
handleNoTypeVariables({)
beginClassDeclaration(class, null, null, null, null, null, null, null, null, C)
handleNoPrimaryConstructor(C, null, false)
handleNoType(C)
handleClassExtends(null, 1)
handleClassNoWithClause()
handleImplements(null, 0)
handleClassHeader(class, class, null)
beginClassOrMixinOrExtensionBody(DeclarationKind.Class, {)
beginMetadataStar(new)
endMetadataStar(0)
beginMember()
beginConstructor(DeclarationKind.Class, null, null, null, null, null, null, new, new, C)
handleNoType({)
handleRecoverableError(NewConstructorNewName, new, new)
handleIdentifier(new, methodDeclaration)
handleNoTypeVariables(()
beginFormalParameters((, MemberKind.NonStaticMethod)
endFormalParameters(0, (, ), MemberKind.NonStaticMethod)
handleNoInitializers()
handleAsyncModifier(null, null)
handleEmptyFunctionBody(;)
endConstructor(DeclarationKind.Class, new, new, (, null, ;)
endMember()
beginMetadataStar(const)
endMetadataStar(0)
beginMember()
beginConstructor(DeclarationKind.Class, null, null, null, null, const, null, new, new, C)
handleNoType(const)
handleRecoverableError(NewConstructorNewName, new, new)
handleIdentifier(new, methodDeclaration)
handleNoTypeVariables(()
beginFormalParameters((, MemberKind.NonStaticMethod)
endFormalParameters(0, (, ), MemberKind.NonStaticMethod)
handleNoInitializers()
handleAsyncModifier(null, null)
handleEmptyFunctionBody(;)
endConstructor(DeclarationKind.Class, const, new, (, null, ;)
endMember()
beginMetadataStar(new)
endMetadataStar(0)
beginMember()
beginConstructor(DeclarationKind.Class, null, null, null, null, null, null, new, new, C)
handleNoType(;)
handleRecoverableError(NewConstructorNewName, new, new)
handleIdentifier(new, methodDeclaration)
handleNoTypeVariables(()
beginFormalParameters((, MemberKind.NonStaticMethod)
endFormalParameters(0, (, ), MemberKind.NonStaticMethod)
beginInitializers(:)
beginInitializer(this)
handleThisExpression(this, expression)
handleIdentifier(x, expressionContinuation)
handleNoTypeArguments(=)
handleNoArguments(=)
handleSend(x, x)
handleDotAccess(., x, false)
handleLiteralInt(0)
handleAssignmentExpression(=, 0)
endInitializer(0)
endInitializers(1, :, 0)
handleAsyncModifier(null, null)
handleEmptyFunctionBody(;)
endConstructor(DeclarationKind.Class, new, new, (, :, ;)
endMember()
beginMetadataStar(const)
endMetadataStar(0)
beginMember()
beginConstructor(DeclarationKind.Class, null, null, null, null, const, null, new, new, C)
handleNoType(const)
handleRecoverableError(NewConstructorNewName, new, new)
handleIdentifier(new, methodDeclaration)
handleNoTypeVariables(()
beginFormalParameters((, MemberKind.NonStaticMethod)
endFormalParameters(0, (, ), MemberKind.NonStaticMethod)
beginInitializers(:)
beginInitializer(this)
handleThisExpression(this, expression)
handleIdentifier(x, expressionContinuation)
handleNoTypeArguments(=)
handleNoArguments(=)
handleSend(x, x)
handleDotAccess(., x, false)
handleLiteralInt(0)
handleAssignmentExpression(=, 0)
endInitializer(0)
endInitializers(1, :, 0)
handleAsyncModifier(null, null)
handleEmptyFunctionBody(;)
endConstructor(DeclarationKind.Class, const, new, (, :, ;)
endMember()
beginMetadataStar(new)
endMetadataStar(0)
beginMember()
beginConstructor(DeclarationKind.Class, null, null, null, null, null, null, new, new, C)
handleNoType(;)
handleRecoverableError(NewConstructorNewName, new, new)
handleIdentifier(new, methodDeclaration)
handleNoTypeVariables(()
beginFormalParameters((, MemberKind.NonStaticMethod)
endFormalParameters(0, (, ), MemberKind.NonStaticMethod)
handleNoInitializers()
handleAsyncModifier(null, null)
beginBlockFunctionBody({)
endBlockFunctionBody(0, {, })
endConstructor(DeclarationKind.Class, new, new, (, null, })
endMember()
beginMetadataStar(const)
endMetadataStar(0)
beginMember()
beginConstructor(DeclarationKind.Class, null, null, null, null, const, null, new, new, C)
handleNoType(const)
handleRecoverableError(NewConstructorNewName, new, new)
handleIdentifier(new, methodDeclaration)
handleNoTypeVariables(()
beginFormalParameters((, MemberKind.NonStaticMethod)
endFormalParameters(0, (, ), MemberKind.NonStaticMethod)
handleNoInitializers()
handleAsyncModifier(null, null)
beginBlockFunctionBody({)
endBlockFunctionBody(0, {, })
endConstructor(DeclarationKind.Class, const, new, (, null, })
endMember()
beginMetadataStar(new)
endMetadataStar(0)
beginMember()
beginConstructor(DeclarationKind.Class, null, null, null, null, null, null, new, new, C)
handleNoType(})
handleRecoverableError(NewConstructorNewName, new, new)
handleIdentifier(new, methodDeclaration)
handleNoTypeVariables(()
beginFormalParameters((, MemberKind.NonStaticMethod)
endFormalParameters(0, (, ), MemberKind.NonStaticMethod)
beginInitializers(:)
beginInitializer(this)
handleThisExpression(this, expression)
handleIdentifier(x, expressionContinuation)
handleNoTypeArguments(=)
handleNoArguments(=)
handleSend(x, x)
handleDotAccess(., x, false)
handleLiteralInt(0)
handleAssignmentExpression(=, 0)
endInitializer(0)
endInitializers(1, :, 0)
handleAsyncModifier(null, null)
beginBlockFunctionBody({)
endBlockFunctionBody(0, {, })
endConstructor(DeclarationKind.Class, new, new, (, :, })
endMember()
beginMetadataStar(const)
endMetadataStar(0)
beginMember()
beginConstructor(DeclarationKind.Class, null, null, null, null, const, null, new, new, C)
handleNoType(const)
handleRecoverableError(NewConstructorNewName, new, new)
handleIdentifier(new, methodDeclaration)
handleNoTypeVariables(()
beginFormalParameters((, MemberKind.NonStaticMethod)
endFormalParameters(0, (, ), MemberKind.NonStaticMethod)
beginInitializers(:)
beginInitializer(this)
handleThisExpression(this, expression)
handleIdentifier(x, expressionContinuation)
handleNoTypeArguments(=)
handleNoArguments(=)
handleSend(x, x)
handleDotAccess(., x, false)
handleLiteralInt(0)
handleAssignmentExpression(=, 0)
endInitializer(0)
endInitializers(1, :, 0)
handleAsyncModifier(null, null)
beginBlockFunctionBody({)
endBlockFunctionBody(0, {, })
endConstructor(DeclarationKind.Class, const, new, (, :, })
endMember()
endClassOrMixinOrExtensionBody(DeclarationKind.Class, 8, {, })
endClassDeclaration(class, })
endTopLevelDeclaration(})
endCompilationUnit(1, )