summaryrefslogtreecommitdiff
path: root/compiler/codeGen/CodeGen
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2016-06-23 08:47:31 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2016-06-23 09:22:53 +0100
commit3e0af469c97d34bea92032d54d155afc65bd4b20 (patch)
tree63548506546b50bf1af78d82ba92340d77d42510 /compiler/codeGen/CodeGen
parent210a2e122ce3b7c56c780e4541b9f222abe7d2f7 (diff)
downloadhaskell-3e0af469c97d34bea92032d54d155afc65bd4b20.tar.gz
Give lookupGRE_Name a better API
lookupGRE_Name should return either zero or one GREs, never several. This is a consequence of INVARIANT 1 on GlobalRdrEnv. So it's better if it returns a Maybe; the panic on multiple results is put in one place, instead of being scattered or ignored. Just refactoring, no change in behaviour
Diffstat (limited to 'compiler/codeGen/CodeGen')
0 files changed, 0 insertions, 0 deletions