summaryrefslogtreecommitdiff
path: root/hadrian/src
diff options
context:
space:
mode:
authorRoland Senn <rsx@bluewin.ch>2019-12-17 18:42:05 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-02-18 20:14:42 -0500
commitb4a8ce525fce56eca18358820c0ec35fec8982de (patch)
tree849fcd89485abac806250061d37d0fbe8f5f7658 /hadrian/src
parentee1e5342f612c8b06ac910cd698558ade7a1a887 (diff)
downloadhaskell-b4a8ce525fce56eca18358820c0ec35fec8982de.tar.gz
If a :reload finds syntax errors in the module graph, remove the loaded modules. (Fixes #17549)
The processing in `compiler/main/GhcMake.hs` computes the ModuleGraph. If it finds errors in the module header or in the import specifications, then the new module graph is incomplete and should not be used. The code before #17549 just reported the errors and left the old ModuleGraph in place. The new code of this MR replaces the old ModuleGraph with an empty one.
Diffstat (limited to 'hadrian/src')
0 files changed, 0 insertions, 0 deletions