e30f60791a
Change-Id: Ic4bacffab3fdd9d23bea9b1ecd0f2cfdecb82e2e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/399060 Reviewed-by: Johnni Winther <johnniwinther@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Jens Johansen <jensj@google.com>
88 lines
3.8 KiB
Plaintext
88 lines
3.8 KiB
Plaintext
Problems reported:
|
|
|
|
parser/patterns/relational_containingRelationalExpression_equality:3:15: Expected ':' before this.
|
|
case == 1 > 0:
|
|
^
|
|
|
|
parser/patterns/relational_containingRelationalExpression_equality:3:15: Expected an identifier, but got '>'.
|
|
case == 1 > 0:
|
|
^
|
|
|
|
parser/patterns/relational_containingRelationalExpression_equality:3:17: Expected ';' after this.
|
|
case == 1 > 0:
|
|
^
|
|
|
|
parser/patterns/relational_containingRelationalExpression_equality:3:18: Expected an identifier, but got ':'.
|
|
case == 1 > 0:
|
|
^
|
|
|
|
parser/patterns/relational_containingRelationalExpression_equality:3:17: Expected ';' after this.
|
|
case == 1 > 0:
|
|
^
|
|
|
|
parser/patterns/relational_containingRelationalExpression_equality:3:18: Unexpected token ':'.
|
|
case == 1 > 0:
|
|
^
|
|
|
|
beginCompilationUnit(void)
|
|
beginMetadataStar(void)
|
|
endMetadataStar(0)
|
|
beginTopLevelMember(void)
|
|
beginTopLevelMethod(, null, null)
|
|
handleVoidKeyword(void)
|
|
handleIdentifier(f, topLevelFunctionDeclaration)
|
|
handleNoTypeVariables(()
|
|
beginFormalParameters((, MemberKind.TopLevelMethod)
|
|
beginMetadataStar(x)
|
|
endMetadataStar(0)
|
|
beginFormalParameter(x, MemberKind.TopLevelMethod, null, null, null)
|
|
handleNoType(()
|
|
handleIdentifier(x, formalParameterDeclaration)
|
|
handleFormalParameterWithoutValue())
|
|
endFormalParameter(null, null, null, x, null, null, FormalParameterKind.requiredPositional, MemberKind.TopLevelMethod)
|
|
endFormalParameters(1, (, ), MemberKind.TopLevelMethod)
|
|
handleAsyncModifier(null, null)
|
|
beginBlockFunctionBody({)
|
|
beginSwitchStatement(switch)
|
|
handleIdentifier(x, expression)
|
|
handleNoTypeArguments())
|
|
handleNoArguments())
|
|
handleSend(x, x)
|
|
handleParenthesizedCondition((, null, null)
|
|
beginSwitchBlock({)
|
|
beginCaseExpression(case)
|
|
beginPattern(case)
|
|
handleLiteralInt(1)
|
|
handleRelationalPattern(==)
|
|
endPattern(1)
|
|
handleSwitchCaseNoWhenClause(1)
|
|
handleRecoverableError(Message[ExpectedButGot, Expected ':' before this., null, {string: :}], >, >)
|
|
endCaseExpression(case, null, :)
|
|
beginSwitchCase(0, 1, case)
|
|
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '>'., Try inserting an identifier before '>'., {lexeme: >}], >, >)
|
|
handleIdentifier(, expression)
|
|
handleNoTypeArguments(>)
|
|
handleNoArguments(>)
|
|
handleSend(, )
|
|
beginBinaryExpression(>)
|
|
handleLiteralInt(0)
|
|
endBinaryExpression(>, 0)
|
|
handleRecoverableError(Message[ExpectedAfterButGot, Expected ';' after this., null, {string: ;}], 0, 0)
|
|
handleExpressionStatement(>, ;)
|
|
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got ':'., Try inserting an identifier before ':'., {lexeme: :}], :, :)
|
|
handleIdentifier(, expression)
|
|
handleNoTypeArguments(:)
|
|
handleNoArguments(:)
|
|
handleSend(, )
|
|
handleRecoverableError(Message[ExpectedAfterButGot, Expected ';' after this., null, {string: ;}], 0, 0)
|
|
handleExpressionStatement(:, ;)
|
|
handleRecoverableError(Message[UnexpectedToken, Unexpected token ':'., null, {lexeme: :}], :, :)
|
|
handleBreakStatement(false, break, ;)
|
|
endSwitchCase(0, 1, null, null, 3, case, ;)
|
|
endSwitchBlock(1, {, })
|
|
endSwitchStatement(switch, })
|
|
endBlockFunctionBody(1, {, })
|
|
endTopLevelMethod(void, null, })
|
|
endTopLevelDeclaration(})
|
|
endCompilationUnit(1, )
|