Skip to content

Commit

Permalink
Add field names: whenExpr to Clause, isMutable to Field (#6308)
Browse files Browse the repository at this point in the history
  • Loading branch information
auduchinok authored and baronfel committed Mar 22, 2019
1 parent 3d186db commit 5d44ce1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fsharp/ast.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ and
and
[<NoEquality; NoComparison>]
SynMatchClause =
| Clause of SynPat * SynExpr option * SynExpr * range:range * SequencePointInfoForTarget
| Clause of SynPat * whenExpr: SynExpr option * SynExpr * range:range * SequencePointInfoForTarget

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

and
[<NoEquality; NoComparison>]
Expand Down

0 comments on commit 5d44ce1

Please sign in to comment.