Commit 8392ba25 authored by Simon Marlow's avatar Simon Marlow
Browse files

Add -XNondecreasingIndentation to -XHaskell98 for backwards compatibility.

The final straw was when I learned today that Happy broke.
parent 71d6a2da
...@@ -806,7 +806,14 @@ languageExtensions (Just Haskell98) ...@@ -806,7 +806,14 @@ languageExtensions (Just Haskell98)
= [Opt_ImplicitPrelude, = [Opt_ImplicitPrelude,
Opt_MonomorphismRestriction, Opt_MonomorphismRestriction,
Opt_NPlusKPatterns, Opt_NPlusKPatterns,
Opt_DatatypeContexts] Opt_DatatypeContexts,
-- strictly speaking non-standard, but we always had this
-- on implicitly before the option was added in 7.1, and
-- turning it off breaks code, so we're keeping it on for
-- backwards compatibility. Cabal uses -XHaskell98 by
-- default unless you specify another language.
languageExtensions (Just Haskell2010) languageExtensions (Just Haskell2010)
= [Opt_ImplicitPrelude, = [Opt_ImplicitPrelude,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment