DeferErrors implies DeferTypedHoles in GHC >= 7.10
The Opt_DeferErrors flag should imply Opt_DeferTypedHoles. The proper API for setting these flags that implements such implications is unfortunately not exposed by GHC.
This commit is contained in:
@@ -296,7 +296,7 @@ setDeferTypeErrors = id
|
||||
#endif
|
||||
|
||||
setDeferTypedHoles :: DynFlags -> DynFlags
|
||||
#if __GLASGOW_HASKELL__ >= 708
|
||||
#if __GLASGOW_HASKELL__ >= 710
|
||||
setDeferTypedHoles dflag = gopt_set dflag Opt_DeferTypedHoles
|
||||
#else
|
||||
setDeferTypedHoles = id
|
||||
|
||||
Reference in New Issue
Block a user