| Problems reported: |
| |
| parser/error_recovery/issue_45251_set:3:31: A set literal can't be prefixed by 'Set'. |
| final Set<Undefined> foo1 = Set<List<int>>{}; |
| ^^^ |
| |
| parser/error_recovery/issue_45251_set:9:31: A set literal can't be prefixed by 'Set'. |
| final Set<Undefined> foo3 = Set{}; |
| ^^^ |
| |
| parser/error_recovery/issue_45251_set:18:31: A set literal can't be prefixed by 'Set'. |
| final Set<Undefined> foo6 = Set<List<int>>{null}; |
| ^^^ |
| |
| parser/error_recovery/issue_45251_set:21:31: A set literal can't be prefixed by 'Set'. |
| final Set<Undefined> foo7 = Set{null}; |
| ^^^ |
| |
| beginCompilationUnit(class) |
| beginMetadataStar(class) |
| endMetadataStar(0) |
| beginClassOrMixinOrNamedMixinApplicationPrelude(class) |
| handleIdentifier(F, classOrMixinDeclaration) |
| handleNoTypeVariables({) |
| beginClassDeclaration(class, null, null, null, F) |
| handleNoType(F) |
| handleClassExtends(null, 1) |
| handleClassNoWithClause() |
| handleImplements(null, 0) |
| handleClassHeader(class, class, null) |
| beginClassOrMixinOrExtensionBody(DeclarationKind.Class, {) |
| beginMetadataStar(final) |
| endMetadataStar(0) |
| beginMember() |
| beginFields(DeclarationKind.Class, null, null, null, null, null, final, {) |
| handleIdentifier(Set, typeReference) |
| beginTypeArguments(<) |
| handleIdentifier(Undefined, typeReference) |
| handleNoTypeArguments(>) |
| handleType(Undefined, null) |
| endTypeArguments(1, <, >) |
| handleType(Set, null) |
| handleIdentifier(foo1, fieldDeclaration) |
| beginFieldInitializer(=) |
| handleRecoverableError(Message[LiteralWithClass, A set literal can't be prefixed by 'Set'., Try removing 'Set', {string: set, lexeme: Set}], Set, Set) |
| beginTypeArguments(<) |
| handleIdentifier(List, typeReference) |
| beginTypeArguments(<) |
| handleIdentifier(int, typeReference) |
| handleNoTypeArguments(>) |
| handleType(int, null) |
| endTypeArguments(1, <, >) |
| handleType(List, null) |
| endTypeArguments(1, <, >) |
| handleLiteralSetOrMap(0, {, null, }, false) |
| endFieldInitializer(=, ;) |
| endClassFields(null, null, null, null, null, final, 1, final, ;) |
| endMember() |
| beginMetadataStar(final) |
| endMetadataStar(0) |
| beginMember() |
| beginFields(DeclarationKind.Class, null, null, null, null, null, final, ;) |
| handleIdentifier(Set, typeReference) |
| beginTypeArguments(<) |
| handleIdentifier(Undefined, typeReference) |
| handleNoTypeArguments(>) |
| handleType(Undefined, null) |
| endTypeArguments(1, <, >) |
| handleType(Set, null) |
| handleIdentifier(foo2, fieldDeclaration) |
| beginFieldInitializer(=) |
| beginTypeArguments(<) |
| handleIdentifier(List, typeReference) |
| beginTypeArguments(<) |
| handleIdentifier(int, typeReference) |
| handleNoTypeArguments(>) |
| handleType(int, null) |
| endTypeArguments(1, <, >) |
| handleType(List, null) |
| endTypeArguments(1, <, >) |
| handleLiteralSetOrMap(0, {, null, }, false) |
| endFieldInitializer(=, ;) |
| endClassFields(null, null, null, null, null, final, 1, final, ;) |
| endMember() |
| beginMetadataStar(final) |
| endMetadataStar(0) |
| beginMember() |
| beginFields(DeclarationKind.Class, null, null, null, null, null, final, ;) |
| handleIdentifier(Set, typeReference) |
| beginTypeArguments(<) |
| handleIdentifier(Undefined, typeReference) |
| handleNoTypeArguments(>) |
| handleType(Undefined, null) |
| endTypeArguments(1, <, >) |
| handleType(Set, null) |
| handleIdentifier(foo3, fieldDeclaration) |
| beginFieldInitializer(=) |
| handleRecoverableError(Message[LiteralWithClass, A set literal can't be prefixed by 'Set'., Try removing 'Set', {string: set, lexeme: Set}], Set, Set) |
| handleNoTypeArguments({) |
| handleLiteralSetOrMap(0, {, null, }, false) |
| endFieldInitializer(=, ;) |
| endClassFields(null, null, null, null, null, final, 1, final, ;) |
| endMember() |
| beginMetadataStar(final) |
| endMetadataStar(0) |
| beginMember() |
| beginFields(DeclarationKind.Class, null, null, null, null, null, final, ;) |
| handleIdentifier(Set, typeReference) |
| beginTypeArguments(<) |
| handleIdentifier(Undefined, typeReference) |
| handleNoTypeArguments(>) |
| handleType(Undefined, null) |
| endTypeArguments(1, <, >) |
| handleType(Set, null) |
| handleIdentifier(foo4, fieldDeclaration) |
| beginFieldInitializer(=) |
| handleIdentifier(Set, expression) |
| beginTypeArguments(<) |
| handleIdentifier(List, typeReference) |
| beginTypeArguments(<) |
| handleIdentifier(int, typeReference) |
| handleNoTypeArguments(>) |
| handleType(int, null) |
| endTypeArguments(1, <, >) |
| handleType(List, null) |
| endTypeArguments(1, <, >) |
| beginArguments(() |
| endArguments(0, (, )) |
| handleSend(Set, ;) |
| endFieldInitializer(=, ;) |
| endClassFields(null, null, null, null, null, final, 1, final, ;) |
| endMember() |
| beginMetadataStar(final) |
| endMetadataStar(0) |
| beginMember() |
| beginFields(DeclarationKind.Class, null, null, null, null, null, final, ;) |
| handleIdentifier(Set, typeReference) |
| beginTypeArguments(<) |
| handleIdentifier(Undefined, typeReference) |
| handleNoTypeArguments(>) |
| handleType(Undefined, null) |
| endTypeArguments(1, <, >) |
| handleType(Set, null) |
| handleIdentifier(foo5, fieldDeclaration) |
| beginFieldInitializer(=) |
| handleIdentifier(Set, expression) |
| handleNoTypeArguments(() |
| beginArguments(() |
| endArguments(0, (, )) |
| handleSend(Set, ;) |
| endFieldInitializer(=, ;) |
| endClassFields(null, null, null, null, null, final, 1, final, ;) |
| endMember() |
| beginMetadataStar(final) |
| endMetadataStar(0) |
| beginMember() |
| beginFields(DeclarationKind.Class, null, null, null, null, null, final, ;) |
| handleIdentifier(Set, typeReference) |
| beginTypeArguments(<) |
| handleIdentifier(Undefined, typeReference) |
| handleNoTypeArguments(>) |
| handleType(Undefined, null) |
| endTypeArguments(1, <, >) |
| handleType(Set, null) |
| handleIdentifier(foo6, fieldDeclaration) |
| beginFieldInitializer(=) |
| handleRecoverableError(Message[LiteralWithClass, A set literal can't be prefixed by 'Set'., Try removing 'Set', {string: set, lexeme: Set}], Set, Set) |
| beginTypeArguments(<) |
| handleIdentifier(List, typeReference) |
| beginTypeArguments(<) |
| handleIdentifier(int, typeReference) |
| handleNoTypeArguments(>) |
| handleType(int, null) |
| endTypeArguments(1, <, >) |
| handleType(List, null) |
| endTypeArguments(1, <, >) |
| handleLiteralNull(null) |
| handleLiteralSetOrMap(1, {, null, }, true) |
| endFieldInitializer(=, ;) |
| endClassFields(null, null, null, null, null, final, 1, final, ;) |
| endMember() |
| beginMetadataStar(final) |
| endMetadataStar(0) |
| beginMember() |
| beginFields(DeclarationKind.Class, null, null, null, null, null, final, ;) |
| handleIdentifier(Set, typeReference) |
| beginTypeArguments(<) |
| handleIdentifier(Undefined, typeReference) |
| handleNoTypeArguments(>) |
| handleType(Undefined, null) |
| endTypeArguments(1, <, >) |
| handleType(Set, null) |
| handleIdentifier(foo7, fieldDeclaration) |
| beginFieldInitializer(=) |
| handleRecoverableError(Message[LiteralWithClass, A set literal can't be prefixed by 'Set'., Try removing 'Set', {string: set, lexeme: Set}], Set, Set) |
| handleNoTypeArguments({) |
| handleLiteralNull(null) |
| handleLiteralSetOrMap(1, {, null, }, true) |
| endFieldInitializer(=, ;) |
| endClassFields(null, null, null, null, null, final, 1, final, ;) |
| endMember() |
| beginMetadataStar(final) |
| endMetadataStar(0) |
| beginMember() |
| beginFields(DeclarationKind.Class, null, null, null, null, null, final, ;) |
| handleIdentifier(Set, typeReference) |
| beginTypeArguments(<) |
| handleIdentifier(Undefined, typeReference) |
| handleNoTypeArguments(>) |
| handleType(Undefined, null) |
| endTypeArguments(1, <, >) |
| handleType(Set, null) |
| handleIdentifier(foo8, fieldDeclaration) |
| beginFieldInitializer(=) |
| beginTypeArguments(<) |
| handleIdentifier(List, typeReference) |
| beginTypeArguments(<) |
| handleIdentifier(int, typeReference) |
| handleNoTypeArguments(>) |
| handleType(int, null) |
| endTypeArguments(1, <, >) |
| handleType(List, null) |
| endTypeArguments(1, <, >) |
| handleLiteralNull(null) |
| handleLiteralSetOrMap(1, {, null, }, true) |
| endFieldInitializer(=, ;) |
| endClassFields(null, null, null, null, null, final, 1, final, ;) |
| endMember() |
| beginMetadataStar(final) |
| endMetadataStar(0) |
| beginMember() |
| beginFields(DeclarationKind.Class, null, null, null, null, null, final, ;) |
| handleIdentifier(Set, typeReference) |
| beginTypeArguments(<) |
| handleIdentifier(Undefined, typeReference) |
| handleNoTypeArguments(>) |
| handleType(Undefined, null) |
| endTypeArguments(1, <, >) |
| handleType(Set, null) |
| handleIdentifier(foo9, fieldDeclaration) |
| beginFieldInitializer(=) |
| handleNoTypeArguments({) |
| handleLiteralNull(null) |
| handleLiteralSetOrMap(1, {, null, }, true) |
| endFieldInitializer(=, ;) |
| endClassFields(null, null, null, null, null, final, 1, final, ;) |
| endMember() |
| endClassOrMixinOrExtensionBody(DeclarationKind.Class, 9, {, }) |
| endClassDeclaration(class, }) |
| endTopLevelDeclaration() |
| endCompilationUnit(1, ) |