Skip to content

Allow 'default' declarations within GHCi

GHCi currently doesn't support 'default' declarations, and #4929 (closed) somehow missed it (or perhaps it was intentionally not implemented?)

Nonetheless, the addition turned out to be seemingly straightforward. Patch attached.

Trac metadata
Trac field Value
Version 7.4.2
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information