Skip to content

Type-checker plugins aren't loaded in GHCi 8.6.1

Type-Checker plugins seem to work in GHCi-8.4.3 https://gist.github.com/phadej/f2040eba327a88d3652cda021403f97f

However with GHC-8.6.1

The Glorious Glasgow Haskell Compilation System, version 8.6.0.20180907 76a23314 (which seems to be the last commit in 8.6 branch atm)

the plugins aren't loaded.

% ghci-8.6.1 -fplugin=ThereIsNoPlugin
GHCi, version 8.6.0.20180907: http://www.haskell.org/ghc/  :? for help
Loaded GHCi configuration from /home/ogre/.ghci
λ> 

starts a session without a warning. 8.4.3 however fails:

% ghci-8.4.3 -fplugin=ThereIsNoPlugin
GHCi, version 8.4.3: http://www.haskell.org/ghc/  :? for help
<command line>: Could not find module ‘ThereIsNoPlugin’
Trac metadata
Trac field Value
Version 8.6.1-beta1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Edited by Oleg Grenrus
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information