static pointer in ghci
$ ghci -fobject-code -ignore-dot-ghci -XStaticPointers
GHCi, version 8.1.20160428: http://www.haskell.org/ghc/ :? for help
Prelude> a = static id
Prelude> a
<interactive>:2:1: error: Variable not in scope: a
Prelude>
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |