Skip to content

Fix #10857: GHCi ignores -XMonomorphismRestriction and -XNoExtendedDefaultRules command line flags

Roland Senn requested to merge RolandSenn/ghc:T10857 into master

In GHCi, instead of just setting unconditionally the extension ExtendedDefaultRules ON and the MonomorphismRestriction OFF, we first check, whether these extensions were not set on the command line.

Note this is a copy of Phab:D5554.

Merge request reports