Skip to content

Commit

Permalink
Enable breakpoints in copy expression of record copy-and-update
Browse files Browse the repository at this point in the history
closes #608
  • Loading branch information
dedale authored and latkin committed Sep 3, 2015
1 parent 90c4e66 commit 02ff9c3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/fsharp/vs/ServiceUntypedParse.fs
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,10 @@ type internal UntypedParseInfo(parsed:UntypedParseResults) =
| SynExpr.Tuple (es,_,_) ->
yield! walkExprs es

| SynExpr.Record (_,_,fs,_) ->

| SynExpr.Record (_,copyExprOpt,fs,_) ->
match copyExprOpt with
| Some (e,_) -> yield! walkExpr true e
| None -> ()
yield! walkExprs (List.map (fun (_, v, _) -> v) fs |> List.choose id)

| SynExpr.ObjExpr (_,_,bs,is,_,_) ->
Expand Down

0 comments on commit 02ff9c3

Please sign in to comment.