blob: f733ac0e55a47b2a19ecb11d9b3587b307ab64ac [file] [log] [blame]
Problems reported:
parser/nnbd/issue_39776_prime5:1:4: Unexpected token '!'.
foo!() => 42;
^
parser/nnbd/issue_39776_prime5:2:4: Unexpected token '!'.
bar!<T>() => 42;
^
beginCompilationUnit(foo)
beginMetadataStar(foo)
endMetadataStar(0)
beginTopLevelMember(foo)
beginTopLevelMethod(, null)
handleNoType()
handleIdentifier(foo, topLevelFunctionDeclaration)
handleRecoverableError(Message[UnexpectedToken, Unexpected token '!'., null, {lexeme: !}], !, !)
handleNoTypeVariables(()
beginFormalParameters((, MemberKind.TopLevelMethod)
endFormalParameters(0, (, ), MemberKind.TopLevelMethod)
handleAsyncModifier(null, null)
handleLiteralInt(42)
handleExpressionFunctionBody(=>, ;)
endTopLevelMethod(foo, null, ;)
endTopLevelDeclaration(bar)
beginMetadataStar(bar)
endMetadataStar(0)
beginTopLevelMember(bar)
beginTopLevelMethod(;, null)
handleNoType(;)
handleIdentifier(bar, topLevelFunctionDeclaration)
handleRecoverableError(Message[UnexpectedToken, Unexpected token '!'., null, {lexeme: !}], !, !)
beginTypeVariables(<)
beginMetadataStar(T)
endMetadataStar(0)
handleIdentifier(T, typeVariableDeclaration)
beginTypeVariable(T)
handleTypeVariablesDefined(T, 1)
handleNoType(T)
endTypeVariable(>, 0, null, null)
endTypeVariables(<, >)
beginFormalParameters((, MemberKind.TopLevelMethod)
endFormalParameters(0, (, ), MemberKind.TopLevelMethod)
handleAsyncModifier(null, null)
handleLiteralInt(42)
handleExpressionFunctionBody(=>, ;)
endTopLevelMethod(bar, null, ;)
endTopLevelDeclaration()
endCompilationUnit(2, )