Remove ScopedTypeVariables => TypeAbstractions
This commit implements [amendment 604](https://github.com/ghc-proposals/ghc-proposals/pull/604/) to [GHC proposal 448](https://github.com/ghc-proposals/ghc-proposals/pull/448) by removing the implication of language extensions ScopedTypeVariables => TypeAbstractions To limit breakage, we now allow type arguments in constructor patterns when both ScopedTypeVariables and TypeApplications are enabled, but we emit a warning notifying the user that this is deprecated behaviour that will go away starting in GHC 9.12. Fixes #23776 (cherry picked from commit 9eecdf33)
Showing
- compiler/GHC/Driver/DynFlags.hs 0 additions, 1 deletioncompiler/GHC/Driver/DynFlags.hs
- compiler/GHC/Driver/Session.hs 0 additions, 3 deletionscompiler/GHC/Driver/Session.hs
- compiler/GHC/Rename/Pat.hs 22 additions, 4 deletionscompiler/GHC/Rename/Pat.hs
- compiler/GHC/Tc/Errors/Ppr.hs 9 additions, 0 deletionscompiler/GHC/Tc/Errors/Ppr.hs
- compiler/GHC/Tc/Errors/Types.hs 9 additions, 0 deletionscompiler/GHC/Tc/Errors/Types.hs
- compiler/GHC/Types/Error/Codes.hs 1 addition, 0 deletionscompiler/GHC/Types/Error/Codes.hs
- testsuite/tests/showIface/DocsInHiFile1.stdout 0 additions, 1 deletiontestsuite/tests/showIface/DocsInHiFile1.stdout
- testsuite/tests/showIface/DocsInHiFileTH.stdout 0 additions, 1 deletiontestsuite/tests/showIface/DocsInHiFileTH.stdout
- testsuite/tests/showIface/HaddockIssue849.stdout 0 additions, 1 deletiontestsuite/tests/showIface/HaddockIssue849.stdout
- testsuite/tests/showIface/HaddockOpts.stdout 0 additions, 1 deletiontestsuite/tests/showIface/HaddockOpts.stdout
- testsuite/tests/showIface/MagicHashInHaddocks.stdout 0 additions, 1 deletiontestsuite/tests/showIface/MagicHashInHaddocks.stdout
- testsuite/tests/showIface/NoExportList.stdout 0 additions, 1 deletiontestsuite/tests/showIface/NoExportList.stdout
- testsuite/tests/showIface/PragmaDocs.stdout 0 additions, 1 deletiontestsuite/tests/showIface/PragmaDocs.stdout
- testsuite/tests/showIface/ReExports.stdout 0 additions, 1 deletiontestsuite/tests/showIface/ReExports.stdout
- testsuite/tests/typecheck/should_fail/T22560_fail_a.stderr 3 additions, 7 deletionstestsuite/tests/typecheck/should_fail/T22560_fail_a.stderr
- testsuite/tests/typecheck/should_fail/T22560_fail_b.stderr 3 additions, 7 deletionstestsuite/tests/typecheck/should_fail/T22560_fail_b.stderr
- testsuite/tests/typecheck/should_fail/T22560_fail_c.stderr 8 additions, 0 deletionstestsuite/tests/typecheck/should_fail/T22560_fail_c.stderr
- testsuite/tests/typecheck/should_fail/T22560_fail_d.stderr 3 additions, 7 deletionstestsuite/tests/typecheck/should_fail/T22560_fail_d.stderr
- testsuite/tests/typecheck/should_fail/T23776.hs 9 additions, 0 deletionstestsuite/tests/typecheck/should_fail/T23776.hs
- testsuite/tests/typecheck/should_fail/all.T 1 addition, 0 deletionstestsuite/tests/typecheck/should_fail/all.T
Loading
Please register or sign in to comment