Added a flag to warn when the monomorphism restriction is encountered

This commit is contained in:
Neil Brown 2008-01-26 20:33:33 +00:00
parent 741a01de5a
commit 16d4320909

View File

@ -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