Skip to content
Snippets Groups Projects
Commit b93c6351 authored by alexbiehl-gc's avatar alexbiehl-gc Committed by Alex Biehl
Browse files

Abstract Monad for interface creation

I found that when running as a plugin the lookupName function (which
runs in Ghc monad) does not work correctly from the
typeCheckResultAction hook.

Instead, we abstracted the monad used when creating interfaces, so
that access to GHC session specific parts is explicit and so that the
TcM can provide their (correct) implementation of lookupName.
parent f4672fa8
No related branches found
No related tags found
No related merge requests found
Showing
with 223 additions and 312 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment