Skip to content

Unexpected parsing error in shorthand lambda #16220

@DedSec256

Description

@DedSec256
let _ = 1 |> _.ToString()
1 |> _.ToString()

image

.NET 8.0.100-rc.2.23502.2

Metadata

Metadata

Assignees

Labels

Area-Compiler-Syntaxlexfilter, indentation and parsingBugImpact-Low(Internal MS Team use only) Describes an issue with limited impact on existing code.

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions