emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/haskell-mode d0e8ca71d2 19/24: Add GHC 9.2.2 extensions an


From: ELPA Syncer
Subject: [nongnu] elpa/haskell-mode d0e8ca71d2 19/24: Add GHC 9.2.2 extensions and options
Date: Tue, 1 Nov 2022 22:58:56 -0400 (EDT)

branch: elpa/haskell-mode
commit d0e8ca71d2ffd405ebec2fc331d464cd1c7d4af3
Author: cydparser <cydparser@gmail.com>
Commit: cydparser <cydparser@gmail.com>

    Add GHC 9.2.2 extensions and options
---
 haskell-ghc-support.el | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)

diff --git a/haskell-ghc-support.el b/haskell-ghc-support.el
index 3eb84ce17b..010a788ef1 100644
--- a/haskell-ghc-support.el
+++ b/haskell-ghc-support.el
@@ -64,12 +64,14 @@
     "ExplicitForAll"
     "ExplicitNamespaces"
     "ExtendedDefaultRules"
+    "FieldSelectors"
     "FlexibleContexts"
     "FlexibleInstances"
     "ForeignFunctionInterface"
     "FunctionalDependencies"
     "GADTSyntax"
     "GADTs"
+    "GHC2021"
     "GHCForeignImportPrim"
     "GeneralisedNewtypeDeriving"
     "GeneralizedNewtypeDeriving"
@@ -138,6 +140,7 @@
     "NoExplicitForAll"
     "NoExplicitNamespaces"
     "NoExtendedDefaultRules"
+    "NoFieldSelectors"
     "NoFlexibleContexts"
     "NoFlexibleInstances"
     "NoForeignFunctionInterface"
@@ -180,6 +183,8 @@
     "NoOverlappingInstances"
     "NoOverloadedLabels"
     "NoOverloadedLists"
+    "NoOverloadedRecordDot"
+    "NoOverloadedRecordUpdate"
     "NoOverloadedStrings"
     "NoPackageImports"
     "NoParallelArrays"
@@ -226,6 +231,7 @@
     "NoUndecidableInstances"
     "NoUndecidableSuperClasses"
     "NoUnicodeSyntax"
+    "NoUnliftedDatatypes"
     "NoUnliftedFFITypes"
     "NoUnliftedNewtypes"
     "NoViewPatterns"
@@ -236,6 +242,8 @@
     "OverlappingInstances"
     "OverloadedLabels"
     "OverloadedLists"
+    "OverloadedRecordDot"
+    "OverloadedRecordUpdate"
     "OverloadedStrings"
     "PackageImports"
     "ParallelArrays"
@@ -284,6 +292,7 @@
     "UndecidableInstances"
     "UndecidableSuperClasses"
     "UnicodeSyntax"
+    "UnliftedDatatypes"
     "UnliftedFFITypes"
     "UnliftedNewtypes"
     "Unsafe"
@@ -329,6 +338,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "--print-tables-next-to-code"
     "--print-target-platform"
     "--print-unregisterised"
+    "--run"
     "--show-iface"
     "--show-options"
     "--show-packages"
@@ -356,6 +366,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wall-missed-specialisations"
     "-Wall-missed-specializations"
     "-Walternative-layout-rule-transitional"
+    "-Wambiguous-fields"
     "-Wamp"
     "-Wauto-orphans"
     "-Wcompat"
@@ -379,6 +390,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Werror=all-missed-specialisations"
     "-Werror=all-missed-specializations"
     "-Werror=alternative-layout-rule-transitional"
+    "-Werror=ambiguous-fields"
     "-Werror=auto-orphans"
     "-Werror=compat"
     "-Werror=compat-unqualified-imports"
@@ -398,6 +410,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Werror=hi-shadowing"
     "-Werror=identities"
     "-Werror=implicit-kind-vars"
+    "-Werror=implicit-lift"
     "-Werror=implicit-prelude"
     "-Werror=inaccessible-code"
     "-Werror=incomplete-patterns"
@@ -416,6 +429,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Werror=missing-fields"
     "-Werror=missing-home-modules"
     "-Werror=missing-import-lists"
+    "-Werror=missing-kind-signatures"
     "-Werror=missing-local-signatures"
     "-Werror=missing-local-sigs"
     "-Werror=missing-methods"
@@ -429,12 +443,15 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Werror=noncanonical-monad-instances"
     "-Werror=noncanonical-monadfail-instances"
     "-Werror=noncanonical-monoid-instances"
+    "-Werror=operator-whitespace"
+    "-Werror=operator-whitespace-ext-conflict"
     "-Werror=orphans"
     "-Werror=overflowed-literals"
     "-Werror=overlapping-patterns"
     "-Werror=partial-fields"
     "-Werror=partial-type-signatures"
     "-Werror=prepositive-qualified-module"
+    "-Werror=redundant-bang-patterns"
     "-Werror=redundant-constraints"
     "-Werror=redundant-record-wildcards"
     "-Werror=safe"
@@ -447,6 +464,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Werror=type-defaults"
     "-Werror=typed-holes"
     "-Werror=unbanged-strict-patterns"
+    "-Werror=unicode-bidirectional-format-characters"
     "-Werror=unrecognised-pragmas"
     "-Werror=unrecognised-warning-flags"
     "-Werror=unsafe"
@@ -470,6 +488,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Whi-shadowing"
     "-Widentities"
     "-Wimplicit-kind-vars"
+    "-Wimplicit-lift"
     "-Wimplicit-prelude"
     "-Winaccessible-code"
     "-Wincomplete-patterns"
@@ -488,6 +507,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wmissing-fields"
     "-Wmissing-home-modules"
     "-Wmissing-import-lists"
+    "-Wmissing-kind-signatures"
     "-Wmissing-local-signatures"
     "-Wmissing-local-sigs"
     "-Wmissing-methods"
@@ -502,6 +522,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wno-all-missed-specialisations"
     "-Wno-all-missed-specializations"
     "-Wno-alternative-layout-rule-transitional"
+    "-Wno-ambiguous-fields"
     "-Wno-amp"
     "-Wno-auto-orphans"
     "-Wno-compat"
@@ -524,6 +545,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wno-error=all-missed-specialisations"
     "-Wno-error=all-missed-specializations"
     "-Wno-error=alternative-layout-rule-transitional"
+    "-Wno-error=ambiguous-fields"
     "-Wno-error=auto-orphans"
     "-Wno-error=compat"
     "-Wno-error=compat-unqualified-imports"
@@ -543,6 +565,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wno-error=hi-shadowing"
     "-Wno-error=identities"
     "-Wno-error=implicit-kind-vars"
+    "-Wno-error=implicit-lift"
     "-Wno-error=implicit-prelude"
     "-Wno-error=inaccessible-code"
     "-Wno-error=incomplete-patterns"
@@ -561,6 +584,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wno-error=missing-fields"
     "-Wno-error=missing-home-modules"
     "-Wno-error=missing-import-lists"
+    "-Wno-error=missing-kind-signatures"
     "-Wno-error=missing-local-signatures"
     "-Wno-error=missing-local-sigs"
     "-Wno-error=missing-methods"
@@ -574,12 +598,15 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wno-error=noncanonical-monad-instances"
     "-Wno-error=noncanonical-monadfail-instances"
     "-Wno-error=noncanonical-monoid-instances"
+    "-Wno-error=operator-whitespace"
+    "-Wno-error=operator-whitespace-ext-conflict"
     "-Wno-error=orphans"
     "-Wno-error=overflowed-literals"
     "-Wno-error=overlapping-patterns"
     "-Wno-error=partial-fields"
     "-Wno-error=partial-type-signatures"
     "-Wno-error=prepositive-qualified-module"
+    "-Wno-error=redundant-bang-patterns"
     "-Wno-error=redundant-constraints"
     "-Wno-error=redundant-record-wildcards"
     "-Wno-error=safe"
@@ -592,6 +619,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wno-error=type-defaults"
     "-Wno-error=typed-holes"
     "-Wno-error=unbanged-strict-patterns"
+    "-Wno-error=unicode-bidirectional-format-characters"
     "-Wno-error=unrecognised-pragmas"
     "-Wno-error=unrecognised-warning-flags"
     "-Wno-error=unsafe"
@@ -615,6 +643,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wno-hi-shadowing"
     "-Wno-identities"
     "-Wno-implicit-kind-vars"
+    "-Wno-implicit-lift"
     "-Wno-implicit-prelude"
     "-Wno-inaccessible-code"
     "-Wno-incomplete-patterns"
@@ -633,6 +662,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wno-missing-fields"
     "-Wno-missing-home-modules"
     "-Wno-missing-import-lists"
+    "-Wno-missing-kind-signatures"
     "-Wno-missing-local-signatures"
     "-Wno-missing-local-sigs"
     "-Wno-missing-methods"
@@ -646,12 +676,15 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wno-noncanonical-monad-instances"
     "-Wno-noncanonical-monadfail-instances"
     "-Wno-noncanonical-monoid-instances"
+    "-Wno-operator-whitespace"
+    "-Wno-operator-whitespace-ext-conflict"
     "-Wno-orphans"
     "-Wno-overflowed-literals"
     "-Wno-overlapping-patterns"
     "-Wno-partial-fields"
     "-Wno-partial-type-signatures"
     "-Wno-prepositive-qualified-module"
+    "-Wno-redundant-bang-patterns"
     "-Wno-redundant-constraints"
     "-Wno-redundant-record-wildcards"
     "-Wno-safe"
@@ -664,6 +697,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wno-type-defaults"
     "-Wno-typed-holes"
     "-Wno-unbanged-strict-patterns"
+    "-Wno-unicode-bidirectional-format-characters"
     "-Wno-unrecognised-pragmas"
     "-Wno-unrecognised-warning-flags"
     "-Wno-unsafe"
@@ -687,12 +721,15 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wnoncanonical-monadfail-instances"
     "-Wnoncanonical-monoid-instances"
     "-Wnot"
+    "-Woperator-whitespace"
+    "-Woperator-whitespace-ext-conflict"
     "-Worphans"
     "-Woverflowed-literals"
     "-Woverlapping-patterns"
     "-Wpartial-fields"
     "-Wpartial-type-signatures"
     "-Wprepositive-qualified-module"
+    "-Wredundant-bang-patterns"
     "-Wredundant-constraints"
     "-Wredundant-record-wildcards"
     "-Wsafe"
@@ -705,6 +742,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wtype-defaults"
     "-Wtyped-holes"
     "-Wunbanged-strict-patterns"
+    "-Wunicode-bidirectional-format-characters"
     "-Wunrecognised-pragmas"
     "-Wunrecognised-warning-flags"
     "-Wunsafe"
@@ -726,6 +764,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wwarn=all-missed-specialisations"
     "-Wwarn=all-missed-specializations"
     "-Wwarn=alternative-layout-rule-transitional"
+    "-Wwarn=ambiguous-fields"
     "-Wwarn=auto-orphans"
     "-Wwarn=compat"
     "-Wwarn=compat-unqualified-imports"
@@ -745,6 +784,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wwarn=hi-shadowing"
     "-Wwarn=identities"
     "-Wwarn=implicit-kind-vars"
+    "-Wwarn=implicit-lift"
     "-Wwarn=implicit-prelude"
     "-Wwarn=inaccessible-code"
     "-Wwarn=incomplete-patterns"
@@ -763,6 +803,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wwarn=missing-fields"
     "-Wwarn=missing-home-modules"
     "-Wwarn=missing-import-lists"
+    "-Wwarn=missing-kind-signatures"
     "-Wwarn=missing-local-signatures"
     "-Wwarn=missing-local-sigs"
     "-Wwarn=missing-methods"
@@ -776,12 +817,15 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wwarn=noncanonical-monad-instances"
     "-Wwarn=noncanonical-monadfail-instances"
     "-Wwarn=noncanonical-monoid-instances"
+    "-Wwarn=operator-whitespace"
+    "-Wwarn=operator-whitespace-ext-conflict"
     "-Wwarn=orphans"
     "-Wwarn=overflowed-literals"
     "-Wwarn=overlapping-patterns"
     "-Wwarn=partial-fields"
     "-Wwarn=partial-type-signatures"
     "-Wwarn=prepositive-qualified-module"
+    "-Wwarn=redundant-bang-patterns"
     "-Wwarn=redundant-constraints"
     "-Wwarn=redundant-record-wildcards"
     "-Wwarn=safe"
@@ -794,6 +838,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-Wwarn=type-defaults"
     "-Wwarn=typed-holes"
     "-Wwarn=unbanged-strict-patterns"
+    "-Wwarn=unicode-bidirectional-format-characters"
     "-Wwarn=unrecognised-pragmas"
     "-Wwarn=unrecognised-warning-flags"
     "-Wwarn=unsafe"
@@ -851,12 +896,14 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-XExplicitForAll"
     "-XExplicitNamespaces"
     "-XExtendedDefaultRules"
+    "-XFieldSelectors"
     "-XFlexibleContexts"
     "-XFlexibleInstances"
     "-XForeignFunctionInterface"
     "-XFunctionalDependencies"
     "-XGADTSyntax"
     "-XGADTs"
+    "-XGHC2021"
     "-XGHCForeignImportPrim"
     "-XGeneralisedNewtypeDeriving"
     "-XGeneralizedNewtypeDeriving"
@@ -926,6 +973,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-XNoExplicitForAll"
     "-XNoExplicitNamespaces"
     "-XNoExtendedDefaultRules"
+    "-XNoFieldSelectors"
     "-XNoFlexibleContexts"
     "-XNoFlexibleInstances"
     "-XNoForeignFunctionInterface"
@@ -969,6 +1017,8 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-XNoOverlappingInstances"
     "-XNoOverloadedLabels"
     "-XNoOverloadedLists"
+    "-XNoOverloadedRecordDot"
+    "-XNoOverloadedRecordUpdate"
     "-XNoOverloadedStrings"
     "-XNoPackageImports"
     "-XNoParallelArrays"
@@ -1015,6 +1065,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-XNoUndecidableInstances"
     "-XNoUndecidableSuperClasses"
     "-XNoUnicodeSyntax"
+    "-XNoUnliftedDatatypes"
     "-XNoUnliftedFFITypes"
     "-XNoUnliftedNewtypes"
     "-XNoViewPatterns"
@@ -1025,6 +1076,8 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-XOverlappingInstances"
     "-XOverloadedLabels"
     "-XOverloadedLists"
+    "-XOverloadedRecordDot"
+    "-XOverloadedRecordUpdate"
     "-XOverloadedStrings"
     "-XPackageImports"
     "-XParallelArrays"
@@ -1073,6 +1126,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-XUndecidableInstances"
     "-XUndecidableSuperClasses"
     "-XUnicodeSyntax"
+    "-XUnliftedDatatypes"
     "-XUnliftedFFITypes"
     "-XUnliftedNewtypes"
     "-XUnsafe"
@@ -1098,6 +1152,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-ddump-asm-regalloc-stages"
     "-ddump-asm-stats"
     "-ddump-bcos"
+    "-ddump-c-backend"
     "-ddump-call-arity"
     "-ddump-cfg-weights"
     "-ddump-cmm"
@@ -1128,6 +1183,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-ddump-ds-preopt"
     "-ddump-ec-trace"
     "-ddump-exitify"
+    "-ddump-faststrings"
     "-ddump-file-prefix"
     "-ddump-foreign"
     "-ddump-hi"
@@ -1162,6 +1218,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-ddump-splices"
     "-ddump-stg"
     "-ddump-stg-final"
+    "-ddump-stg-from-core"
     "-ddump-stg-unarised"
     "-ddump-str-signatures"
     "-ddump-stranal"
@@ -1239,6 +1296,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-dynhisuf"
     "-dynload"
     "-dyno"
+    "-dynohi"
     "-dynosuf"
     "-e"
     "-eventlog"
@@ -1265,10 +1323,12 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-fcase-folding"
     "-fcase-merge"
     "-fcatch-bottoms"
+    "-fcheck-prim-bounds"
     "-fclear-plugins"
     "-fcmm-elim-common-blocks"
     "-fcmm-sink"
     "-fcmm-static-pred"
+    "-fcompact-unwind"
     "-fconstraint-solver-iterations"
     "-fcontext-stack"
     "-fcpr-anal"
@@ -1286,6 +1346,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-fdiagnostics-show-caret"
     "-fdicts-cheap"
     "-fdicts-strict"
+    "-fdistinct-constructor-tables"
     "-fdmd-tx-dict-sel"
     "-fdo-eta-reduction"
     "-fdo-lambda-eta-expansion"
@@ -1297,10 +1358,12 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-fexcess-precision"
     "-fexitification"
     "-fexpose-all-unfoldings"
+    "-fexpose-internal-symbols"
     "-fext-core"
     "-fextended-default-rules"
     "-fexternal-dynamic-refs"
     "-fexternal-interpreter"
+    "-ffamily-application-cache"
     "-fffi"
     "-ffi"
     "-fflat-cache"
@@ -1327,6 +1390,9 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-fignore-optim-changes"
     "-fimplicit-params"
     "-fimplicit-prelude"
+    "-finfo-table-map"
+    "-finline-generics"
+    "-finline-generics-aggressively"
     "-firrefutable-tuples"
     "-fkeep-cafs"
     "-fkeep-going"
@@ -1372,6 +1438,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-fno-case-folding"
     "-fno-case-merge"
     "-fno-catch-bottoms"
+    "-fno-check-prim-bounds"
     "-fno-cmm-elim-common-blocks"
     "-fno-cmm-sink"
     "-fno-cmm-static-pred"
@@ -1398,10 +1465,12 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-fno-excess-precision"
     "-fno-exitification"
     "-fno-expose-all-unfoldings"
+    "-fno-expose-internal-symbols"
     "-fno-ext-core"
     "-fno-extended-default-rules"
     "-fno-external-dynamic-refs"
     "-fno-external-interpreter"
+    "-fno-family-application-cache"
     "-fno-ffi"
     "-fno-fi"
     "-fno-flat-cache"
@@ -1424,6 +1493,8 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-fno-ignore-optim-changes"
     "-fno-implicit-params"
     "-fno-implicit-prelude"
+    "-fno-inline-generics"
+    "-fno-inline-generics-aggressively"
     "-fno-irrefutable-tuples"
     "-fno-keep-cafs"
     "-fno-keep-going"
@@ -1592,6 +1663,7 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-fprof-auto-exported"
     "-fprof-auto-top"
     "-fprof-cafs"
+    "-fprof-callers"
     "-fprof-count-entries"
     "-framework"
     "-framework-path"
@@ -1646,6 +1718,8 @@ This list should be updated by running 
`haskell-update-ghc-support'.")
     "-funbox-small-strict-fields"
     "-funbox-strict-fields"
     "-funclutter-valid-hole-fits"
+    "-funfolding-case-scaling"
+    "-funfolding-case-threshold"
     "-funfolding-creation-threshold"
     "-funfolding-dict-discount"
     "-funfolding-fun-discount"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]