Commit 7a1b895f authored by Ziyang Liu's avatar Ziyang Liu

Update wired in

parent 436695f2
......@@ -44,7 +44,7 @@ The point about known-key things is that GHC knows its *name*, but not its *defi
## Initialisation
When reading an interface file, GHC might come across "GHC.Base.Eq", which is the name of the `Eq` class. How does it match up this occurrence in the interface file with `eqClassName` defined in `PrelNames`? Because the global name cache maintained by the renamer is initialised with all the known-key names. This is done by the (hard-to-find) function `HscMain.newHscEnv`:
When reading an interface file, GHC might come across "GHC.Base.Eq", which is the name of the `Eq` class. How does it match up this occurrence in the interface file with `eqClassName` defined in `GHC.Builtin.Names`? Because the global name cache maintained by the renamer is initialised with all the known-key names. This is done by the (hard-to-find) function `Main.newHscEnv`:
```wiki
newHscEnv :: DynFlags -> IO HscEnv
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment