blob: 8125755b64199d99b7073b37d3f29314fafbe5b6 [file] [log] [blame]
Problems reported:
parser/nnbd/issue_40805_02:3:3: Members marked 'late' with an initializer can't be declared to be both 'final' and 'covariant'.
covariant late final int x = 42;
^^^^^^^^^
beginCompilationUnit(class)
beginMetadataStar(class)
endMetadataStar(0)
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
handleIdentifier(C, classOrMixinDeclaration)
handleNoTypeVariables({)
beginClassDeclaration(class, null, C)
handleNoType(C)
handleClassExtends(null, 1)
handleClassNoWithClause()
handleClassOrMixinImplements(null, 0)
handleClassHeader(class, class, null)
beginClassOrMixinOrExtensionBody(DeclarationKind.Class, {)
beginMetadataStar(covariant)
endMetadataStar(0)
beginMember()
beginFields(DeclarationKind.Class, null, null, null, covariant, late, final, {)
handleIdentifier(int, typeReference)
handleNoTypeArguments(x)
handleType(int, null)
handleIdentifier(x, fieldDeclaration)
handleRecoverableError(FinalAndCovariantLateWithInitializer, covariant, covariant)
beginFieldInitializer(=)
handleLiteralInt(42)
endFieldInitializer(=, ;)
endClassFields(null, null, null, null, late, final, 1, covariant, ;)
endMember()
endClassOrMixinOrExtensionBody(DeclarationKind.Class, 1, {, })
endClassDeclaration(class, })
endTopLevelDeclaration()
endCompilationUnit(1, )