|
| 1 | +Problems reported: |
| 2 | + |
| 3 | +parser/error_recovery/comment_on_non_ascii_identifier:4:7: The non-ASCII character 'æ' (U+00E6) can't be used in identifiers, only in strings and comments. |
| 4 | + int æFoo = 42; |
| 5 | + ^ |
| 6 | + |
| 7 | +parser/error_recovery/comment_on_non_ascii_identifier:6:10: The non-ASCII character 'Æ' (U+00C6) can't be used in identifiers, only in strings and comments. |
| 8 | + int fooÆ = 42; |
| 9 | + ^ |
| 10 | + |
| 11 | +parser/error_recovery/comment_on_non_ascii_identifier:9:23: The non-ASCII character 'æ' (U+00E6) can't be used in identifiers, only in strings and comments. |
| 12 | + print(/* comment */ æFoo); |
| 13 | + ^ |
| 14 | + |
| 15 | +parser/error_recovery/comment_on_non_ascii_identifier:10:26: The non-ASCII character 'Æ' (U+00C6) can't be used in identifiers, only in strings and comments. |
| 16 | + print(/* comment */ fooÆ); |
| 17 | + ^ |
| 18 | + |
| 19 | +beginCompilationUnit(main) |
| 20 | + beginMetadataStar(main) |
| 21 | + endMetadataStar(0) |
| 22 | + beginTopLevelMember(main) |
| 23 | + beginTopLevelMethod(NonAsciiIdentifierToken(198), null) |
| 24 | + handleNoType(NonAsciiIdentifierToken(198)) |
| 25 | + handleIdentifier(main, topLevelFunctionDeclaration) |
| 26 | + handleNoTypeVariables(() |
| 27 | + beginFormalParameters((, MemberKind.TopLevelMethod) |
| 28 | + endFormalParameters(0, (, ), MemberKind.TopLevelMethod) |
| 29 | + handleAsyncModifier(null, null) |
| 30 | + beginBlockFunctionBody({) |
| 31 | + beginMetadataStar(int) |
| 32 | + endMetadataStar(0) |
| 33 | + handleIdentifier(int, typeReference) |
| 34 | + handleNoTypeArguments(æFoo) |
| 35 | + handleType(int, null) |
| 36 | + beginVariablesDeclaration(æFoo, null, null) |
| 37 | + handleIdentifier(æFoo, localVariableDeclaration) |
| 38 | + beginInitializedIdentifier(æFoo) |
| 39 | + beginVariableInitializer(=) |
| 40 | + handleLiteralInt(42) |
| 41 | + endVariableInitializer(=) |
| 42 | + endInitializedIdentifier(æFoo) |
| 43 | + endVariablesDeclaration(1, ;) |
| 44 | + beginMetadataStar(int) |
| 45 | + endMetadataStar(0) |
| 46 | + handleIdentifier(int, typeReference) |
| 47 | + handleNoTypeArguments(fooÆ) |
| 48 | + handleType(int, null) |
| 49 | + beginVariablesDeclaration(fooÆ, null, null) |
| 50 | + handleIdentifier(fooÆ, localVariableDeclaration) |
| 51 | + beginInitializedIdentifier(fooÆ) |
| 52 | + beginVariableInitializer(=) |
| 53 | + handleLiteralInt(42) |
| 54 | + endVariableInitializer(=) |
| 55 | + endInitializedIdentifier(fooÆ) |
| 56 | + endVariablesDeclaration(1, ;) |
| 57 | + beginMetadataStar(int) |
| 58 | + endMetadataStar(0) |
| 59 | + handleIdentifier(int, typeReference) |
| 60 | + handleNoTypeArguments(foo) |
| 61 | + handleType(int, null) |
| 62 | + beginVariablesDeclaration(foo, null, null) |
| 63 | + handleIdentifier(foo, localVariableDeclaration) |
| 64 | + beginInitializedIdentifier(foo) |
| 65 | + beginVariableInitializer(=) |
| 66 | + handleLiteralInt(42) |
| 67 | + endVariableInitializer(=) |
| 68 | + endInitializedIdentifier(foo) |
| 69 | + endVariablesDeclaration(1, ;) |
| 70 | + handleIdentifier(print, expression) |
| 71 | + handleNoTypeArguments(() |
| 72 | + beginArguments(() |
| 73 | + handleIdentifier(æFoo, expression) |
| 74 | + handleNoTypeArguments()) |
| 75 | + handleNoArguments()) |
| 76 | + handleSend(æFoo, )) |
| 77 | + endArguments(1, (, )) |
| 78 | + handleSend(print, ;) |
| 79 | + handleExpressionStatement(;) |
| 80 | + handleIdentifier(print, expression) |
| 81 | + handleNoTypeArguments(() |
| 82 | + beginArguments(() |
| 83 | + handleIdentifier(fooÆ, expression) |
| 84 | + handleNoTypeArguments()) |
| 85 | + handleNoArguments()) |
| 86 | + handleSend(fooÆ, )) |
| 87 | + endArguments(1, (, )) |
| 88 | + handleSend(print, ;) |
| 89 | + handleExpressionStatement(;) |
| 90 | + handleIdentifier(print, expression) |
| 91 | + handleNoTypeArguments(() |
| 92 | + beginArguments(() |
| 93 | + handleIdentifier(foo, expression) |
| 94 | + handleNoTypeArguments()) |
| 95 | + handleNoArguments()) |
| 96 | + handleSend(foo, )) |
| 97 | + endArguments(1, (, )) |
| 98 | + handleSend(print, ;) |
| 99 | + handleExpressionStatement(;) |
| 100 | + endBlockFunctionBody(6, {, }) |
| 101 | + endTopLevelMethod(main, null, }) |
| 102 | + endTopLevelDeclaration() |
| 103 | + handleErrorToken(NonAsciiIdentifierToken(230)) |
| 104 | + handleRecoverableError(Message[NonAsciiIdentifier, The non-ASCII character 'æ' (U+00E6) can't be used in identifiers, only in strings and comments., Try using an US-ASCII letter, a digit, '_' (an underscore), or '$' (a dollar sign)., {character: æ, codePoint: 230}], NonAsciiIdentifierToken(230), NonAsciiIdentifierToken(230)) |
| 105 | + handleErrorToken(NonAsciiIdentifierToken(198)) |
| 106 | + handleRecoverableError(Message[NonAsciiIdentifier, The non-ASCII character 'Æ' (U+00C6) can't be used in identifiers, only in strings and comments., Try using an US-ASCII letter, a digit, '_' (an underscore), or '$' (a dollar sign)., {character: Æ, codePoint: 198}], NonAsciiIdentifierToken(198), NonAsciiIdentifierToken(198)) |
| 107 | + handleErrorToken(NonAsciiIdentifierToken(230)) |
| 108 | + handleRecoverableError(Message[NonAsciiIdentifier, The non-ASCII character 'æ' (U+00E6) can't be used in identifiers, only in strings and comments., Try using an US-ASCII letter, a digit, '_' (an underscore), or '$' (a dollar sign)., {character: æ, codePoint: 230}], NonAsciiIdentifierToken(230), NonAsciiIdentifierToken(230)) |
| 109 | + handleErrorToken(NonAsciiIdentifierToken(198)) |
| 110 | + handleRecoverableError(Message[NonAsciiIdentifier, The non-ASCII character 'Æ' (U+00C6) can't be used in identifiers, only in strings and comments., Try using an US-ASCII letter, a digit, '_' (an underscore), or '$' (a dollar sign)., {character: Æ, codePoint: 198}], NonAsciiIdentifierToken(198), NonAsciiIdentifierToken(198)) |
| 111 | +endCompilationUnit(1, ) |
0 commit comments