Skip to content

Commit 5d44ce1

Browse files
auduchinokbaronfel
authored andcommitted
Add field names: whenExpr to Clause, isMutable to Field (#6308)
1 parent 3d186db commit 5d44ce1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fsharp/ast.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ and
11471147
and
11481148
[<NoEquality; NoComparison>]
11491149
SynMatchClause =
1150-
| Clause of SynPat * SynExpr option * SynExpr * range:range * SequencePointInfoForTarget
1150+
| Clause of SynPat * whenExpr: SynExpr option * SynExpr * range:range * SequencePointInfoForTarget
11511151

11521152
member this.RangeOfGuardAndRhs =
11531153
match this with
@@ -1395,7 +1395,7 @@ and
13951395
[<NoEquality; NoComparison>]
13961396
/// The untyped, unchecked syntax tree for a field declaration in a record or class
13971397
SynField =
1398-
| Field of attrs:SynAttributes * isStatic:bool * Ident option * SynType * bool * xmlDoc:PreXmlDoc * accessibility:SynAccess option * range:range
1398+
| Field of attrs:SynAttributes * isStatic:bool * Ident option * SynType * isMutable: bool * xmlDoc:PreXmlDoc * accessibility:SynAccess option * range:range
13991399

14001400
and
14011401
[<NoEquality; NoComparison>]

0 commit comments

Comments
 (0)