Added a flag to warn when the monomorphism restriction is encountered
This commit is contained in:
parent
741a01de5a
commit
16d4320909
|
@ -6,7 +6,7 @@ GHC_OPTS = \
|
|||
-icommon -itransformations -ifrontends -ibackends
|
||||
|
||||
if GHC68
|
||||
GHC_OPTS += -XUndecidableInstances -fwarn-tabs
|
||||
GHC_OPTS += -XUndecidableInstances -fwarn-tabs -fwarn-monomorphism-restriction
|
||||
else
|
||||
GHC_OPTS += -fallow-undecidable-instances
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user