summaryrefslogtreecommitdiff
path: root/driver/haddock/haddock.c
diff options
context:
space:
mode:
authorRoland Senn <rsx@bluewin.ch>2019-07-18 10:41:44 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-07-21 05:04:17 -0400
commit32be44613fed3fa7bff7190381acbdaa8ea15cfc (patch)
tree5c2c2fcadafb1d26386acba9d8ffe7d5ea7db256 /driver/haddock/haddock.c
parent67ee741bd6a7017a62719c3c25a5447a0b03191e (diff)
downloadhaskell-32be44613fed3fa7bff7190381acbdaa8ea15cfc.tar.gz
Fix #8487: Debugger confuses variables
To display the free variables for a single breakpoint, GHCi pulls out the information from the fields `modBreaks_breakInfo` and `modBreaks_vars` of the `ModBreaks` data structure. For a specific breakpoint this gives 2 lists of types 'Id` (`Var`) and `OccName`. They are used to create the Id's for the free variables and must be kept in sync: If we remove an element from the Names list, then we also must remove the corresponding element from the OccNames list.
Diffstat (limited to 'driver/haddock/haddock.c')
0 files changed, 0 insertions, 0 deletions