Skip to content

Change the meaning of -fextended-default-rules

Currently -fextended-default-rules applies to source code modules. GHCi has the extended defaulting behaviour by default for expressions typed at the prompt, and there's no way to change that.

We propose the following change: extended defaulting would only ever apply to expressions typed at the GHCi prompt, and it would be disabled with -fno-extended-default-rules (on by default).

See also #1200 (closed), where -fextended-default-rules was introduced.

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