|
| 1 | +Problems reported: |
| 2 | + |
| 3 | +parser/dot_shorthands/syntax:4:13: Expected an identifier, but got '.'. |
| 4 | + Color c = .red; |
| 5 | + ^ |
| 6 | + |
| 7 | +beginCompilationUnit(enum) |
| 8 | + beginMetadataStar(enum) |
| 9 | + endMetadataStar(0) |
| 10 | + beginUncategorizedTopLevelDeclaration(enum) |
| 11 | + handleIdentifier(Color, enumDeclaration) |
| 12 | + beginEnum(enum) |
| 13 | + handleNoTypeVariables({) |
| 14 | + handleEnumNoWithClause() |
| 15 | + handleImplements(null, 0) |
| 16 | + handleEnumHeader(null, enum, {) |
| 17 | + beginMetadataStar(red) |
| 18 | + endMetadataStar(0) |
| 19 | + handleIdentifier(red, enumValueDeclaration) |
| 20 | + handleNoTypeNameInConstructorReference(,) |
| 21 | + beginConstructorReference(red) |
| 22 | + handleNoTypeArguments(,) |
| 23 | + handleNoConstructorReferenceContinuationAfterTypeArguments(red) |
| 24 | + endConstructorReference(red, null, red, ConstructorReferenceContext.Const) |
| 25 | + handleNoArguments(red) |
| 26 | + handleEnumElement({, null) |
| 27 | + beginMetadataStar(blue) |
| 28 | + endMetadataStar(0) |
| 29 | + handleIdentifier(blue, enumValueDeclaration) |
| 30 | + handleNoTypeNameInConstructorReference(,) |
| 31 | + beginConstructorReference(blue) |
| 32 | + handleNoTypeArguments(,) |
| 33 | + handleNoConstructorReferenceContinuationAfterTypeArguments(blue) |
| 34 | + endConstructorReference(blue, null, blue, ConstructorReferenceContext.Const) |
| 35 | + handleNoArguments(blue) |
| 36 | + handleEnumElement(,, null) |
| 37 | + beginMetadataStar(green) |
| 38 | + endMetadataStar(0) |
| 39 | + handleIdentifier(green, enumValueDeclaration) |
| 40 | + handleNoTypeNameInConstructorReference(}) |
| 41 | + beginConstructorReference(green) |
| 42 | + handleNoTypeArguments(}) |
| 43 | + handleNoConstructorReferenceContinuationAfterTypeArguments(green) |
| 44 | + endConstructorReference(green, null, green, ConstructorReferenceContext.Const) |
| 45 | + handleNoArguments(green) |
| 46 | + handleEnumElement(,, null) |
| 47 | + handleEnumElements(}, 3) |
| 48 | + endEnum(enum, enum, {, 0, }) |
| 49 | + endTopLevelDeclaration(}) |
| 50 | + beginMetadataStar(void) |
| 51 | + endMetadataStar(0) |
| 52 | + beginTopLevelMember(void) |
| 53 | + beginTopLevelMethod(}, null, null) |
| 54 | + handleVoidKeyword(void) |
| 55 | + handleIdentifier(main, topLevelFunctionDeclaration) |
| 56 | + handleNoTypeVariables(() |
| 57 | + beginFormalParameters((, MemberKind.TopLevelMethod) |
| 58 | + endFormalParameters(0, (, ), MemberKind.TopLevelMethod) |
| 59 | + handleAsyncModifier(null, null) |
| 60 | + beginBlockFunctionBody({) |
| 61 | + beginMetadataStar(Color) |
| 62 | + endMetadataStar(0) |
| 63 | + handleIdentifier(Color, typeReference) |
| 64 | + handleNoTypeArguments(c) |
| 65 | + handleType(Color, null) |
| 66 | + beginVariablesDeclaration(c, null, null) |
| 67 | + handleIdentifier(c, localVariableDeclaration) |
| 68 | + beginInitializedIdentifier(c) |
| 69 | + beginVariableInitializer(=) |
| 70 | + handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '.'., Try inserting an identifier before '.'., {lexeme: .}], ., .) |
| 71 | + handleIdentifier(, expression) |
| 72 | + handleNoTypeArguments(.) |
| 73 | + handleNoArguments(.) |
| 74 | + handleSend(, ) |
| 75 | + handleIdentifier(red, expressionContinuation) |
| 76 | + handleNoTypeArguments(;) |
| 77 | + handleNoArguments(;) |
| 78 | + handleSend(red, red) |
| 79 | + handleDotShorthandHead(.) |
| 80 | + handleDotShorthandContext(.) |
| 81 | + endVariableInitializer(=) |
| 82 | + endInitializedIdentifier(c) |
| 83 | + endVariablesDeclaration(1, ;) |
| 84 | + endBlockFunctionBody(1, {, }) |
| 85 | + endTopLevelMethod(void, null, }) |
| 86 | + endTopLevelDeclaration(}) |
| 87 | +endCompilationUnit(2, ) |
0 commit comments