Offside rules for accessibility modifier after the '=' in record declarations might need work
Open
Area-Compiler-Syntax
Feature Improvement
- Dominant language
- F#
- Stars
- 4.3k
- Forks
- 876
- Avg merge
- 4d 11h
- Merged PRs (30d)
- 131
Description
These forms compile:
```fsharp
type Foo = private { Bar: int; Baz: int }
type Foo = private {
Bar: int
Baz: int }
// Anything where `private {` is on the same line
```
These do not:
```fsharp
type Foo = private
{ Bar: int
Baz: int }
// Anything where `{ Bar...` is not indented a scope further than `private`
```
These do:
```fsharp
type Foo =
private
{ Bar: int
Baz: int }
type Foo = private
{ Bar: int
Baz: int }
```
Contributor guide
Assessment
This issue has not been assessed yet.