Confusing sequence parsing error
Open
Area-Diagnostics
Feature Request
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 131
Description
```fsharp
seq {
yield 123
123
}
```
```
scratch_29.fsx(2,11): error FS0003: This value is not a function and cannot be applied.
```
The code above doesn't make any sense but it shows how something that looks like a sequence is parsed as an application instead, and it seems confusing.
It seems similar to https://github.com/dotnet/fsharp/issues/9762.
Contributor guide
Assessment
This issue has not been assessed yet.