From 362cca13858faf7e1158273780ea900e7dad5827 Mon Sep 17 00:00:00 2001 From: sheaf <sam.derbyshire@gmail.com> Date: Tue, 13 Sep 2022 10:22:05 +0200 Subject: [PATCH] Diagnostic codes: acccept test changes The testsuite output now contains diagnostic codes, so many tests need to be updated at once. We decided it was best to keep the diagnostic codes in the testsuite output, so that contributors don't inadvertently make changes to the diagnostic codes. --- libraries/base/tests/T9681.stderr | 2 +- testsuite/tests/ado/T13242a.stderr | 16 +-- testsuite/tests/ado/T16628.stderr | 2 +- testsuite/tests/ado/ado002.stderr | 14 +-- testsuite/tests/ado/ado003.stderr | 16 +-- testsuite/tests/ado/ado005.stderr | 2 +- .../annotations/should_fail/T10826.stderr | 2 +- .../annotations/should_fail/T19374b.stderr | 3 +- .../annotations/should_fail/T19374c.stderr | 3 +- .../annotations/should_fail/annfail01.stderr | 14 +-- .../annotations/should_fail/annfail02.stderr | 15 ++- .../annotations/should_fail/annfail05.stderr | 2 +- .../annotations/should_fail/annfail07.stderr | 8 +- .../annotations/should_fail/annfail08.stderr | 4 +- .../annotations/should_fail/annfail10.stderr | 4 +- .../annotations/should_fail/annfail11.stderr | 18 +-- .../annotations/should_fail/annfail13.stderr | 2 +- testsuite/tests/arrows/gadt/ArrowDict.stderr | 2 +- .../tests/arrows/gadt/ArrowExistential.stderr | 2 +- .../tests/arrows/gadt/ArrowGADTKappa.stderr | 2 +- .../tests/arrows/gadt/ArrowPatSyn1.stderr | 2 +- .../tests/arrows/gadt/ArrowPatSyn2.stderr | 2 +- testsuite/tests/arrows/gadt/T17423.stderr | 2 +- testsuite/tests/arrows/gadt/T20469.stderr | 2 +- testsuite/tests/arrows/gadt/T20470.stderr | 2 +- testsuite/tests/arrows/gadt/T5777.stderr | 2 +- testsuite/tests/arrows/gadt/T9985.stderr | 2 +- .../should_fail/T20768_arrow_fail.stderr | 6 +- .../tests/arrows/should_fail/T2111.stderr | 4 +- .../tests/arrows/should_fail/T5380.stderr | 4 +- .../arrows/should_fail/arrowfail002.stderr | 3 +- .../arrows/should_fail/arrowfail003.stderr | 4 +- .../arrows/should_fail/arrowfail004.stderr | 11 +- .../cabal/bkpcabal03/bkpcabal03.stderr | 2 +- .../cabal/bkpcabal05/bkpcabal05.stderr | 2 +- .../backpack/should_fail/bkpfail11.stderr | 10 +- .../backpack/should_fail/bkpfail18.stderr | 6 +- .../backpack/should_fail/bkpfail24.stderr | 10 +- .../backpack/should_fail/bkpfail28.stderr | 12 +- .../backpack/should_fail/bkpfail30.stderr | 4 +- .../backpack/should_fail/bkpfail31.stderr | 6 +- .../backpack/should_fail/bkpfail32.stderr | 4 +- .../backpack/should_fail/bkpfail33.stderr | 6 +- .../backpack/should_fail/bkpfail34.stderr | 6 +- .../backpack/should_fail/bkpfail36.stderr | 10 +- .../backpack/should_fail/bkpfail40.stderr | 4 +- .../backpack/should_fail/bkpfail43.stderr | 10 +- .../backpack/should_fail/bkpfail44.stderr | 6 +- .../backpack/should_fail/bkpfail48.stderr | 6 +- .../backpack/should_fail/bkpfail49.stderr | 2 +- testsuite/tests/cabal/T12733/T12733.stderr | 2 +- testsuite/tests/cabal/t18567/T18567.stderr | 2 +- testsuite/tests/cabal/t20242/T20242.stderr | 2 +- testsuite/tests/corelint/T21115.stderr | 6 +- .../tests/count-deps/CountDepsAst.stdout | 1 + .../tests/count-deps/CountDepsParser.stdout | 1 + .../should_compile/DsStrictWarn.stderr | 4 +- .../deSugar/should_compile/GadtOverlap.stderr | 4 +- .../deSugar/should_compile/T10662.stderr | 2 +- .../should_compile/T13257.stderr-ws-32 | 2 +- .../should_compile/T13257.stderr-ws-64 | 2 +- .../deSugar/should_compile/T13290.stderr | 2 +- .../deSugar/should_compile/T13870.stderr | 4 +- .../deSugar/should_compile/T14135.stderr | 4 +- .../deSugar/should_compile/T14546a.stderr | 32 ++--- .../deSugar/should_compile/T14546b.stderr | 8 +- .../deSugar/should_compile/T14546c.stderr | 12 +- .../deSugar/should_compile/T14546d.stderr | 4 +- .../deSugar/should_compile/T14773a.stderr | 2 +- .../deSugar/should_compile/T14773b.stderr | 6 +- .../tests/deSugar/should_compile/T2395.stderr | 2 +- .../tests/deSugar/should_compile/T2409.stderr | 4 +- .../deSugar/should_compile/T3263-1.stderr | 10 +- .../deSugar/should_compile/T3263-2.stderr | 4 +- .../tests/deSugar/should_compile/T4488.stderr | 8 +- .../tests/deSugar/should_compile/T5117.stderr | 2 +- .../tests/deSugar/should_compile/T5455.stderr | 8 +- .../tests/deSugar/should_compile/ds002.stderr | 14 +-- .../tests/deSugar/should_compile/ds003.stderr | 4 +- .../tests/deSugar/should_compile/ds006.stderr | 2 +- .../tests/deSugar/should_compile/ds019.stderr | 6 +- .../tests/deSugar/should_compile/ds020.stderr | 14 +-- .../tests/deSugar/should_compile/ds021.stderr | 2 +- .../tests/deSugar/should_compile/ds022.stderr | 4 +- .../tests/deSugar/should_compile/ds041.stderr | 2 +- .../tests/deSugar/should_compile/ds043.stderr | 2 +- .../tests/deSugar/should_compile/ds051.stderr | 6 +- .../tests/deSugar/should_compile/ds056.stderr | 2 +- .../tests/deSugar/should_compile/ds058.stderr | 2 +- .../tests/deSugar/should_run/T18172.stderr | 39 +++--- .../should_compile/KindEqualities.stderr | 2 +- .../dependent/should_compile/T11241.stderr | 2 +- .../should_fail/BadTelescope2.stderr | 2 +- .../should_fail/BadTelescope5.stderr | 2 +- .../dependent/should_fail/DepFail1.stderr | 4 +- .../should_fail/PromotedClass.stderr | 2 +- .../dependent/should_fail/RAE_T32a.stderr | 6 +- .../dependent/should_fail/RenamingStar.stderr | 2 +- .../dependent/should_fail/SelfDep.stderr | 2 +- .../tests/dependent/should_fail/T11407.stderr | 2 +- .../tests/dependent/should_fail/T11471.stderr | 2 +- .../tests/dependent/should_fail/T12081.stderr | 2 +- .../tests/dependent/should_fail/T13135.stderr | 2 +- .../should_fail/T13135_simple.stderr | 4 +- .../tests/dependent/should_fail/T13601.stderr | 2 +- .../dependent/should_fail/T13780a.stderr | 2 +- .../dependent/should_fail/T13780c.stderr | 4 +- .../tests/dependent/should_fail/T13895.stderr | 11 +- .../tests/dependent/should_fail/T14066.stderr | 10 +- .../dependent/should_fail/T14066c.stderr | 2 +- .../dependent/should_fail/T14066d.stderr | 2 +- .../dependent/should_fail/T14066e.stderr | 2 +- .../dependent/should_fail/T14845_fail1.stderr | 2 +- .../dependent/should_fail/T14845_fail2.stderr | 2 +- .../tests/dependent/should_fail/T15215.stderr | 4 +- .../tests/dependent/should_fail/T15245.stderr | 2 +- .../tests/dependent/should_fail/T15264.stderr | 8 +- .../tests/dependent/should_fail/T15308.stderr | 2 +- .../tests/dependent/should_fail/T15343.stderr | 2 +- .../tests/dependent/should_fail/T15380.stderr | 2 +- .../tests/dependent/should_fail/T15859.stderr | 2 +- .../dependent/should_fail/T15859a.stderr | 4 +- .../dependent/should_fail/T16326_Fail1.stderr | 4 +- .../should_fail/T16326_Fail10.stderr | 2 +- .../should_fail/T16326_Fail11.stderr | 2 +- .../should_fail/T16326_Fail12.stderr | 2 +- .../dependent/should_fail/T16326_Fail2.stderr | 2 +- .../dependent/should_fail/T16326_Fail3.stderr | 2 +- .../dependent/should_fail/T16326_Fail4.stderr | 2 +- .../dependent/should_fail/T16326_Fail5.stderr | 2 +- .../dependent/should_fail/T16326_Fail7.stderr | 2 +- .../dependent/should_fail/T16326_Fail9.stderr | 2 +- .../tests/dependent/should_fail/T16344.stderr | 2 +- .../dependent/should_fail/T16344a.stderr | 2 +- .../dependent/should_fail/T16391b.stderr | 2 +- .../tests/dependent/should_fail/T16418.stderr | 2 +- .../tests/dependent/should_fail/T17131.stderr | 4 +- .../tests/dependent/should_fail/T17541.stderr | 4 +- .../dependent/should_fail/T17541b.stderr | 2 +- .../tests/dependent/should_fail/T17687.stderr | 2 +- .../should_fail/TypeSkolEscape.stderr | 10 +- .../deriving/should_compile/T14094.stderr | 9 +- .../deriving/should_compile/T16179.stderr | 5 +- .../deriving/should_fail/T10598_fail1.stderr | 4 +- .../deriving/should_fail/T10598_fail2.stderr | 4 +- .../deriving/should_fail/T10598_fail3.stderr | 2 +- .../deriving/should_fail/T10598_fail6.stderr | 2 +- .../tests/deriving/should_fail/T10684.stderr | 2 +- .../tests/deriving/should_fail/T1133A.stderr | 2 +- .../deriving/should_fail/T11509_1.stderr | 2 +- .../tests/deriving/should_fail/T12163.stderr | 2 +- .../tests/deriving/should_fail/T12512.stderr | 4 +- .../tests/deriving/should_fail/T12801.stderr | 2 +- .../tests/deriving/should_fail/T13154c.stderr | 12 +- .../tests/deriving/should_fail/T14365.stderr | 4 +- .../tests/deriving/should_fail/T14728a.stderr | 2 +- .../tests/deriving/should_fail/T14728b.stderr | 2 +- .../tests/deriving/should_fail/T14916.stderr | 4 +- .../tests/deriving/should_fail/T1496.stderr | 2 +- .../tests/deriving/should_fail/T16181.stderr | 8 +- .../tests/deriving/should_fail/T16923.stderr | 2 +- .../tests/deriving/should_fail/T18127b.stderr | 8 +- .../tests/deriving/should_fail/T1830_1.stderr | 2 +- .../tests/deriving/should_fail/T21087.stderr | 2 +- .../tests/deriving/should_fail/T21087b.stderr | 2 +- .../tests/deriving/should_fail/T21302.stderr | 4 +- .../tests/deriving/should_fail/T21871.stderr | 2 +- .../tests/deriving/should_fail/T2394.stderr | 10 +- .../tests/deriving/should_fail/T2701.stderr | 8 +- .../tests/deriving/should_fail/T2851.stderr | 2 +- .../tests/deriving/should_fail/T3101.stderr | 8 +- .../tests/deriving/should_fail/T3621.stderr | 2 +- .../tests/deriving/should_fail/T3833.stderr | 2 +- .../tests/deriving/should_fail/T3834.stderr | 2 +- .../tests/deriving/should_fail/T4083.stderr | 2 +- .../tests/deriving/should_fail/T4528.stderr | 24 ++-- .../tests/deriving/should_fail/T4846.stderr | 2 +- .../tests/deriving/should_fail/T5287.stderr | 2 +- .../tests/deriving/should_fail/T5478.stderr | 8 +- .../tests/deriving/should_fail/T5498.stderr | 2 +- .../tests/deriving/should_fail/T5686.stderr | 8 +- .../tests/deriving/should_fail/T5922.stderr | 6 +- .../tests/deriving/should_fail/T6147.stderr | 10 +- .../tests/deriving/should_fail/T7148.stderr | 4 +- .../tests/deriving/should_fail/T7148a.stderr | 5 +- .../deriving/should_fail/T7401_fail.stderr | 5 +- .../tests/deriving/should_fail/T7959.stderr | 4 +- .../deriving/should_fail/T8165_fail1.stderr | 6 +- .../tests/deriving/should_fail/T8851.stderr | 2 +- .../tests/deriving/should_fail/T8984.stderr | 2 +- .../tests/deriving/should_fail/T9071.stderr | 8 +- .../tests/deriving/should_fail/T9071_2.stderr | 8 +- .../tests/deriving/should_fail/T9600-1.stderr | 10 +- .../tests/deriving/should_fail/T9600.stderr | 2 +- .../tests/deriving/should_fail/T9687.stderr | 2 +- .../should_fail/deriving-via-fail.stderr | 6 +- .../should_fail/deriving-via-fail2.stderr | 2 +- .../should_fail/deriving-via-fail4.stderr | 4 +- .../should_fail/deriving-via-fail5.stderr | 6 +- .../drvfail-foldable-traversable1.stderr | 8 +- .../should_fail/drvfail-functor1.stderr | 2 +- .../should_fail/drvfail-functor2.stderr | 10 +- .../deriving/should_fail/drvfail001.stderr | 2 +- .../deriving/should_fail/drvfail002.stderr | 2 +- .../deriving/should_fail/drvfail003.stderr | 2 +- .../deriving/should_fail/drvfail004.stderr | 2 +- .../deriving/should_fail/drvfail005.stderr | 2 +- .../deriving/should_fail/drvfail006.stderr | 2 +- .../deriving/should_fail/drvfail007.stderr | 2 +- .../deriving/should_fail/drvfail008.stderr | 2 +- .../deriving/should_fail/drvfail009.stderr | 34 +++--- .../deriving/should_fail/drvfail011.stderr | 2 +- .../deriving/should_fail/drvfail012.stderr | 2 +- .../deriving/should_fail/drvfail013.stderr | 4 +- .../deriving/should_fail/drvfail015.stderr | 2 +- .../deriving/should_fail/drvfail016.stderr | 2 +- .../tests/deriving/should_run/T9576.stderr | 2 +- testsuite/tests/driver/MultiRootsErr.stderr | 2 +- testsuite/tests/driver/T10600.stderr | 5 +- testsuite/tests/driver/T11429c.stderr | 2 +- testsuite/tests/driver/T12955.stderr | 4 +- testsuite/tests/driver/T1372/T1372.stderr | 2 +- testsuite/tests/driver/T16167.stdout | 2 +- testsuite/tests/driver/T21682.stderr | 2 +- testsuite/tests/driver/T2182.stderr | 8 +- testsuite/tests/driver/T2499.stderr | 4 +- testsuite/tests/driver/T2507.stderr | 2 +- testsuite/tests/driver/T5147/T5147.stderr | 2 +- testsuite/tests/driver/T6037.stderr | 2 +- testsuite/tests/driver/T8101.stderr | 4 +- testsuite/tests/driver/T8101b.stderr | 4 +- testsuite/tests/driver/T8959a.stderr | 2 +- testsuite/tests/driver/bug1677/bug1677.stderr | 2 +- testsuite/tests/driver/json.stderr | 2 +- .../multipleHomeUnits/MHU_OptionsGHC.stderr | 8 +- .../mhu-closure/mhu-closure.stderr | 4 +- .../tests/driver/recomp005/recomp005.stderr | 11 +- .../tests/driver/recomp006/recomp006.stderr | 10 +- .../tests/driver/should_fail/T10895.stderr | 2 +- testsuite/tests/driver/werror.stderr | 16 +-- .../tests/ffi/should_compile/T1357.stderr | 6 +- .../NonreducingFfiSignature.stderr | 7 +- testsuite/tests/ffi/should_fail/T10461.stderr | 2 +- testsuite/tests/ffi/should_fail/T16702.stderr | 8 +- testsuite/tests/ffi/should_fail/T20116.stderr | 2 +- .../tests/ffi/should_fail/T21305_fail.stderr | 4 +- testsuite/tests/ffi/should_fail/T3066.stderr | 2 +- testsuite/tests/ffi/should_fail/T5664.stderr | 28 ++--- testsuite/tests/ffi/should_fail/T7243.stderr | 8 +- testsuite/tests/ffi/should_fail/T7506.stderr | 14 +-- .../should_fail/capi_value_function.stderr | 8 +- .../tests/ffi/should_fail/capi_wrapper.stderr | 2 +- .../tests/ffi/should_fail/ccall_value.stderr | 2 +- .../tests/ffi/should_fail/ccfail001.stderr | 10 +- .../tests/ffi/should_fail/ccfail002.stderr | 12 +- .../tests/ffi/should_fail/ccfail003.stderr | 20 ++-- .../tests/ffi/should_fail/ccfail004.stderr | 10 +- .../tests/ffi/should_fail/ccfail005.stderr | 16 +-- testsuite/tests/gadt/CasePrune.stderr | 10 +- testsuite/tests/gadt/T12468.stderr | 2 +- testsuite/tests/gadt/T15558.stderr | 2 +- testsuite/tests/gadt/T20485.stderr | 6 +- testsuite/tests/gadt/T3163.stderr | 2 +- testsuite/tests/gadt/T3169.stderr | 2 +- testsuite/tests/gadt/T3651.stderr | 4 +- testsuite/tests/gadt/T7293.stderr | 4 +- testsuite/tests/gadt/T7294.stderr | 4 +- testsuite/tests/gadt/T7558.stderr | 2 +- testsuite/tests/gadt/gadt-escape1.stderr | 2 +- testsuite/tests/gadt/gadt10.stderr | 12 +- testsuite/tests/gadt/gadt13.stderr | 2 +- testsuite/tests/gadt/gadt21.stderr | 2 +- testsuite/tests/gadt/gadt7.stderr | 2 +- testsuite/tests/gadt/lazypat.stderr | 12 +- testsuite/tests/gadt/records-fail1.stderr | 2 +- testsuite/tests/gadt/rw.stderr | 4 +- .../tests/generics/GenCannotDoRep0_0.stderr | 4 +- .../tests/generics/GenCannotDoRep0_1.stderr | 8 +- .../tests/generics/GenCannotDoRep0_2.stderr | 8 +- .../tests/generics/GenCannotDoRep1_0.stderr | 2 +- .../tests/generics/GenCannotDoRep1_1.stderr | 8 +- .../tests/generics/GenCannotDoRep1_2.stderr | 8 +- .../tests/generics/GenCannotDoRep1_3.stderr | 10 +- .../tests/generics/GenCannotDoRep1_4.stderr | 10 +- .../tests/generics/GenCannotDoRep1_6.stderr | 10 +- .../tests/generics/GenCannotDoRep1_7.stderr | 10 +- .../tests/generics/GenCannotDoRep1_8.stderr | 10 +- .../tests/generics/GenShouldFail0.stderr | 2 +- .../tests/generics/GenShouldFail1_0.stderr | 2 +- .../T10604_bad_variable_occurrence.stderr | 2 +- .../T10604/T10604_no_PolyKinds.stderr | 2 +- testsuite/tests/generics/T5462No1.stderr | 10 +- testsuite/tests/generics/T8468.stderr | 8 +- testsuite/tests/ghc-api/T10508_api.stderr | 2 +- .../ghc-api/apirecomp001/apirecomp001.stderr | 12 +- .../tests/ghc-api/exactprint/Test20239.stderr | 2 +- .../target-contents/TargetContents.stderr | 14 +-- .../ghc-e/should_fail/T18441fail12.stderr | 2 +- .../ghc-e/should_fail/T18441fail16.stderr | 2 +- .../ghc-e/should_fail/T18441fail17.stderr | 3 +- .../ghc-e/should_fail/T18441fail18.stderr | 2 +- .../ghc-e/should_fail/T18441fail4.stderr | 3 +- .../tests/ghc-e/should_fail/T7962.stderr | 2 +- .../tests/ghc-e/should_fail/T9905fail3.stderr | 2 +- .../ghc-e/should_fail/ghc-e-fail1.stderr | 2 +- .../tests/ghci.debugger/scripts/T14628.stderr | 2 +- .../ghci.debugger/scripts/break003.stderr | 2 +- .../ghci.debugger/scripts/break006.stderr | 4 +- .../ghci.debugger/scripts/print019.stderr | 2 +- testsuite/tests/ghci/T11827/T11827.stderr | 2 +- .../tests/ghci/prog009/ghci.prog009.stderr | 6 +- .../tests/ghci/prog010/ghci.prog010.stderr | 2 +- testsuite/tests/ghci/prog012/prog012.stderr | 2 +- testsuite/tests/ghci/prog013/prog013.stderr | 12 +- testsuite/tests/ghci/prog018/prog018.stdout | 8 +- testsuite/tests/ghci/scripts/Defer02.stderr | 40 +++---- testsuite/tests/ghci/scripts/StaticPtr.stderr | 2 +- testsuite/tests/ghci/scripts/T10248.stderr | 2 +- testsuite/tests/ghci/scripts/T10249.stderr | 2 +- testsuite/tests/ghci/scripts/T10508.stderr | 2 +- testsuite/tests/ghci/scripts/T10963.stderr | 2 +- testsuite/tests/ghci/scripts/T11606.stderr | 6 +- testsuite/tests/ghci/scripts/T13202.stderr | 2 +- testsuite/tests/ghci/scripts/T13202a.stderr | 2 +- testsuite/tests/ghci/scripts/T13466.stderr | 3 +- testsuite/tests/ghci/scripts/T14969.stderr | 2 +- testsuite/tests/ghci/scripts/T15259.stderr | 2 +- testsuite/tests/ghci/scripts/T15325.stderr | 6 +- testsuite/tests/ghci/scripts/T15898.stderr | 8 +- testsuite/tests/ghci/scripts/T16376.stderr | 4 +- testsuite/tests/ghci/scripts/T17549.stderr | 2 +- testsuite/tests/ghci/scripts/T19158.stderr | 2 +- testsuite/tests/ghci/scripts/T19197.stderr | 2 +- testsuite/tests/ghci/scripts/T20455.stderr | 2 +- testsuite/tests/ghci/scripts/T21110.stderr | 2 +- testsuite/tests/ghci/scripts/T2182ghci.stderr | 10 +- .../tests/ghci/scripts/T2182ghci2.stderr | 4 +- testsuite/tests/ghci/scripts/T2452.stderr | 4 +- testsuite/tests/ghci/scripts/T2816.stderr | 2 +- testsuite/tests/ghci/scripts/T3263.stderr | 5 +- testsuite/tests/ghci/scripts/T5564.stderr | 4 +- .../tests/ghci/scripts/T6018ghcifail.stderr | 40 +++---- .../tests/ghci/scripts/T6018ghcirnfail.stderr | 44 ++++--- testsuite/tests/ghci/scripts/T7627b.stderr | 8 +- testsuite/tests/ghci/scripts/T7873.stderr | 3 +- testsuite/tests/ghci/scripts/T8353.stderr | 20 ++-- testsuite/tests/ghci/scripts/T8485.stderr | 2 +- testsuite/tests/ghci/scripts/T8639.stderr | 2 +- testsuite/tests/ghci/scripts/T8649.stderr | 2 +- testsuite/tests/ghci/scripts/T8959.stderr | 30 ++--- testsuite/tests/ghci/scripts/T8959b.stderr | 6 +- testsuite/tests/ghci/scripts/T9140.stdout | 4 +- testsuite/tests/ghci/scripts/ghci022.stderr | 2 +- testsuite/tests/ghci/scripts/ghci036.stderr | 14 +-- testsuite/tests/ghci/scripts/ghci038.stderr | 4 +- testsuite/tests/ghci/scripts/ghci044.stderr | 2 +- testsuite/tests/ghci/scripts/ghci046.stderr | 2 +- testsuite/tests/ghci/scripts/ghci047.stderr | 4 +- testsuite/tests/ghci/scripts/ghci050.stderr | 2 +- testsuite/tests/ghci/scripts/ghci051.stderr | 2 +- testsuite/tests/ghci/scripts/ghci052.stderr | 8 +- testsuite/tests/ghci/scripts/ghci053.stderr | 4 +- testsuite/tests/ghci/scripts/ghci061.stderr | 4 +- testsuite/tests/ghci/scripts/ghci063.stderr | 2 +- .../tests/ghci/should_fail/T16287.stderr | 4 +- testsuite/tests/ghci/should_run/T15007.stderr | 2 +- testsuite/tests/ghci/should_run/T15806.stderr | 2 +- testsuite/tests/ghci/should_run/T7253.stderr | 2 +- .../haddock_examples/haddock.Test.stderr | 8 +- .../should_compile_flag_haddock/T17544.stderr | 12 +- .../should_compile_flag_haddock/T8944.stderr | 2 +- .../haddockA022.stderr | 6 +- .../haddockA030.stderr | 2 +- .../haddockA033.stderr | 4 +- .../haddockExtraDocs.stderr | 8 +- .../haddockSimplUtilsBug.stderr | 2 +- testsuite/tests/impredicative/T17332.stderr | 2 +- .../tests/impredicative/icfp20-fail.stderr | 8 +- .../should_compile/GivenCheck.stderr | 2 +- .../should_compile/GivenCheckSwap.stderr | 2 +- .../should_compile/PushedInAsGivens.stderr | 14 +-- .../should_compile/Simple14.stderr | 15 +-- .../should_compile/Simple2.stderr | 8 +- .../should_compile/T10806.stderr | 2 +- .../should_compile/T12538.stderr | 2 +- .../should_compile/T15322a.stderr | 2 +- .../should_compile/T19336.stderr | 2 +- .../indexed-types/should_compile/T3023.stderr | 2 +- .../should_compile/T3208b.stderr | 4 +- .../indexed-types/should_compile/T8889.stderr | 2 +- .../should_fail/DerivUnsatFam.stderr | 2 +- .../should_fail/ExpandTFs.stderr | 2 +- .../should_fail/ExplicitForAllFams3.stderr | 13 +- .../should_fail/ExplicitForAllFams4b.stderr | 6 +- .../should_fail/ExtraTcsUntch.stderr | 4 +- .../should_fail/GADTwrong1.stderr | 2 +- .../indexed-types/should_fail/NoGood.stderr | 2 +- .../should_fail/NoMatchErr.stderr | 6 +- .../indexed-types/should_fail/Over.stderr | 4 +- .../should_fail/OverDirectThisMod.stderr | 4 +- .../should_fail/OverIndirectThisMod.stderr | 4 +- .../should_fail/Overlap10.stderr | 14 +-- .../should_fail/Overlap11.stderr | 2 +- .../should_fail/Overlap15.stderr | 2 +- .../indexed-types/should_fail/Overlap6.stderr | 2 +- .../indexed-types/should_fail/Overlap9.stderr | 14 +-- .../should_fail/SimpleFail11a.stderr | 4 +- .../should_fail/SimpleFail11b.stderr | 4 +- .../should_fail/SimpleFail11c.stderr | 4 +- .../should_fail/SimpleFail11d.stderr | 2 +- .../should_fail/SimpleFail12.stderr | 2 +- .../should_fail/SimpleFail14.stderr | 2 +- .../should_fail/SimpleFail15.stderr | 2 +- .../should_fail/SimpleFail16.stderr | 2 +- .../should_fail/SimpleFail1a.stderr | 2 +- .../should_fail/SimpleFail1b.stderr | 2 +- .../should_fail/SimpleFail2a.stderr | 2 +- .../should_fail/SimpleFail2b.stderr | 2 +- .../should_fail/SimpleFail5a.stderr | 2 +- .../should_fail/SimpleFail5b.stderr | 2 +- .../should_fail/SimpleFail8.stderr | 4 +- .../indexed-types/should_fail/T10141.stderr | 8 +- .../indexed-types/should_fail/T10899.stderr | 2 +- .../indexed-types/should_fail/T12522a.stderr | 2 +- .../indexed-types/should_fail/T12867.stderr | 2 +- .../should_fail/T13092/T13092.stderr | 2 +- .../should_fail/T13092c/T13092c.stderr | 2 +- .../indexed-types/should_fail/T13271.stderr | 4 +- .../indexed-types/should_fail/T13674.stderr | 4 +- .../indexed-types/should_fail/T13784.stderr | 6 +- .../indexed-types/should_fail/T13877.stderr | 2 +- .../indexed-types/should_fail/T14175.stderr | 2 +- .../indexed-types/should_fail/T14179.stderr | 6 +- .../indexed-types/should_fail/T14246.stderr | 8 +- .../indexed-types/should_fail/T14369.stderr | 2 +- .../indexed-types/should_fail/T14904.stderr | 2 +- .../indexed-types/should_fail/T15740.stderr | 4 +- .../indexed-types/should_fail/T15870.stderr | 2 +- .../should_fail/T16110_Fail1.stderr | 18 ++- .../should_fail/T16356_Fail3.stderr | 2 +- .../indexed-types/should_fail/T1897b.stderr | 6 +- .../indexed-types/should_fail/T1900.stderr | 6 +- .../indexed-types/should_fail/T20465.stderr | 2 +- .../indexed-types/should_fail/T20466.stderr | 4 +- .../indexed-types/should_fail/T20521.stderr | 2 +- .../indexed-types/should_fail/T21092.stderr | 2 +- .../indexed-types/should_fail/T21896.stderr | 6 +- .../indexed-types/should_fail/T2334A.stderr | 2 +- .../indexed-types/should_fail/T2544.stderr | 12 +- .../indexed-types/should_fail/T2627b.stderr | 2 +- .../indexed-types/should_fail/T2664.stderr | 2 +- .../indexed-types/should_fail/T2677.stderr | 2 +- .../indexed-types/should_fail/T2693.stderr | 20 ++-- .../indexed-types/should_fail/T3330a.stderr | 4 +- .../indexed-types/should_fail/T3330b.stderr | 2 +- .../indexed-types/should_fail/T3330c.stderr | 2 +- .../indexed-types/should_fail/T4093a.stderr | 2 +- .../indexed-types/should_fail/T4093b.stderr | 2 +- .../indexed-types/should_fail/T4099.stderr | 10 +- .../indexed-types/should_fail/T4174.stderr | 2 +- .../indexed-types/should_fail/T4179.stderr | 4 +- .../indexed-types/should_fail/T4246.stderr | 4 +- .../indexed-types/should_fail/T4254b.stderr | 2 +- .../indexed-types/should_fail/T4272.stderr | 2 +- .../indexed-types/should_fail/T4485.stderr | 4 +- .../indexed-types/should_fail/T5439.stderr | 4 +- .../indexed-types/should_fail/T5934.stderr | 2 +- .../indexed-types/should_fail/T6123.stderr | 2 +- .../indexed-types/should_fail/T7010.stderr | 2 +- .../indexed-types/should_fail/T7102a.stderr | 2 +- .../indexed-types/should_fail/T7194.stderr | 12 +- .../indexed-types/should_fail/T7354.stderr | 2 +- .../indexed-types/should_fail/T7354a.stderr | 2 +- .../indexed-types/should_fail/T7729.stderr | 2 +- .../indexed-types/should_fail/T7729a.stderr | 2 +- .../indexed-types/should_fail/T7938.stderr | 2 +- .../indexed-types/should_fail/T7967.stderr | 2 +- .../indexed-types/should_fail/T8155.stderr | 2 +- .../indexed-types/should_fail/T8227.stderr | 4 +- .../indexed-types/should_fail/T8368.stderr | 2 +- .../indexed-types/should_fail/T8368a.stderr | 2 +- .../indexed-types/should_fail/T8518.stderr | 4 +- .../indexed-types/should_fail/T9036.stderr | 6 +- .../indexed-types/should_fail/T9171.stderr | 6 +- .../indexed-types/should_fail/T9357.stderr | 2 +- .../indexed-types/should_fail/T9371.stderr | 2 +- .../indexed-types/should_fail/T9580.stderr | 16 +-- .../indexed-types/should_fail/T9662.stderr | 2 +- testsuite/tests/layout/layout001.stdout | 4 +- testsuite/tests/layout/layout003.stdout | 4 +- testsuite/tests/layout/layout004.stdout | 4 +- testsuite/tests/layout/layout006.stdout | 8 +- .../tests/linear/should_fail/Linear1.stderr | 4 +- .../tests/linear/should_fail/Linear11.stderr | 4 +- .../tests/linear/should_fail/Linear13.stderr | 8 +- .../tests/linear/should_fail/Linear17.stderr | 6 +- .../tests/linear/should_fail/Linear2.stderr | 6 +- .../tests/linear/should_fail/Linear5.stderr | 2 +- .../tests/linear/should_fail/Linear7.stderr | 2 +- .../tests/linear/should_fail/Linear9.stderr | 12 +- .../linear/should_fail/LinearAsPat.stderr | 2 +- .../should_fail/LinearBottomMult.stderr | 2 +- .../should_fail/LinearConfusedDollar.stderr | 2 +- .../linear/should_fail/LinearErrOrigin.stderr | 2 +- .../tests/linear/should_fail/LinearFFI.stderr | 6 +- .../tests/linear/should_fail/LinearIf.stderr | 6 +- .../linear/should_fail/LinearKind.stderr | 2 +- .../linear/should_fail/LinearKind2.stderr | 2 +- .../linear/should_fail/LinearKind3.stderr | 2 +- .../linear/should_fail/LinearLazyPat.stderr | 2 +- .../tests/linear/should_fail/LinearLet.stderr | 2 +- .../linear/should_fail/LinearNoExt.stderr | 2 +- .../linear/should_fail/LinearNoExtU.stderr | 2 +- .../should_fail/LinearPartialSig.stderr | 2 +- .../linear/should_fail/LinearPatSyn.stderr | 2 +- .../linear/should_fail/LinearPatSyn2.stderr | 2 +- .../LinearPatternGuardWildcard.stderr | 2 +- .../linear/should_fail/LinearPolyType.stderr | 4 +- .../should_fail/LinearRecordUpdate.stderr | 2 +- .../linear/should_fail/LinearRole.stderr | 2 +- .../tests/linear/should_fail/LinearSeq.stderr | 2 +- .../should_fail/LinearSequenceExpr.stderr | 4 +- .../linear/should_fail/LinearTHFail.stderr | 4 +- .../linear/should_fail/LinearTHFail2.stderr | 2 +- .../linear/should_fail/LinearTHFail3.stderr | 2 +- .../tests/linear/should_fail/LinearVar.stderr | 2 +- .../should_fail/LinearViewPattern.stderr | 2 +- .../should_fail/T18888_datakinds.stderr | 6 +- .../tests/linear/should_fail/T19120.stderr | 2 +- .../tests/linear/should_fail/T19361.stderr | 2 +- .../tests/linear/should_fail/T20083.stderr | 4 +- .../tests/linear/should_fail/TypeClass.stderr | 2 +- .../tests/mdo/should_fail/mdofail001.stderr | 2 +- .../tests/mdo/should_fail/mdofail005.stderr | 2 +- testsuite/tests/module/MultiExport.stderr | 2 +- testsuite/tests/module/T11432.stderr | 2 +- testsuite/tests/module/T11432a.stderr | 2 +- testsuite/tests/module/T11970.stderr | 5 +- testsuite/tests/module/T11970B.stderr | 2 +- testsuite/tests/module/T12026.stderr | 2 +- testsuite/tests/module/mod10.stderr | 2 +- testsuite/tests/module/mod101.stderr | 2 +- testsuite/tests/module/mod102.stderr | 2 +- testsuite/tests/module/mod114.stderr | 2 +- testsuite/tests/module/mod116.stderr | 3 +- testsuite/tests/module/mod120.stderr | 3 +- testsuite/tests/module/mod121.stderr | 2 +- testsuite/tests/module/mod122.stderr | 3 +- testsuite/tests/module/mod123.stderr | 3 +- testsuite/tests/module/mod124.stderr | 2 +- testsuite/tests/module/mod125.stderr | 2 +- testsuite/tests/module/mod126.stderr | 2 +- testsuite/tests/module/mod127.stderr | 2 +- testsuite/tests/module/mod128.stderr | 2 +- testsuite/tests/module/mod130.stderr | 2 +- testsuite/tests/module/mod131.stderr | 2 +- testsuite/tests/module/mod132.stderr | 2 +- testsuite/tests/module/mod134.stderr | 2 +- testsuite/tests/module/mod135.stderr | 2 +- testsuite/tests/module/mod136.stderr | 2 +- testsuite/tests/module/mod138.stderr | 2 +- testsuite/tests/module/mod14.stderr | 2 +- testsuite/tests/module/mod142.stderr | 2 +- testsuite/tests/module/mod143.stderr | 2 +- testsuite/tests/module/mod144.stderr | 2 +- testsuite/tests/module/mod145.stderr | 2 +- testsuite/tests/module/mod146.stderr | 2 +- testsuite/tests/module/mod147.stderr | 2 +- testsuite/tests/module/mod150.stderr | 2 +- testsuite/tests/module/mod155.stderr | 2 +- testsuite/tests/module/mod158.stderr | 2 +- testsuite/tests/module/mod160.stderr | 2 +- testsuite/tests/module/mod161.stderr | 2 +- testsuite/tests/module/mod17.stderr | 2 +- testsuite/tests/module/mod178.stderr | 2 +- testsuite/tests/module/mod180.stderr | 2 +- testsuite/tests/module/mod182.stderr | 7 +- testsuite/tests/module/mod183.stderr | 4 +- testsuite/tests/module/mod184.stderr | 6 +- testsuite/tests/module/mod25.stderr | 2 +- testsuite/tests/module/mod26.stderr | 2 +- testsuite/tests/module/mod29.stderr | 2 +- testsuite/tests/module/mod3.stderr | 2 +- testsuite/tests/module/mod36.stderr | 2 +- testsuite/tests/module/mod4.stderr | 2 +- testsuite/tests/module/mod44.stderr | 2 +- testsuite/tests/module/mod46.stderr | 2 +- testsuite/tests/module/mod47.stderr | 2 +- testsuite/tests/module/mod49.stderr | 3 +- testsuite/tests/module/mod5.stderr | 2 +- testsuite/tests/module/mod50.stderr | 3 +- testsuite/tests/module/mod51.stderr | 2 +- testsuite/tests/module/mod52.stderr | 2 +- testsuite/tests/module/mod53.stderr | 8 +- testsuite/tests/module/mod54.stderr | 2 +- testsuite/tests/module/mod55.stderr | 10 +- testsuite/tests/module/mod56.stderr | 14 +-- testsuite/tests/module/mod58.stderr | 4 +- testsuite/tests/module/mod59.stderr | 2 +- testsuite/tests/module/mod62.stderr | 2 +- testsuite/tests/module/mod63.stderr | 2 +- testsuite/tests/module/mod67.stderr | 2 +- testsuite/tests/module/mod69.stderr | 2 +- testsuite/tests/module/mod7.stderr | 3 +- testsuite/tests/module/mod70.stderr | 2 +- testsuite/tests/module/mod71.stderr | 2 +- testsuite/tests/module/mod72.stderr | 3 +- testsuite/tests/module/mod73.stderr | 2 +- testsuite/tests/module/mod74.stderr | 2 +- testsuite/tests/module/mod76.stderr | 2 +- testsuite/tests/module/mod77.stderr | 2 +- testsuite/tests/module/mod8.stderr | 3 +- testsuite/tests/module/mod87.stderr | 2 +- testsuite/tests/module/mod88.stderr | 2 +- testsuite/tests/module/mod89.stderr | 2 +- testsuite/tests/module/mod9.stderr | 3 +- testsuite/tests/module/mod97.stderr | 2 +- testsuite/tests/module/mod98.stderr | 2 +- .../tests/monadfail/MonadFailErrors.stderr | 6 +- .../numeric/should_compile/T10929.stderr | 6 +- .../numeric/should_compile/T14465.stderr | 2 +- .../tests/numeric/should_compile/T7881.stderr | 6 +- .../tests/numeric/should_compile/T7895.stderr | 4 +- .../tests/numeric/should_compile/T8542.stderr | 2 +- .../should_fail/overloadedlistsfail01.stderr | 8 +- .../should_fail/overloadedlistsfail02.stderr | 4 +- .../should_fail/overloadedlistsfail03.stderr | 2 +- .../should_fail/overloadedlistsfail04.stderr | 2 +- .../should_fail/overloadedlistsfail05.stderr | 2 +- .../should_fail/overloadedlistsfail06.stderr | 10 +- .../overloadedrecflds/ghci/T19314.stdout | 4 +- .../ghci/duplicaterecfldsghci01.stdout | 2 +- .../should_fail/DRFHoleFits.stderr | 4 +- .../should_fail/DRFPartialFields.stderr | 2 +- .../should_fail/DuplicateExports.stderr | 2 +- .../should_fail/NFSExport.stderr | 2 +- .../should_fail/NFSSuppressed.stderr | 2 +- .../should_fail/NoParent.stderr | 2 +- .../should_fail/T14953.stderr | 7 +- .../should_fail/hasfieldfail01.stderr | 2 +- .../should_fail/hasfieldfail02.stderr | 4 +- .../should_fail/overloadedlabelsfail01.stderr | 6 +- .../should_fail/overloadedlabelsfail02.stderr | 3 +- .../should_fail/overloadedlabelsfail03.stderr | 2 +- .../overloadedrecfldsfail01.stderr | 37 +++--- .../overloadedrecfldsfail05.stderr | 2 +- .../overloadedrecfldsfail06.stderr | 12 +- .../overloadedrecfldsfail07.stderr | 2 +- .../overloadedrecfldsfail08.stderr | 8 +- .../overloadedrecfldsfail09.stderr | 2 +- .../overloadedrecfldsfail10.stderr | 2 +- .../overloadedrecfldsfail14.stderr | 8 +- .../parser/should_compile/ColumnPragma.stderr | 2 +- .../should_compile/OpaqueParseWarn1.stderr | 3 +- .../tests/parser/should_compile/T15139.stderr | 14 +-- .../parser/should_compile/T18834a.stderr | 6 +- .../parser/should_compile/T18834b.stderr | 6 +- .../tests/parser/should_compile/T21589.stderr | 8 +- .../tests/parser/should_compile/T2245.stderr | 2 +- .../tests/parser/should_compile/T3303.stderr | 4 +- .../tests/parser/should_compile/T515.stderr | 8 +- .../tests/parser/should_compile/T9723a.stderr | 2 +- .../tests/parser/should_compile/T9723b.stderr | 2 +- .../parser/should_compile/read014.stderr | 2 +- .../parser/should_compile/read043.stderr | 2 +- .../parser/should_compile/read044.stderr | 2 +- .../parser/should_compile/read064.stderr | 2 +- .../parser/should_compile/read066.stderr | 2 +- .../should_fail/ExportCommaComma.stderr | 3 +- .../parser/should_fail/InfixAppPatErr.stderr | 3 +- .../should_fail/NoBlockArgumentsFail.stderr | 6 +- .../should_fail/NoBlockArgumentsFail2.stderr | 6 +- .../should_fail/NoBlockArgumentsFail3.stderr | 6 +- .../NoBlockArgumentsFailArrowCmds.stderr | 6 +- .../should_fail/NoDoAndIfThenElse.stderr | 2 +- .../should_fail/NoNumericUnderscores0.stderr | 2 +- .../should_fail/NoNumericUnderscores1.stderr | 2 +- .../should_fail/NoPatternSynonyms.stderr | 2 +- .../NumericUnderscoresFail0.stderr | 46 ++++++- .../NumericUnderscoresFail1.stderr | 66 +++++++++-- .../should_fail/OpaqueParseFail1.stderr | 3 +- .../should_fail/OpaqueParseFail2.stderr | 3 +- .../should_fail/OpaqueParseFail3.stderr | 3 +- .../ParserNoBinaryLiterals1.stderr | 2 +- .../should_fail/ParserNoForallUnicode.stderr | 2 +- .../should_fail/ParserNoLambdaCase.stderr | 3 +- .../should_fail/ParserNoMultiWayIf.stderr | 2 +- .../parser/should_fail/ParserNoTH1.stderr | 4 +- .../parser/should_fail/ParserNoTH2.stderr | 4 +- .../should_fail/RecordDotSyntaxFail0.stderr | 3 +- .../should_fail/RecordDotSyntaxFail1.stderr | 3 +- .../should_fail/RecordDotSyntaxFail10.stderr | 2 +- .../should_fail/RecordDotSyntaxFail11.stderr | 4 +- .../should_fail/RecordDotSyntaxFail12.stderr | 6 +- .../should_fail/RecordDotSyntaxFail13.stderr | 2 +- .../should_fail/RecordDotSyntaxFail2.stderr | 3 +- .../should_fail/RecordDotSyntaxFail3.stderr | 4 +- .../should_fail/RecordDotSyntaxFail4.stderr | 3 +- .../should_fail/RecordDotSyntaxFail6.stderr | 2 +- .../should_fail/RecordDotSyntaxFail7.stderr | 3 +- .../should_fail/RecordDotSyntaxFail8.stderr | 4 +- .../should_fail/RecordDotSyntaxFail9.stderr | 7 +- .../should_fail/RecordWildCardsFail.stderr | 3 +- .../parser/should_fail/T10196Fail1.stderr | 3 +- .../parser/should_fail/T10196Fail2.stderr | 3 +- .../tests/parser/should_fail/T10498a.stderr | 2 +- .../tests/parser/should_fail/T10498b.stderr | 2 +- .../tests/parser/should_fail/T12045d.stderr | 2 +- .../tests/parser/should_fail/T12051.stderr | 2 +- .../tests/parser/should_fail/T12429.stderr | 2 +- .../tests/parser/should_fail/T12610.stderr | 4 +- .../tests/parser/should_fail/T12811.stderr | 5 +- .../tests/parser/should_fail/T13260.stderr | 2 +- .../tests/parser/should_fail/T13414.stderr | 3 +- .../tests/parser/should_fail/T1344a.stderr | 2 +- .../tests/parser/should_fail/T1344b.stderr | 2 +- .../tests/parser/should_fail/T1344c.stderr | 2 +- .../tests/parser/should_fail/T13450.stderr | 2 +- .../tests/parser/should_fail/T13450TH.stderr | 2 +- .../tests/parser/should_fail/T14588.stderr | 2 +- .../tests/parser/should_fail/T14740.stderr | 6 +- .../tests/parser/should_fail/T15053.stderr | 5 +- .../tests/parser/should_fail/T15209.stderr | 2 +- .../tests/parser/should_fail/T15233.stderr | 7 +- .../tests/parser/should_fail/T15730.stderr | 2 +- .../tests/parser/should_fail/T15730b.stderr | 2 +- .../tests/parser/should_fail/T15849.stderr | 3 +- .../tests/parser/should_fail/T16270.stderr | 47 ++++---- .../tests/parser/should_fail/T16270h.stderr | 6 +- .../tests/parser/should_fail/T16999.stderr | 2 +- .../tests/parser/should_fail/T17045.stderr | 2 +- .../tests/parser/should_fail/T17162.stderr | 2 +- .../tests/parser/should_fail/T17865.stderr | 8 +- .../parser/should_fail/T18130Fail.stderr | 2 +- .../tests/parser/should_fail/T18251a.stderr | 7 +- .../tests/parser/should_fail/T18251b.stderr | 2 +- .../tests/parser/should_fail/T18251d.stderr | 4 +- .../tests/parser/should_fail/T18251f.stderr | 5 +- .../tests/parser/should_fail/T19504.stderr | 2 +- .../tests/parser/should_fail/T19923a.stderr | 2 +- .../tests/parser/should_fail/T19923b.stderr | 2 +- .../tests/parser/should_fail/T19923c.stderr | 2 +- .../tests/parser/should_fail/T19928.stderr | 6 +- .../tests/parser/should_fail/T20385A.stderr | 4 +- .../tests/parser/should_fail/T20385B.stderr | 4 +- .../tests/parser/should_fail/T20654a.stderr | 2 +- .../tests/parser/should_fail/T20654b.stderr | 2 +- .../tests/parser/should_fail/T3095.stderr | 4 +- .../tests/parser/should_fail/T3153.stderr | 2 +- .../tests/parser/should_fail/T3751.stderr | 2 +- .../tests/parser/should_fail/T3811.stderr | 2 +- .../tests/parser/should_fail/T3811b.stderr | 5 +- .../tests/parser/should_fail/T3811d.stderr | 2 +- .../tests/parser/should_fail/T3811e.stderr | 2 +- .../tests/parser/should_fail/T3811f.stderr | 2 +- .../tests/parser/should_fail/T5425.stderr | 2 +- .../tests/parser/should_fail/T7848.stderr | 2 +- .../parser/should_fail/T8258NoGADTs.stderr | 2 +- .../tests/parser/should_fail/T8431.stderr | 2 +- .../tests/parser/should_fail/T8501a.stderr | 6 +- .../tests/parser/should_fail/T8501b.stderr | 2 +- .../tests/parser/should_fail/T8501c.stderr | 2 +- .../tests/parser/should_fail/T8506.stderr | 2 +- .../tests/parser/should_fail/T9225.stderr | 2 +- .../tests/parser/should_fail/T984.stderr | 3 +- .../should_fail/ViewPatternsFail.stderr | 2 +- .../parser/should_fail/cmdFail001.stderr | 2 +- .../parser/should_fail/cmdFail002.stderr | 3 +- .../parser/should_fail/cmdFail003.stderr | 2 +- .../parser/should_fail/cmdFail004.stderr | 3 +- .../parser/should_fail/cmdFail005.stderr | 3 +- .../parser/should_fail/cmdFail006.stderr | 3 +- .../parser/should_fail/cmdFail007.stderr | 2 +- .../parser/should_fail/cmdFail008.stderr | 3 +- .../parser/should_fail/cmdFail009.stderr | 2 +- .../parser/should_fail/patFail001.stderr | 2 +- .../parser/should_fail/patFail002.stderr | 3 +- .../parser/should_fail/patFail003.stderr | 3 +- .../parser/should_fail/patFail004.stderr | 2 +- .../parser/should_fail/patFail005.stderr | 2 +- .../parser/should_fail/patFail006.stderr | 2 +- .../parser/should_fail/patFail007.stderr | 2 +- .../parser/should_fail/patFail008.stderr | 3 +- .../parser/should_fail/patFail009.stderr | 3 +- .../parser/should_fail/position001.stderr | 3 +- .../parser/should_fail/position002.stderr | 3 +- .../parser/should_fail/proposal-229c.stderr | 2 +- .../parser/should_fail/readFail001.stderr | 14 ++- .../parser/should_fail/readFail002.stderr | 2 +- .../parser/should_fail/readFail003.stderr | 2 +- .../parser/should_fail/readFail004.stderr | 2 +- .../parser/should_fail/readFail005.stderr | 2 +- .../parser/should_fail/readFail006.stderr | 2 +- .../parser/should_fail/readFail007.stderr | 2 +- .../parser/should_fail/readFail009.stderr | 2 +- .../parser/should_fail/readFail011.stderr | 3 +- .../parser/should_fail/readFail012.stderr | 3 +- .../parser/should_fail/readFail013.stderr | 2 +- .../parser/should_fail/readFail014.stderr | 2 +- .../parser/should_fail/readFail015.stderr | 3 +- .../parser/should_fail/readFail017.stderr | 2 +- .../parser/should_fail/readFail018.stderr | 3 +- .../parser/should_fail/readFail019.stderr | 2 +- .../parser/should_fail/readFail020.stderr | 2 +- .../parser/should_fail/readFail022.stderr | 3 +- .../parser/should_fail/readFail024.stderr | 2 +- .../parser/should_fail/readFail025.stderr | 2 +- .../parser/should_fail/readFail026.stderr | 2 +- .../parser/should_fail/readFail027.stderr | 2 +- .../parser/should_fail/readFail029.stderr | 2 +- .../parser/should_fail/readFail030.stderr | 3 +- .../parser/should_fail/readFail031.stderr | 2 +- .../parser/should_fail/readFail032.stderr | 2 +- .../parser/should_fail/readFail033.stderr | 2 +- .../parser/should_fail/readFail034.stderr | 3 +- .../parser/should_fail/readFail039.stderr | 2 +- .../parser/should_fail/readFail040.stderr | 2 +- .../parser/should_fail/readFail044.stderr | 4 +- .../parser/should_fail/readFail046.stderr | 2 +- .../parser/should_fail/readFail047.stderr | 3 +- .../parser/should_fail/readFail048.stderr | 2 +- .../readFailTraditionalRecords1.stderr | 2 +- .../readFailTraditionalRecords2.stderr | 2 +- .../readFailTraditionalRecords3.stderr | 2 +- .../should_fail/strictnessDataCon_A.stderr | 2 +- .../should_fail/strictnessDataCon_B.stderr | 3 +- .../should_fail/typeopsDataCon_A.stderr | 2 +- .../should_fail/typeopsDataCon_B.stderr | 3 +- .../tests/parser/should_fail/typeops_A.stderr | 2 +- .../tests/parser/should_fail/typeops_B.stderr | 3 +- .../tests/parser/should_fail/typeops_C.stderr | 3 +- .../tests/parser/should_fail/typeops_D.stderr | 3 +- .../should_fail/unpack_before_opr.stderr | 2 +- .../should_fail/unpack_empty_type.stderr | 3 +- .../should_fail/unpack_inside_type.stderr | 2 +- testsuite/tests/parser/unicode/T18158b.stderr | 3 +- testsuite/tests/parser/unicode/T18225B.stderr | 4 +- testsuite/tests/parser/unicode/T2302.stderr | 2 +- .../tests/parser/unicode/utf8_002.stderr | 3 +- .../tests/parser/unicode/utf8_003.stderr | 3 +- .../tests/parser/unicode/utf8_004.stderr | 3 +- .../tests/parser/unicode/utf8_005.stderr | 3 +- .../tests/parser/unicode/utf8_010.stderr | 2 +- .../tests/parser/unicode/utf8_011.stderr | 2 +- .../tests/parser/unicode/utf8_020.stderr | 2 +- .../tests/parser/unicode/utf8_021.stderr | 2 +- .../tests/parser/unicode/utf8_022.stderr | 2 +- .../should_compile/ExprSigLocal.stderr | 4 +- .../should_compile/SplicesUsed.stderr | 22 ++-- .../should_compile/SuperCls.stderr | 2 +- .../partial-sigs/should_compile/T10403.stderr | 10 +- .../partial-sigs/should_compile/T10438.stderr | 2 +- .../partial-sigs/should_compile/T10463.stderr | 2 +- .../partial-sigs/should_compile/T10519.stderr | 2 +- .../partial-sigs/should_compile/T11016.stderr | 4 +- .../partial-sigs/should_compile/T11192.stderr | 4 +- .../should_compile/T11339a.stderr | 2 +- .../partial-sigs/should_compile/T11670.stderr | 6 +- .../partial-sigs/should_compile/T12033.stderr | 2 +- .../partial-sigs/should_compile/T12156.stderr | 2 +- .../partial-sigs/should_compile/T12531.stderr | 2 +- .../partial-sigs/should_compile/T12844.stderr | 2 +- .../partial-sigs/should_compile/T12845.stderr | 9 +- .../should_compile/T13324_compile2.stderr | 2 +- .../partial-sigs/should_compile/T13482.stderr | 8 +- .../partial-sigs/should_compile/T14217.stderr | 2 +- .../partial-sigs/should_compile/T14643.stderr | 5 +- .../should_compile/T14643a.stderr | 4 +- .../partial-sigs/should_compile/T14658.stderr | 2 +- .../partial-sigs/should_compile/T14715.stderr | 2 +- .../should_compile/T15039a.stderr | 10 +- .../should_compile/T15039b.stderr | 10 +- .../should_compile/T15039c.stderr | 10 +- .../should_compile/T15039d.stderr | 10 +- .../partial-sigs/should_compile/T16152.stderr | 2 +- .../partial-sigs/should_compile/T16334.stderr | 2 +- .../partial-sigs/should_compile/T16728.stderr | 2 +- .../should_compile/T16728a.stderr | 5 +- .../should_compile/T16728b.stderr | 5 +- .../partial-sigs/should_compile/T18008.stderr | 2 +- .../partial-sigs/should_compile/T18646.stderr | 6 +- .../partial-sigs/should_compile/T20921.stderr | 2 +- .../partial-sigs/should_compile/T21667.stderr | 2 +- .../partial-sigs/should_compile/T21719.stderr | 4 +- .../partial-sigs/should_compile/T22065.stderr | 6 +- .../should_compile/TypedSplice.stderr | 4 +- .../WarningWildcardInstantiations.stderr | 14 +-- .../should_fail/AnnotatedConstraint.stderr | 2 +- .../AnnotatedConstraintNotForgotten.stderr | 2 +- .../should_fail/Defaulting1MROff.stderr | 2 +- ...raintsWildcardInExpressionSignature.stderr | 4 +- ...nstraintsWildcardInPatternSignature.stderr | 2 +- ...aConstraintsWildcardInPatternSplice.stderr | 2 +- ...ConstraintsWildcardInTypeSpliceUsed.stderr | 2 +- .../ExtraConstraintsWildcardNotEnabled.stderr | 2 +- .../ExtraConstraintsWildcardNotLast.stderr | 2 +- .../ExtraConstraintsWildcardNotPresent.stderr | 2 +- .../ExtraConstraintsWildcardTwice.stderr | 2 +- .../should_fail/Forall1Bad.stderr | 2 +- ...antiatedNamedWildcardsInConstraints.stderr | 4 +- .../NamedExtraConstraintsWildcard.stderr | 2 +- .../NamedWildcardExplicitForall.stderr | 10 +- .../NamedWildcardInTypeSplice.stderr | 4 +- .../should_fail/NamedWildcardsEnabled.stderr | 4 +- .../NamedWildcardsNotEnabled.stderr | 4 +- .../NamedWildcardsNotInMonotype.stderr | 2 +- .../NestedExtraConstraintsWildcard.stderr | 2 +- ...NestedNamedExtraConstraintsWildcard.stderr | 2 +- .../PartialClassMethodSignature.stderr | 2 +- .../PartialClassMethodSignature2.stderr | 2 +- .../PartialTypeSignaturesDisabled.stderr | 4 +- .../partial-sigs/should_fail/PatBind3.stderr | 2 +- .../ScopedNamedWildcardsBad.stderr | 2 +- .../partial-sigs/should_fail/T10045.stderr | 2 +- .../partial-sigs/should_fail/T10615.stderr | 8 +- .../partial-sigs/should_fail/T10999.stderr | 6 +- .../partial-sigs/should_fail/T11122.stderr | 2 +- .../partial-sigs/should_fail/T11515.stderr | 2 +- .../partial-sigs/should_fail/T11976.stderr | 2 +- .../partial-sigs/should_fail/T12039.stderr | 2 +- .../partial-sigs/should_fail/T12634.stderr | 2 +- .../partial-sigs/should_fail/T12732.stderr | 6 +- .../should_fail/T13324_fail1.stderr | 4 +- .../should_fail/T13324_fail2.stderr | 4 +- .../partial-sigs/should_fail/T14040a.stderr | 24 ++-- .../partial-sigs/should_fail/T14449.stderr | 2 +- .../partial-sigs/should_fail/T14479.stderr | 2 +- .../partial-sigs/should_fail/T14584.stderr | 8 +- .../partial-sigs/should_fail/T14584a.stderr | 12 +- .../partial-sigs/should_fail/TidyClash.stderr | 4 +- .../should_fail/TidyClash2.stderr | 10 +- .../UnnamedConstraintWildcard1.stderr | 2 +- .../UnnamedConstraintWildcard2.stderr | 2 +- .../should_fail/WildcardInADT1.stderr | 2 +- .../should_fail/WildcardInADT2.stderr | 2 +- .../should_fail/WildcardInADT3.stderr | 2 +- .../should_fail/WildcardInADTContext1.stderr | 2 +- .../should_fail/WildcardInADTContext2.stderr | 2 +- .../should_fail/WildcardInDefault.stderr | 2 +- .../WildcardInDefaultSignature.stderr | 2 +- .../should_fail/WildcardInDeriving.stderr | 2 +- .../WildcardInForeignExport.stderr | 2 +- .../WildcardInForeignImport.stderr | 2 +- .../should_fail/WildcardInGADT1.stderr | 2 +- .../should_fail/WildcardInGADT2.stderr | 2 +- .../should_fail/WildcardInInstanceHead.stderr | 2 +- .../should_fail/WildcardInInstanceSig.stderr | 2 +- .../should_fail/WildcardInNewtype.stderr | 2 +- .../should_fail/WildcardInPatSynSig.stderr | 2 +- .../WildcardInStandaloneDeriving.stderr | 2 +- .../WildcardInTypeFamilyInstanceRHS.stderr | 2 +- .../WildcardInTypeSynonymLHS.stderr | 2 +- .../WildcardInTypeSynonymRHS.stderr | 2 +- .../should_fail/WildcardInstantiations.stderr | 12 +- .../WildcardsInPatternAndExprSig.stderr | 10 +- .../partial-sigs/should_run/T15415.stderr | 12 +- .../tests/patsyn/should_compile/T11213.stderr | 22 ++-- .../tests/patsyn/should_compile/T11283.stderr | 2 +- .../tests/patsyn/should_compile/T11959.stderr | 2 +- .../tests/patsyn/should_compile/T12484.stderr | 2 +- .../patsyn/should_compile/T13441b.stderr | 5 +- .../tests/patsyn/should_fail/T10426.stderr | 2 +- .../tests/patsyn/should_fail/T10873.stderr | 4 +- .../tests/patsyn/should_fail/T11010.stderr | 2 +- .../tests/patsyn/should_fail/T11039.stderr | 2 +- .../tests/patsyn/should_fail/T11053.stderr | 10 +- .../tests/patsyn/should_fail/T11265.stderr | 2 +- .../tests/patsyn/should_fail/T11667.stderr | 8 +- .../tests/patsyn/should_fail/T13470.stderr | 6 +- .../tests/patsyn/should_fail/T15289.stderr | 2 +- .../tests/patsyn/should_fail/T15685.stderr | 2 +- .../tests/patsyn/should_fail/T15692.stderr | 4 +- .../tests/patsyn/should_fail/T15694.stderr | 2 +- .../tests/patsyn/should_fail/T15695.stderr | 4 +- .../tests/patsyn/should_fail/T16900.stderr | 2 +- .../tests/patsyn/should_fail/T18856.stderr | 4 +- .../tests/patsyn/should_fail/T9161-1.stderr | 2 +- .../tests/patsyn/should_fail/T9161-2.stderr | 2 +- .../patsyn/should_fail/UnliftedPSBind.stderr | 2 +- .../patsyn/should_fail/export-class.stderr | 2 +- .../should_fail/export-ps-rec-sel.stderr | 21 ++-- .../patsyn/should_fail/export-syntax.stderr | 2 +- .../should_fail/export-type-synonym.stderr | 10 +- .../patsyn/should_fail/export-type.stderr | 30 ++--- .../patsyn/should_fail/import-syntax.stderr | 5 +- .../tests/patsyn/should_fail/local.stderr | 2 +- .../mixed-pat-syn-record-sels.stderr | 8 +- .../tests/patsyn/should_fail/mono.stderr | 4 +- .../should_fail/records-check-sels.stderr | 2 +- .../patsyn/should_fail/records-exquant.stderr | 2 +- .../should_fail/records-mixing-fields.stderr | 4 +- .../should_fail/records-no-uni-update.stderr | 2 +- .../should_fail/records-no-uni-update2.stderr | 8 +- .../records-nofieldselectors.stderr | 2 +- .../patsyn/should_fail/unboxed-bind.stderr | 2 +- .../should_fail/unboxed-wrapper-naked.stderr | 2 +- testsuite/tests/perf/compiler/T10547.stderr | 2 +- testsuite/tests/perf/compiler/T13035.stderr | 2 +- testsuite/tests/perf/compiler/T16875.stderr | 2 +- testsuite/tests/perf/compiler/T9872a.stderr | 2 +- testsuite/tests/perf/compiler/T9872b.stderr | 2 +- .../tests/perf/compiler/T9872b_defer.stderr | 2 +- testsuite/tests/perf/compiler/T9872c.stderr | 2 +- .../tests/perf/compiler/hard_hole_fits.stderr | 70 +++++------ testsuite/tests/plugins/T19926.stderr | 3 +- testsuite/tests/plugins/T20803b.stderr | 3 +- .../test-defaulting-plugin-fail.stderr | 3 +- .../plugins/test-defaulting-plugin.stderr | 8 +- .../tests/plugins/test-hole-plugin.stderr | 10 +- .../pmcheck/complete_sigs/T13363a.stderr | 2 +- .../pmcheck/complete_sigs/T13363b.stderr | 2 +- .../tests/pmcheck/complete_sigs/T13964.stderr | 4 +- .../tests/pmcheck/complete_sigs/T13965.stderr | 2 +- .../pmcheck/complete_sigs/T14059a.stderr | 8 +- .../pmcheck/complete_sigs/T14059b.stderr | 4 +- .../tests/pmcheck/complete_sigs/T14422.stderr | 4 +- .../tests/pmcheck/complete_sigs/T17386.stderr | 8 +- .../pmcheck/complete_sigs/T18960b.stderr | 4 +- .../tests/pmcheck/complete_sigs/T19475.stderr | 2 +- .../complete_sigs/completesig01.stderr | 2 +- .../complete_sigs/completesig02.stderr | 4 +- .../complete_sigs/completesig04.stderr | 8 +- .../complete_sigs/completesig06.stderr | 10 +- .../complete_sigs/completesig07.stderr | 10 +- .../complete_sigs/completesig08.stderr | 10 +- .../complete_sigs/completesig10.stderr | 8 +- .../complete_sigs/completesig11.stderr | 4 +- .../complete_sigs/completesig14.stderr | 2 +- .../should_compile/CaseOfKnownCon.stderr | 2 +- .../should_compile/EmptyCase001.stderr | 6 +- .../should_compile/EmptyCase002.stderr | 8 +- .../should_compile/EmptyCase003.stderr | 12 +- .../should_compile/EmptyCase004.stderr | 14 +-- .../should_compile/EmptyCase005.stderr | 12 +- .../should_compile/EmptyCase006.stderr | 4 +- .../should_compile/EmptyCase007.stderr | 12 +- .../should_compile/EmptyCase008.stderr | 8 +- .../should_compile/EmptyCase009.stderr | 6 +- .../should_compile/EmptyCase010.stderr | 16 +-- .../should_compile/LongDistanceInfo.stderr | 2 +- .../pmcheck/should_compile/T10746.stderr | 2 +- .../pmcheck/should_compile/T11245.stderr | 2 +- .../pmcheck/should_compile/T11336b.stderr | 2 +- .../pmcheck/should_compile/T11822.stderr | 2 +- .../pmcheck/should_compile/T12957.stderr | 4 +- .../pmcheck/should_compile/T12957a.stderr | 4 +- .../pmcheck/should_compile/T14141.stderr | 4 +- .../pmcheck/should_compile/T15305.stderr | 2 +- .../pmcheck/should_compile/T15450.stderr | 4 +- .../pmcheck/should_compile/T17218.stderr | 4 +- .../pmcheck/should_compile/T17234.stderr | 2 +- .../pmcheck/should_compile/T17248.stderr | 6 +- .../pmcheck/should_compile/T17340.stderr | 26 ++-- .../pmcheck/should_compile/T17465.stderr | 10 +- .../pmcheck/should_compile/T17646.stderr | 6 +- .../pmcheck/should_compile/T17725.stderr | 2 +- .../pmcheck/should_compile/T17729.stderr | 4 +- .../pmcheck/should_compile/T17836b.stderr | 4 +- .../pmcheck/should_compile/T17977.stderr | 2 +- .../pmcheck/should_compile/T17977b.stderr | 2 +- .../pmcheck/should_compile/T18249.stderr | 10 +- .../pmcheck/should_compile/T18341.stderr | 12 +- .../pmcheck/should_compile/T18572.stderr | 6 +- .../pmcheck/should_compile/T18609.stderr | 6 +- .../pmcheck/should_compile/T18610.stderr | 6 +- .../pmcheck/should_compile/T18670.stderr | 4 +- .../pmcheck/should_compile/T18708.stderr | 4 +- .../pmcheck/should_compile/T18932.stderr | 6 +- .../pmcheck/should_compile/T19271.stderr | 2 +- .../pmcheck/should_compile/T20642.stderr | 6 +- .../tests/pmcheck/should_compile/T2204.stderr | 4 +- .../pmcheck/should_compile/T9951b.stderr | 2 +- .../should_compile/TooManyDeltas.stderr | 10 +- .../pmcheck/should_compile/pmc001.stderr | 4 +- .../pmcheck/should_compile/pmc003.stderr | 2 +- .../pmcheck/should_compile/pmc004.stderr | 2 +- .../pmcheck/should_compile/pmc005.stderr | 6 +- .../pmcheck/should_compile/pmc007.stderr | 6 +- .../pmcheck/should_compile/pmc009.stderr | 2 +- testsuite/tests/polykinds/KindVType.stderr | 2 +- testsuite/tests/polykinds/PolyKinds02.stderr | 5 +- testsuite/tests/polykinds/PolyKinds04.stderr | 2 +- testsuite/tests/polykinds/PolyKinds06.stderr | 2 +- testsuite/tests/polykinds/PolyKinds07.stderr | 2 +- testsuite/tests/polykinds/T11142.stderr | 10 +- testsuite/tests/polykinds/T11203.stderr | 2 +- testsuite/tests/polykinds/T11399.stderr | 2 +- testsuite/tests/polykinds/T11466.stderr | 2 +- testsuite/tests/polykinds/T11516.stderr | 2 +- testsuite/tests/polykinds/T11520.stderr | 2 +- testsuite/tests/polykinds/T11611.stderr | 2 +- testsuite/tests/polykinds/T11821a.stderr | 2 +- testsuite/tests/polykinds/T12055a.stderr | 2 +- testsuite/tests/polykinds/T12444.stderr | 2 +- testsuite/tests/polykinds/T12593.stderr | 2 +- testsuite/tests/polykinds/T13267.stderr | 4 +- testsuite/tests/polykinds/T13393.stderr | 2 +- testsuite/tests/polykinds/T13625.stderr | 2 +- testsuite/tests/polykinds/T13659.stderr | 2 +- testsuite/tests/polykinds/T13738.stderr | 4 +- testsuite/tests/polykinds/T13985.stderr | 10 +- testsuite/tests/polykinds/T14172.stderr | 4 +- testsuite/tests/polykinds/T14174.stderr | 2 +- testsuite/tests/polykinds/T14265.stderr | 6 +- testsuite/tests/polykinds/T14520.stderr | 4 +- testsuite/tests/polykinds/T14555.stderr | 2 +- testsuite/tests/polykinds/T14563.stderr | 2 +- testsuite/tests/polykinds/T14580.stderr | 2 +- testsuite/tests/polykinds/T14846.stderr | 4 +- testsuite/tests/polykinds/T15116.stderr | 2 +- testsuite/tests/polykinds/T15116a.stderr | 2 +- testsuite/tests/polykinds/T15577.stderr | 2 +- testsuite/tests/polykinds/T15787.stderr | 2 +- testsuite/tests/polykinds/T15789.stderr | 2 +- testsuite/tests/polykinds/T15804.stderr | 2 +- testsuite/tests/polykinds/T15881.stderr | 2 +- testsuite/tests/polykinds/T15881a.stderr | 2 +- testsuite/tests/polykinds/T16221a.stderr | 2 +- testsuite/tests/polykinds/T16244.stderr | 2 +- testsuite/tests/polykinds/T16245.stderr | 2 +- testsuite/tests/polykinds/T16245a.stderr | 2 +- testsuite/tests/polykinds/T16247.stderr | 2 +- testsuite/tests/polykinds/T16247a.stderr | 2 +- testsuite/tests/polykinds/T16263.stderr | 2 +- testsuite/tests/polykinds/T16762.stderr | 2 +- testsuite/tests/polykinds/T16762a.stderr | 2 +- testsuite/tests/polykinds/T16762c.stderr | 2 +- testsuite/tests/polykinds/T16902.stderr | 2 +- testsuite/tests/polykinds/T17841.stderr | 2 +- testsuite/tests/polykinds/T17963.stderr | 2 +- testsuite/tests/polykinds/T18300.stderr | 3 +- testsuite/tests/polykinds/T18451.stderr | 2 +- testsuite/tests/polykinds/T18451a.stderr | 2 +- testsuite/tests/polykinds/T18451b.stderr | 2 +- testsuite/tests/polykinds/T5716.stderr | 2 +- testsuite/tests/polykinds/T5716a.stderr | 12 +- testsuite/tests/polykinds/T6054.stderr | 2 +- testsuite/tests/polykinds/T6129.stderr | 12 +- testsuite/tests/polykinds/T7224.stderr | 4 +- testsuite/tests/polykinds/T7230.stderr | 2 +- testsuite/tests/polykinds/T7278.stderr | 2 +- testsuite/tests/polykinds/T7328.stderr | 2 +- testsuite/tests/polykinds/T7341.stderr | 10 +- testsuite/tests/polykinds/T7433.stderr | 2 +- testsuite/tests/polykinds/T7438.stderr | 2 +- testsuite/tests/polykinds/T7524.stderr | 2 +- testsuite/tests/polykinds/T7594.stderr | 2 +- testsuite/tests/polykinds/T7805.stderr | 2 +- testsuite/tests/polykinds/T7939a.stderr | 10 +- testsuite/tests/polykinds/T8132.stderr | 2 +- testsuite/tests/polykinds/T8566.stderr | 2 +- testsuite/tests/polykinds/T8616.stderr | 2 +- testsuite/tests/polykinds/T9017.stderr | 2 +- testsuite/tests/polykinds/T9144.stderr | 2 +- testsuite/tests/polykinds/T9200b.stderr | 2 +- .../tests/polykinds/TyVarTvKinds3.stderr | 2 +- testsuite/tests/printer/T14343.stderr | 6 +- testsuite/tests/printer/T14343b.stderr | 6 +- testsuite/tests/printer/T15761.stderr | 2 +- testsuite/tests/printer/T17697.stderr | 4 +- testsuite/tests/printer/Test20315.stderr | 2 +- .../tests/profiling/should_fail/T17916.stderr | 3 +- .../profiling/should_fail/proffail001.stderr | 3 +- .../qualifieddo/should_fail/qdofail001.stderr | 6 +- .../qualifieddo/should_fail/qdofail002.stderr | 4 +- .../qualifieddo/should_fail/qdofail003.stderr | 2 +- .../qualifieddo/should_fail/qdofail004.stderr | 2 +- .../qualifieddo/should_fail/qdofail005.stderr | 2 +- .../quantified-constraints/T15290a.stderr | 2 +- .../quantified-constraints/T15290b.stderr | 2 +- .../quantified-constraints/T15334.stderr | 2 +- .../quantified-constraints/T15918.stderr | 2 +- .../quantified-constraints/T16474.stderr | 14 +-- .../quantified-constraints/T19921.stderr | 2 +- .../quantified-constraints/T21006.stderr | 2 +- testsuite/tests/quasiquotation/T3953.stderr | 6 +- testsuite/tests/quasiquotation/T5204.stderr | 3 +- testsuite/tests/quotes/T10384.stderr | 10 +- .../tests/quotes/TH_abstractFamily.stderr | 2 +- testsuite/tests/quotes/TH_localname.stderr | 4 +- testsuite/tests/rebindable/DoParamM.stderr | 6 +- testsuite/tests/rebindable/T20126.stderr | 2 +- .../tests/rebindable/rebindable11.stderr | 16 +-- .../tests/rebindable/rebindable12.stderr | 6 +- testsuite/tests/rebindable/rebindable6.stderr | 6 +- .../rename/prog002/rename.prog002.stderr | 2 +- .../rename/prog003/rename.prog003.stderr | 3 +- .../ExplicitForAllRules1.stderr | 2 +- .../tests/rename/should_compile/T12597.stderr | 2 +- .../tests/rename/should_compile/T13646.stderr | 2 +- .../tests/rename/should_compile/T1789.stderr | 2 +- .../tests/rename/should_compile/T17c.stderr | 2 +- .../tests/rename/should_compile/T17e.stderr | 2 +- .../tests/rename/should_compile/T1972.stderr | 4 +- .../tests/rename/should_compile/T19984.stderr | 10 +- .../tests/rename/should_compile/T20472.stderr | 6 +- .../tests/rename/should_compile/T20609.stderr | 14 +-- .../rename/should_compile/T20609a.stderr | 2 +- .../rename/should_compile/T20609b.stderr | 2 +- .../rename/should_compile/T20609c.stderr | 4 +- .../rename/should_compile/T20609d.stderr | 2 +- .../tests/rename/should_compile/T2600.stderr | 11 +- .../tests/rename/should_compile/T3262.stderr | 4 +- .../tests/rename/should_compile/T3823.stderr | 10 +- .../tests/rename/should_compile/T4426.stderr | 18 +-- .../tests/rename/should_compile/T4489.stderr | 2 +- .../tests/rename/should_compile/T5334.stderr | 4 +- .../tests/rename/should_compile/T5867.stderr | 4 +- .../tests/rename/should_compile/T7085.stderr | 4 +- .../tests/rename/should_compile/T9778.stderr | 4 +- .../tests/rename/should_compile/rn039.stderr | 2 +- .../tests/rename/should_compile/rn050.stderr | 4 +- .../tests/rename/should_compile/rn064.stderr | 2 +- .../tests/rename/should_compile/rn066.stderr | 4 +- .../should_fail/ExplicitForAllRules2.stderr | 4 +- .../should_fail/RnStaticPointersFail01.stderr | 10 +- .../should_fail/RnStaticPointersFail02.stderr | 2 +- .../should_fail/RnStaticPointersFail03.stderr | 52 ++++---- .../tests/rename/should_fail/T10618.stderr | 2 +- .../tests/rename/should_fail/T10781.stderr | 2 +- .../tests/rename/should_fail/T11071.stderr | 20 ++-- .../tests/rename/should_fail/T11071a.stderr | 10 +- .../tests/rename/should_fail/T11592.stderr | 8 +- .../tests/rename/should_fail/T12229.stderr | 2 +- .../tests/rename/should_fail/T12681.stderr | 2 +- .../tests/rename/should_fail/T12686.stderr | 4 +- .../tests/rename/should_fail/T12879.stderr | 2 +- .../tests/rename/should_fail/T13568.stderr | 2 +- .../tests/rename/should_fail/T13947.stderr | 2 +- .../tests/rename/should_fail/T14225.stderr | 2 +- .../tests/rename/should_fail/T14307.stderr | 3 +- .../tests/rename/should_fail/T14548.stderr | 10 +- .../tests/rename/should_fail/T14591.stderr | 2 +- .../tests/rename/should_fail/T14907a.stderr | 2 +- .../tests/rename/should_fail/T14907b.stderr | 9 +- .../tests/rename/should_fail/T15539.stderr | 2 +- .../tests/rename/should_fail/T15607.stderr | 2 +- .../tests/rename/should_fail/T15611a.stderr | 3 +- .../tests/rename/should_fail/T15611b.stderr | 3 +- .../rename/should_fail/T15957_Fail.stderr | 18 +-- .../tests/rename/should_fail/T1595a.stderr | 2 +- .../tests/rename/should_fail/T16116b.stderr | 2 +- .../tests/rename/should_fail/T16385.stderr | 4 +- .../tests/rename/should_fail/T16504.stderr | 6 +- .../tests/rename/should_fail/T16610.stderr | 2 +- .../tests/rename/should_fail/T17593.stderr | 4 +- .../tests/rename/should_fail/T18145.stderr | 6 +- .../tests/rename/should_fail/T18240a.stderr | 9 +- .../tests/rename/should_fail/T18740a.stderr | 2 +- .../tests/rename/should_fail/T18740b.stderr | 4 +- .../tests/rename/should_fail/T19843a.stderr | 2 +- .../tests/rename/should_fail/T19843b.stderr | 2 +- .../tests/rename/should_fail/T19843c.stderr | 2 +- .../tests/rename/should_fail/T19843d.stderr | 2 +- .../tests/rename/should_fail/T19843e.stderr | 2 +- .../tests/rename/should_fail/T19843f.stderr | 4 +- .../tests/rename/should_fail/T19843g.stderr | 2 +- .../tests/rename/should_fail/T19843h.stderr | 10 +- .../tests/rename/should_fail/T19843i.stderr | 2 +- .../tests/rename/should_fail/T19843j.stderr | 2 +- .../tests/rename/should_fail/T19843k.stderr | 2 +- .../tests/rename/should_fail/T19843l.stderr | 2 +- .../tests/rename/should_fail/T19843m.stderr | 2 +- .../tests/rename/should_fail/T2723.stderr | 2 +- .../tests/rename/should_fail/T2901.stderr | 2 +- .../tests/rename/should_fail/T2993.stderr | 2 +- .../tests/rename/should_fail/T3265.stderr | 4 +- .../tests/rename/should_fail/T495.stderr | 4 +- .../tests/rename/should_fail/T5001b.stderr | 2 +- .../tests/rename/should_fail/T5281.stderr | 2 +- .../tests/rename/should_fail/T5372.stderr | 2 +- .../tests/rename/should_fail/T5513.stderr | 2 +- .../tests/rename/should_fail/T5533.stderr | 2 +- .../tests/rename/should_fail/T5657.stderr | 2 +- .../tests/rename/should_fail/T5745.stderr | 3 +- .../tests/rename/should_fail/T5892a.stderr | 2 +- .../tests/rename/should_fail/T5892b.stderr | 2 +- .../rename/should_fail/T6018rnfail.stderr | 56 +++++---- .../tests/rename/should_fail/T7906.stderr | 2 +- .../tests/rename/should_fail/T7937.stderr | 2 +- .../tests/rename/should_fail/T7943.stderr | 8 +- .../tests/rename/should_fail/T9177.stderr | 7 +- .../tests/rename/should_fail/T9177a.stderr | 5 +- .../tests/rename/should_fail/T9436.stderr | 2 +- .../tests/rename/should_fail/T9437.stderr | 3 +- .../tests/rename/should_fail/T9815.stderr | 2 +- .../tests/rename/should_fail/mc13.stderr | 3 +- .../tests/rename/should_fail/mc14.stderr | 3 +- .../tests/rename/should_fail/rnfail008.stderr | 3 +- .../tests/rename/should_fail/rnfail016.stderr | 2 +- .../rename/should_fail/rnfail016a.stderr | 2 +- .../tests/rename/should_fail/rnfail018.stderr | 12 +- .../tests/rename/should_fail/rnfail022.stderr | 2 +- .../tests/rename/should_fail/rnfail023.stderr | 6 +- .../tests/rename/should_fail/rnfail024.stderr | 2 +- .../tests/rename/should_fail/rnfail025.stderr | 2 +- .../tests/rename/should_fail/rnfail026.stderr | 2 +- .../tests/rename/should_fail/rnfail027.stderr | 2 +- .../tests/rename/should_fail/rnfail028.stderr | 2 +- .../tests/rename/should_fail/rnfail029.stderr | 2 +- .../tests/rename/should_fail/rnfail030.stderr | 2 +- .../tests/rename/should_fail/rnfail031.stderr | 2 +- .../tests/rename/should_fail/rnfail032.stderr | 2 +- .../tests/rename/should_fail/rnfail033.stderr | 2 +- .../tests/rename/should_fail/rnfail034.stderr | 2 +- .../tests/rename/should_fail/rnfail035.stderr | 3 +- .../tests/rename/should_fail/rnfail040.stderr | 4 +- .../tests/rename/should_fail/rnfail041.stderr | 4 +- .../tests/rename/should_fail/rnfail042.stderr | 12 +- .../tests/rename/should_fail/rnfail045.stderr | 4 +- .../tests/rename/should_fail/rnfail049.stderr | 3 +- .../tests/rename/should_fail/rnfail050.stderr | 3 +- .../tests/rename/should_fail/rnfail051.stderr | 2 +- .../tests/rename/should_fail/rnfail052.stderr | 6 +- .../tests/rename/should_fail/rnfail054.stderr | 8 +- .../tests/rename/should_fail/rnfail057.stderr | 2 +- .../tests/rep-poly/EtaExpandStupid2.stderr | 2 +- testsuite/tests/rep-poly/LevPolyLet.stderr | 2 +- testsuite/tests/rep-poly/RepPolyApp.stderr | 2 +- .../tests/rep-poly/RepPolyArgument.stderr | 2 +- .../tests/rep-poly/RepPolyArrowCmd.stderr | 2 +- .../tests/rep-poly/RepPolyArrowFun.stderr | 2 +- .../tests/rep-poly/RepPolyBackpack1.stderr | 2 +- testsuite/tests/rep-poly/RepPolyBinder.stderr | 2 +- testsuite/tests/rep-poly/RepPolyCase1.stderr | 2 +- testsuite/tests/rep-poly/RepPolyCase2.stderr | 2 +- .../tests/rep-poly/RepPolyClassMethod.stderr | 2 +- .../tests/rep-poly/RepPolyDeferred.stderr | 2 +- testsuite/tests/rep-poly/RepPolyDoBind.stderr | 2 +- .../tests/rep-poly/RepPolyDoBody1.stderr | 2 +- .../tests/rep-poly/RepPolyDoBody2.stderr | 2 +- .../tests/rep-poly/RepPolyInferPatBind.stderr | 4 +- .../tests/rep-poly/RepPolyInferPatSyn.stderr | 2 +- testsuite/tests/rep-poly/RepPolyLambda.stderr | 2 +- .../tests/rep-poly/RepPolyLeftSection2.stderr | 2 +- testsuite/tests/rep-poly/RepPolyMagic.stderr | 4 +- testsuite/tests/rep-poly/RepPolyMatch.stderr | 2 +- testsuite/tests/rep-poly/RepPolyMcBind.stderr | 2 +- testsuite/tests/rep-poly/RepPolyMcBody.stderr | 2 +- .../tests/rep-poly/RepPolyMcGuard.stderr | 2 +- testsuite/tests/rep-poly/RepPolyNPlusK.stderr | 2 +- .../tests/rep-poly/RepPolyNewtypePat1.stderr | 4 +- .../tests/rep-poly/RepPolyPatBind.stderr | 2 +- .../tests/rep-poly/RepPolyPatSynArg.stderr | 2 +- .../tests/rep-poly/RepPolyPatSynRes.stderr | 2 +- .../RepPolyPatSynUnliftedNewtype.stderr | 4 +- .../rep-poly/RepPolyRecordPattern.stderr | 8 +- .../tests/rep-poly/RepPolyRecordUpdate.stderr | 6 +- .../tests/rep-poly/RepPolyRightSection.stderr | 2 +- testsuite/tests/rep-poly/RepPolyRule1.stderr | 4 +- testsuite/tests/rep-poly/RepPolyRule2.stderr | 2 +- testsuite/tests/rep-poly/RepPolyRule3.stderr | 4 +- testsuite/tests/rep-poly/RepPolySum.stderr | 4 +- testsuite/tests/rep-poly/RepPolyTuple.stderr | 2 +- testsuite/tests/rep-poly/RepPolyTuple2.stderr | 2 +- .../tests/rep-poly/RepPolyTupleSection.stderr | 2 +- .../rep-poly/RepPolyUnboxedPatterns.stderr | 4 +- .../rep-poly/RepPolyWildcardPattern.stderr | 2 +- .../tests/rep-poly/RepPolyWrappedVar.stderr | 2 +- testsuite/tests/rep-poly/T11473.stderr | 2 +- testsuite/tests/rep-poly/T11724.stderr | 2 +- testsuite/tests/rep-poly/T12709.stderr | 2 +- testsuite/tests/rep-poly/T12973.stderr | 2 +- testsuite/tests/rep-poly/T13233.stderr | 4 +- testsuite/tests/rep-poly/T13929.stderr | 4 +- testsuite/tests/rep-poly/T14561.stderr | 2 +- testsuite/tests/rep-poly/T14561b.stderr | 2 +- testsuite/tests/rep-poly/T14765.stderr | 2 +- testsuite/tests/rep-poly/T17021.stderr | 2 +- testsuite/tests/rep-poly/T17360.stderr | 2 +- testsuite/tests/rep-poly/T17817.stderr | 2 +- testsuite/tests/rep-poly/T18534.stderr | 2 +- testsuite/tests/rep-poly/T19615.stderr | 2 +- testsuite/tests/rep-poly/T19709a.stderr | 2 +- testsuite/tests/rep-poly/T19709b.stderr | 2 +- testsuite/tests/rep-poly/T20113.stderr | 4 +- testsuite/tests/rep-poly/T20277.stderr | 2 +- testsuite/tests/rep-poly/T20363.stderr | 2 +- .../tests/rep-poly/T20363_show_co.stderr | 2 +- testsuite/tests/rep-poly/T20363b.stderr | 2 +- testsuite/tests/rep-poly/T20423.stderr | 2 +- testsuite/tests/rep-poly/T20423b.stderr | 2 +- testsuite/tests/rep-poly/T20426.stderr | 2 +- testsuite/tests/rep-poly/T21650_a.stderr | 4 +- testsuite/tests/rep-poly/T21650_b.stderr | 4 +- .../UnliftedNewtypesCoerceFail.stderr | 2 +- .../UnliftedNewtypesLevityBinder.stderr | 2 +- .../tests/roles/should_fail/Roles10.stderr | 10 +- .../tests/roles/should_fail/Roles7.stderr | 2 +- .../roles/should_fail/RolesIArray.stderr | 112 +++++++++--------- .../tests/safeHaskell/check/Check01.stderr | 4 +- .../tests/safeHaskell/check/Check06.stderr | 4 +- .../tests/safeHaskell/check/Check08.stderr | 4 +- .../tests/safeHaskell/check/Check09.stderr | 8 +- .../safeHaskell/check/pkg01/ImpSafe01.stderr | 4 +- .../safeHaskell/check/pkg01/ImpSafe03.stderr | 4 +- .../safeHaskell/check/pkg01/ImpSafe04.stderr | 4 +- .../check/pkg01/ImpSafeOnly03.stderr | 2 +- .../check/pkg01/ImpSafeOnly05.stderr | 2 +- .../check/pkg01/ImpSafeOnly07.stderr | 8 +- .../check/pkg01/ImpSafeOnly08.stderr | 8 +- .../check/pkg01/ImpSafeOnly09.stderr | 4 +- .../safeHaskell/flags/SafeFlags03.stderr | 3 +- .../safeHaskell/flags/SafeFlags04.stderr | 3 +- .../safeHaskell/flags/SafeFlags07.stderr | 3 +- .../safeHaskell/flags/SafeFlags08.stderr | 3 +- .../safeHaskell/flags/SafeFlags09.stderr | 3 +- .../safeHaskell/flags/SafeFlags17.stderr | 4 +- .../safeHaskell/flags/SafeFlags19.stderr | 2 +- .../safeHaskell/flags/SafeFlags22.stderr | 2 +- .../safeHaskell/flags/SafeFlags23.stderr | 4 +- .../safeHaskell/flags/SafeFlags25.stderr | 2 +- .../safeHaskell/flags/SafeFlags26.stderr | 2 +- .../safeHaskell/flags/SafeFlags28.stderr | 8 +- .../safeHaskell/flags/SafeFlags29.stderr | 8 +- testsuite/tests/safeHaskell/ghci/p10.stderr | 2 +- testsuite/tests/safeHaskell/ghci/p11.stderr | 2 +- testsuite/tests/safeHaskell/ghci/p12.stderr | 5 +- testsuite/tests/safeHaskell/ghci/p13.stderr | 2 +- testsuite/tests/safeHaskell/ghci/p14.stderr | 2 +- testsuite/tests/safeHaskell/ghci/p16.stderr | 6 +- testsuite/tests/safeHaskell/ghci/p17.stderr | 5 +- testsuite/tests/safeHaskell/ghci/p3.stderr | 8 +- testsuite/tests/safeHaskell/ghci/p4.stderr | 7 +- testsuite/tests/safeHaskell/ghci/p6.stderr | 4 +- testsuite/tests/safeHaskell/ghci/p9.stderr | 2 +- .../overlapping/SH_Overlap1.stderr | 2 +- .../overlapping/SH_Overlap11.stderr | 2 +- .../overlapping/SH_Overlap2.stderr | 2 +- .../overlapping/SH_Overlap5.stderr | 2 +- .../overlapping/SH_Overlap6.stderr | 2 +- .../overlapping/SH_Overlap7.stderr | 4 +- .../safeHaskell/safeInfered/Mixed02.stderr | 2 +- .../safeHaskell/safeInfered/Mixed03.stderr | 2 +- .../safeInfered/SafeInfered05.stderr | 2 +- .../safeHaskell/safeInfered/SafeWarn01.stderr | 2 +- .../safeInfered/TrustworthySafe02.stderr | 2 +- .../safeInfered/TrustworthySafe03.stderr | 2 +- .../safeInfered/UnsafeInfered01.stderr | 3 +- .../safeInfered/UnsafeInfered02.stderr | 3 +- .../safeInfered/UnsafeInfered03.stderr | 3 +- .../safeInfered/UnsafeInfered05.stderr | 3 +- .../safeInfered/UnsafeInfered06.stderr | 3 +- .../safeInfered/UnsafeInfered09.stderr | 3 +- .../safeInfered/UnsafeInfered10.stderr | 3 +- .../safeInfered/UnsafeInfered11.stderr | 4 +- .../safeInfered/UnsafeInfered12.stderr | 4 +- .../safeInfered/UnsafeWarn01.stderr | 2 +- .../safeInfered/UnsafeWarn02.stderr | 2 +- .../safeInfered/UnsafeWarn03.stderr | 2 +- .../safeInfered/UnsafeWarn04.stderr | 2 +- .../safeInfered/UnsafeWarn05.stderr | 4 +- .../safeInfered/UnsafeWarn06.stderr | 2 +- .../safeInfered/UnsafeWarn07.stderr | 2 +- .../safeLanguage/SafeLang03.stderr | 2 +- .../safeLanguage/SafeLang08.stderr | 2 +- .../safeLanguage/SafeLang10.stderr | 2 +- .../safeLanguage/SafeLang17.stderr | 2 +- .../safeHaskell/unsafeLibs/BadImport01.stderr | 2 +- .../safeHaskell/unsafeLibs/BadImport06.stderr | 2 +- .../safeHaskell/unsafeLibs/BadImport07.stderr | 2 +- .../safeHaskell/unsafeLibs/BadImport08.stderr | 2 +- .../safeHaskell/unsafeLibs/BadImport09.stderr | 2 +- .../tests/safeHaskell/unsafeLibs/Dep05.stderr | 2 +- .../tests/safeHaskell/unsafeLibs/Dep06.stderr | 2 +- .../tests/safeHaskell/unsafeLibs/Dep07.stderr | 2 +- .../tests/safeHaskell/unsafeLibs/Dep08.stderr | 2 +- .../tests/safeHaskell/unsafeLibs/Dep09.stderr | 2 +- .../tests/safeHaskell/unsafeLibs/Dep10.stderr | 2 +- .../safeHaskell/unsafeLibs/T21433.stderr | 2 +- .../tests/saks/should_fail/T16725.stderr | 2 +- .../tests/saks/should_fail/T16727a.stderr | 2 +- .../tests/saks/should_fail/T16727b.stderr | 2 +- .../tests/saks/should_fail/T16756b.stderr | 2 +- .../tests/saks/should_fail/T16758.stderr | 2 +- .../tests/saks/should_fail/T16826.stderr | 2 +- .../tests/saks/should_fail/T18863a.stderr | 2 +- .../tests/saks/should_fail/T18863b.stderr | 2 +- .../tests/saks/should_fail/T20916.stderr | 2 +- .../saks/should_fail/saks007_fail.stderr | 2 +- .../saks/should_fail/saks_fail003.stderr | 2 +- .../saks/should_fail/saks_fail004.stderr | 2 +- .../saks/should_fail/saks_fail005.stderr | 3 +- .../saks/should_fail/saks_fail006.stderr | 3 +- .../saks/should_fail/saks_fail007.stderr | 2 +- .../saks/should_fail/saks_fail008.stderr | 2 +- .../saks/should_fail/saks_fail009.stderr | 2 +- .../saks/should_fail/saks_fail010.stderr | 2 +- .../saks/should_fail/saks_fail011.stderr | 2 +- .../saks/should_fail/saks_fail012.stderr | 2 +- .../saks/should_fail/saks_fail013.stderr | 3 +- .../saks/should_fail/saks_fail014.stderr | 4 +- .../saks/should_fail/saks_fail015.stderr | 3 +- .../saks/should_fail/saks_fail016.stderr | 3 +- .../saks/should_fail/saks_fail017.stderr | 3 +- .../saks/should_fail/saks_fail018.stderr | 3 +- .../saks/should_fail/saks_fail019.stderr | 2 +- .../saks/should_fail/saks_fail020.stderr | 2 +- .../saks/should_fail/saks_fail021.stderr | 2 +- .../saks/should_fail/saks_fail022.stderr | 2 +- .../saks/should_fail/saks_fail023.stderr | 2 +- .../saks/should_fail/saks_fail024.stderr | 2 +- .../saks/should_fail/saks_fail025.stderr | 2 +- .../saks/should_fail/saks_fail026.stderr | 2 +- .../simplCore/should_compile/T13990.stderr | 2 +- .../simplCore/should_compile/T20200b.stderr | 2 +- .../simplCore/should_compile/T4398.stderr | 2 +- .../should_compile/T6082-RULE.stderr | 10 +- .../simplCore/should_compile/T7287.stderr | 5 +- .../simplCore/should_compile/T8537.stderr | 2 +- .../simplCore/should_compile/T9400.stderr | 4 +- .../simplCore/should_compile/simpl016.stderr | 2 +- .../simplCore/should_compile/simpl017.stderr | 4 +- testsuite/tests/stage1/T13609.stderr | 2 +- .../tcplugins/TcPlugin_EmitWanted.stderr | 2 +- .../tcplugins/TcPlugin_RewritePerf.stderr | 2 +- testsuite/tests/th/T10267.stderr | 4 +- testsuite/tests/th/T10638.stderr | 2 +- testsuite/tests/th/T10945.stderr | 2 +- testsuite/tests/th/T10946.stderr | 2 +- testsuite/tests/th/T11145.stderr | 2 +- testsuite/tests/th/T11452.stderr | 2 +- testsuite/tests/th/T11680.stderr | 22 ++-- testsuite/tests/th/T11941.stderr | 2 +- testsuite/tests/th/T12387.stderr | 2 +- testsuite/tests/th/T12387a.stderr | 8 +- testsuite/tests/th/T12411.stderr | 3 +- testsuite/tests/th/T12513.stderr | 4 +- testsuite/tests/th/T12788.stderr | 2 +- testsuite/tests/th/T13837.stderr | 2 +- testsuite/tests/th/T13968.stderr | 2 +- testsuite/tests/th/T14627.stderr | 2 +- testsuite/tests/th/T15321.stderr | 2 +- testsuite/tests/th/T15360b.stderr | 11 +- testsuite/tests/th/T15433a.stderr | 2 +- testsuite/tests/th/T16980a.stderr | 2 +- testsuite/tests/th/T17380.stderr | 12 +- testsuite/tests/th/T17804.stderr | 4 +- testsuite/tests/th/T18102.stderr | 6 +- testsuite/tests/th/T18740c.stderr | 4 +- testsuite/tests/th/T19709c.stderr | 2 +- testsuite/tests/th/T19709d.stderr | 2 +- testsuite/tests/th/T20179.stderr | 2 +- testsuite/tests/th/T20884.stderr | 2 +- testsuite/tests/th/T2713.stderr | 4 +- testsuite/tests/th/T3177a.stderr | 4 +- testsuite/tests/th/T5358.stderr | 8 +- testsuite/tests/th/T5971.stderr | 2 +- testsuite/tests/th/T6018th.stderr | 2 +- testsuite/tests/th/T7241.stderr | 2 +- testsuite/tests/th/T7276.stderr | 2 +- testsuite/tests/th/T7276a.stdout | 4 +- testsuite/tests/th/T8577.stderr | 2 +- testsuite/tests/th/T9084.stderr | 2 +- testsuite/tests/th/T9209.stderr | 2 +- testsuite/tests/th/TH_1tuple.stderr | 2 +- testsuite/tests/th/TH_dataD1.stderr | 2 +- testsuite/tests/th/TH_linePragma.stderr | 3 +- testsuite/tests/th/TH_recover_warns.stderr | 2 +- testsuite/tests/th/TH_repPatSigTVar.stderr | 2 +- .../TH_overloaded_constraints_fail.stderr | 2 +- .../TH_overloaded_no_instance.stderr | 2 +- .../tests/typecheck/bug1465/bug1465.stderr | 2 +- .../no_skolem_info/KcConDeclSkolem.stderr | 2 +- .../no_skolem_info/KcConDeclSkolem2.stderr | 2 +- .../typecheck/no_skolem_info/T10946_sk.stderr | 2 +- .../typecheck/no_skolem_info/T13499.stderr | 2 +- .../typecheck/no_skolem_info/T14040.stderr | 4 +- .../typecheck/no_skolem_info/T19482.stderr | 2 +- .../typecheck/no_skolem_info/T19752.stderr | 2 +- .../typecheck/no_skolem_info/T19760.stderr | 2 +- .../typecheck/no_skolem_info/T20063.stderr | 2 +- .../typecheck/no_skolem_info/T20232.stderr | 2 +- .../typecheck/no_skolem_info/T20680.stderr | 2 +- .../typecheck/no_skolem_info/T20969.stderr | 4 +- .../typecheck/no_skolem_info/T21306.stderr | 2 +- .../typecheck/should_compile/ExPatFail.stderr | 2 +- .../should_compile/PolytypeDecomp.stderr | 4 +- .../typecheck/should_compile/T10072.stderr | 2 +- .../typecheck/should_compile/T10504.stderr | 2 +- .../typecheck/should_compile/T10632.stderr | 8 +- .../typecheck/should_compile/T10935.stderr | 2 +- .../typecheck/should_compile/T10971a.stderr | 16 +-- .../typecheck/should_compile/T11254.stderr | 4 +- .../typecheck/should_compile/T11339.stderr | 2 +- .../typecheck/should_compile/T12104.stderr | 2 +- .../typecheck/should_compile/T12170b.stderr | 2 +- .../typecheck/should_compile/T12427a.stderr | 6 +- .../typecheck/should_compile/T12734a.stderr | 2 +- .../typecheck/should_compile/T13050.stderr | 6 +- .../typecheck/should_compile/T13381.stderr | 2 +- .../typecheck/should_compile/T13594.stderr | 2 +- .../typecheck/should_compile/T13651.stderr | 2 +- .../typecheck/should_compile/T13785.stderr | 2 +- .../typecheck/should_compile/T14149.stderr | 2 +- .../typecheck/should_compile/T14273.stderr | 8 +- .../typecheck/should_compile/T14590.stderr | 8 +- .../typecheck/should_compile/T15368.stderr | 12 +- .../typecheck/should_compile/T15370.stderr | 6 +- .../typecheck/should_compile/T15839a.stderr | 5 +- .../typecheck/should_compile/T17024.stderr | 2 +- .../should_compile/T17775-viewpats-b.stderr | 2 +- .../should_compile/T17775-viewpats-c.stderr | 2 +- .../should_compile/T17775-viewpats-d.stderr | 2 +- .../typecheck/should_compile/T17792.stderr | 2 +- .../typecheck/should_compile/T17812.stderr | 2 +- .../typecheck/should_compile/T18036a.stderr | 6 +- .../typecheck/should_compile/T18467.stderr | 4 +- .../typecheck/should_compile/T20187a.stderr | 2 +- .../typecheck/should_compile/T20187b.stderr | 2 +- .../typecheck/should_compile/T20602.stderr | 78 ++++++------ .../typecheck/should_compile/T21315.stderr | 2 +- .../typecheck/should_compile/T21951a.stderr | 7 +- .../typecheck/should_compile/T21951b.stderr | 7 +- .../typecheck/should_compile/T2494.stderr | 4 +- .../typecheck/should_compile/T3696.stderr | 2 +- .../typecheck/should_compile/T4912.stderr | 12 +- .../typecheck/should_compile/T5481.stderr | 4 +- .../typecheck/should_compile/T5490.stderr | 2 +- .../typecheck/should_compile/T9497a.stderr | 2 +- .../typecheck/should_compile/T9569a.stderr | 2 +- .../typecheck/should_compile/T9834.stderr | 4 +- .../typecheck/should_compile/T9939.stderr | 8 +- .../should_compile/TypeRepCon.stderr | 4 +- .../typecheck/should_compile/Vta2.stderr | 2 +- .../abstract_refinement_hole_fits.stderr | 4 +- .../constraint_hole_fits.stderr | 2 +- .../free_monad_hole_fits.stderr | 4 +- .../should_compile/hole_constraints.stderr | 10 +- .../hole_constraints_nested.stderr | 2 +- .../typecheck/should_compile/holes.stderr | 8 +- .../typecheck/should_compile/holes2.stderr | 6 +- .../typecheck/should_compile/holes3.stderr | 8 +- .../should_compile/local_hole_fits.stderr | 4 +- .../refinement_hole_fits.stderr | 6 +- .../subsumption_sort_hole_fits.stderr | 2 +- .../typecheck/should_compile/tc017.stderr | 2 +- .../typecheck/should_compile/tc141.stderr | 8 +- .../typecheck/should_compile/tc214.stderr | 4 +- .../typecheck/should_compile/tc231.stderr | 2 +- .../typecheck/should_compile/tc243.stderr | 2 +- .../typecheck/should_compile/tc254.stderr | 2 +- .../type_in_type_hole_fits.stderr | 6 +- .../should_compile/valid_hole_fits.stderr | 20 ++-- .../valid_hole_fits_interactions.stderr | 2 +- .../typecheck/should_fail/AmbigFDs.stderr | 2 +- .../typecheck/should_fail/AssocTyDef01.stderr | 2 +- .../typecheck/should_fail/AssocTyDef04.stderr | 12 +- .../typecheck/should_fail/AssocTyDef07.stderr | 2 +- .../typecheck/should_fail/AssocTyDef08.stderr | 2 +- .../typecheck/should_fail/AssocTyDef09.stderr | 2 +- .../should_fail/ClassOperator.stderr | 8 +- .../should_fail/CustomTypeErrors01.stderr | 2 +- .../should_fail/CustomTypeErrors02.stderr | 2 +- .../should_fail/CustomTypeErrors03.stderr | 8 +- .../should_fail/CustomTypeErrors04.stderr | 2 +- .../should_fail/CustomTypeErrors05.stderr | 2 +- .../should_fail/ExpandSynsFail1.stderr | 2 +- .../should_fail/ExpandSynsFail2.stderr | 2 +- .../should_fail/ExpandSynsFail3.stderr | 2 +- .../should_fail/ExpandSynsFail4.stderr | 2 +- .../should_fail/ExplicitSpecificity1.stderr | 2 +- .../should_fail/ExplicitSpecificity10.stderr | 2 +- .../should_fail/ExplicitSpecificity2.stderr | 2 +- .../should_fail/ExplicitSpecificity3.stderr | 3 +- .../should_fail/ExplicitSpecificity7.stderr | 2 +- .../should_fail/ExplicitSpecificity8.stderr | 2 +- .../tests/typecheck/should_fail/FD1.stderr | 2 +- .../tests/typecheck/should_fail/FD2.stderr | 2 +- .../tests/typecheck/should_fail/FD3.stderr | 2 +- .../should_fail/FDsFromGivens2.stderr | 5 +- .../FailDueToGivenOverlapping.stderr | 2 +- .../should_fail/FrozenErrorTests.stderr | 10 +- .../should_fail/FunDepOrigin1b.stderr | 4 +- .../should_fail/GivenForallLoop.stderr | 2 +- .../tests/typecheck/should_fail/IPFail.stderr | 2 +- .../should_fail/LevPolyBounded.stderr | 4 +- .../should_fail/LongWayOverlapping.stderr | 2 +- .../MissingDefaultMethodBinding.stderr | 6 +- .../should_fail/MissingExportList03.stderr | 2 +- .../tests/typecheck/should_fail/OrdErr.stderr | 5 +- .../tests/typecheck/should_fail/SCLoop.stderr | 2 +- .../typecheck/should_fail/StrictBinds.stderr | 2 +- .../tests/typecheck/should_fail/T10194.stderr | 2 +- .../tests/typecheck/should_fail/T10285.stderr | 2 +- .../tests/typecheck/should_fail/T10351.stderr | 2 +- .../tests/typecheck/should_fail/T10495.stderr | 2 +- .../tests/typecheck/should_fail/T10534.stderr | 2 +- .../tests/typecheck/should_fail/T10619.stderr | 16 +-- .../tests/typecheck/should_fail/T10709.stderr | 12 +- .../typecheck/should_fail/T10709b.stderr | 10 +- .../typecheck/should_fail/T10715b.stderr | 2 +- .../tests/typecheck/should_fail/T10836.stderr | 4 +- .../typecheck/should_fail/T10971b.stderr | 12 +- .../typecheck/should_fail/T10971d.stderr | 6 +- .../tests/typecheck/should_fail/T11112.stderr | 2 +- .../tests/typecheck/should_fail/T11274.stderr | 2 +- .../tests/typecheck/should_fail/T11313.stderr | 2 +- .../tests/typecheck/should_fail/T11347.stderr | 8 +- .../tests/typecheck/should_fail/T11355.stderr | 2 +- .../tests/typecheck/should_fail/T11356.stderr | 2 +- .../tests/typecheck/should_fail/T11464.stderr | 2 +- .../tests/typecheck/should_fail/T11514.stderr | 2 +- .../tests/typecheck/should_fail/T11541.stderr | 2 +- .../tests/typecheck/should_fail/T11563.stderr | 2 +- .../tests/typecheck/should_fail/T11672.stderr | 2 +- .../tests/typecheck/should_fail/T11698.stderr | 3 +- .../typecheck/should_fail/T11947a.stderr | 2 +- .../tests/typecheck/should_fail/T11948.stderr | 2 +- .../typecheck/should_fail/T11974b.stderr | 7 +- .../typecheck/should_fail/T11990a.stderr | 6 +- .../typecheck/should_fail/T11990b.stderr | 6 +- .../typecheck/should_fail/T12045b.stderr | 2 +- .../typecheck/should_fail/T12045c.stderr | 2 +- .../typecheck/should_fail/T12083a.stderr | 2 +- .../typecheck/should_fail/T12083b.stderr | 2 +- .../typecheck/should_fail/T12102b.stderr | 2 +- .../tests/typecheck/should_fail/T12151.stderr | 2 +- .../typecheck/should_fail/T12170a.stderr | 4 +- .../tests/typecheck/should_fail/T12177.stderr | 4 +- .../typecheck/should_fail/T12178a.stderr | 2 +- .../tests/typecheck/should_fail/T12373.stderr | 2 +- .../tests/typecheck/should_fail/T12406.stderr | 2 +- .../tests/typecheck/should_fail/T12430.stderr | 2 +- .../tests/typecheck/should_fail/T12529.stderr | 2 +- .../tests/typecheck/should_fail/T12563.stderr | 2 +- .../tests/typecheck/should_fail/T12589.stderr | 3 +- .../tests/typecheck/should_fail/T12648.stderr | 2 +- .../tests/typecheck/should_fail/T12729.stderr | 2 +- .../typecheck/should_fail/T12785b.stderr | 2 +- .../tests/typecheck/should_fail/T12837.stderr | 6 +- .../tests/typecheck/should_fail/T12906.stderr | 2 +- .../typecheck/should_fail/T12918b.stderr | 2 +- .../tests/typecheck/should_fail/T12921.stderr | 6 +- .../tests/typecheck/should_fail/T12947.stderr | 2 +- .../tests/typecheck/should_fail/T12966.stderr | 2 +- .../tests/typecheck/should_fail/T13068.stderr | 2 +- .../tests/typecheck/should_fail/T13075.stderr | 2 +- .../tests/typecheck/should_fail/T13292.stderr | 6 +- .../tests/typecheck/should_fail/T13311.stderr | 2 +- .../tests/typecheck/should_fail/T13320.stderr | 2 +- .../tests/typecheck/should_fail/T13446.stderr | 2 +- .../tests/typecheck/should_fail/T13487.stderr | 2 +- .../tests/typecheck/should_fail/T13506.stderr | 2 +- .../tests/typecheck/should_fail/T13530.stderr | 2 +- .../tests/typecheck/should_fail/T13610.stderr | 2 +- .../tests/typecheck/should_fail/T13640.stderr | 2 +- .../tests/typecheck/should_fail/T13677.stderr | 2 +- .../tests/typecheck/should_fail/T13819.stderr | 2 +- .../tests/typecheck/should_fail/T13834.stderr | 2 +- .../tests/typecheck/should_fail/T13902.stderr | 2 +- .../tests/typecheck/should_fail/T13909.stderr | 2 +- .../tests/typecheck/should_fail/T13983.stderr | 2 +- .../tests/typecheck/should_fail/T14000.stderr | 3 +- .../typecheck/should_fail/T14048a.stderr | 2 +- .../typecheck/should_fail/T14048b.stderr | 2 +- .../typecheck/should_fail/T14048c.stderr | 2 +- .../tests/typecheck/should_fail/T14055.stderr | 2 +- .../tests/typecheck/should_fail/T14232.stderr | 2 +- .../tests/typecheck/should_fail/T14325.stderr | 2 +- .../tests/typecheck/should_fail/T14390.stderr | 2 +- .../tests/typecheck/should_fail/T14605.stderr | 2 +- .../tests/typecheck/should_fail/T14607.stderr | 8 +- .../tests/typecheck/should_fail/T14618.stderr | 2 +- .../typecheck/should_fail/T14761b.stderr | 3 +- .../tests/typecheck/should_fail/T14884.stderr | 4 +- .../typecheck/should_fail/T14904a.stderr | 4 +- .../typecheck/should_fail/T14904b.stderr | 2 +- .../tests/typecheck/should_fail/T15067.stderr | 2 +- .../tests/typecheck/should_fail/T15330.stderr | 4 +- .../tests/typecheck/should_fail/T15361.stderr | 4 +- .../typecheck/should_fail/T15592a.stderr | 2 +- .../tests/typecheck/should_fail/T15629.stderr | 2 +- .../tests/typecheck/should_fail/T15648.stderr | 4 +- .../tests/typecheck/should_fail/T15712.stderr | 2 +- .../tests/typecheck/should_fail/T15767.stderr | 2 +- .../tests/typecheck/should_fail/T15793.stderr | 2 +- .../tests/typecheck/should_fail/T15797.stderr | 2 +- .../tests/typecheck/should_fail/T15799.stderr | 2 +- .../tests/typecheck/should_fail/T15801.stderr | 2 +- .../tests/typecheck/should_fail/T15816.stderr | 2 +- .../tests/typecheck/should_fail/T15862.stderr | 2 +- .../tests/typecheck/should_fail/T15883.stderr | 2 +- .../typecheck/should_fail/T15883b.stderr | 2 +- .../typecheck/should_fail/T15883c.stderr | 6 +- .../typecheck/should_fail/T15883d.stderr | 2 +- .../typecheck/should_fail/T15883e.stderr | 28 ++--- .../tests/typecheck/should_fail/T1595.stderr | 4 +- .../tests/typecheck/should_fail/T15962.stderr | 4 +- .../typecheck/should_fail/T16059a.stderr | 4 +- .../typecheck/should_fail/T16059c.stderr | 2 +- .../typecheck/should_fail/T16059d.stderr | 4 +- .../typecheck/should_fail/T16059e.stderr | 2 +- .../tests/typecheck/should_fail/T16074.stderr | 2 +- .../typecheck/should_fail/T16204c.stderr | 2 +- .../tests/typecheck/should_fail/T16255.stderr | 4 +- .../tests/typecheck/should_fail/T1633.stderr | 2 +- .../tests/typecheck/should_fail/T16414.stderr | 2 +- .../typecheck/should_fail/T16453E2.stderr | 2 +- .../tests/typecheck/should_fail/T16456.stderr | 2 +- .../typecheck/should_fail/T16512a.stderr | 2 +- .../typecheck/should_fail/T16512b.stderr | 2 +- .../tests/typecheck/should_fail/T16517.stderr | 2 +- .../tests/typecheck/should_fail/T16627.stderr | 2 +- .../typecheck/should_fail/T16646Fail.stderr | 4 +- .../typecheck/should_fail/T16646Fail2.stderr | 2 +- .../tests/typecheck/should_fail/T16821.stderr | 2 +- .../typecheck/should_fail/T16829a.stderr | 2 +- .../typecheck/should_fail/T16829b.stderr | 2 +- .../typecheck/should_fail/T17021b.stderr | 2 +- .../tests/typecheck/should_fail/T17077.stderr | 2 +- .../tests/typecheck/should_fail/T17139.stderr | 4 +- .../tests/typecheck/should_fail/T17173.stderr | 2 +- .../tests/typecheck/should_fail/T17213.stderr | 2 +- .../tests/typecheck/should_fail/T17355.stderr | 4 +- .../tests/typecheck/should_fail/T17563.stderr | 2 +- .../typecheck/should_fail/T17566b.stderr | 2 +- .../typecheck/should_fail/T17566c.stderr | 2 +- .../tests/typecheck/should_fail/T17773.stderr | 2 +- .../tests/typecheck/should_fail/T17775.stderr | 2 +- .../typecheck/should_fail/T18127a.stderr | 8 +- .../typecheck/should_fail/T18357a.stderr | 2 +- .../tests/typecheck/should_fail/T18398.stderr | 4 +- .../tests/typecheck/should_fail/T18406.stderr | 2 +- .../typecheck/should_fail/T18640a.stderr | 2 +- .../typecheck/should_fail/T18640b.stderr | 2 +- .../typecheck/should_fail/T18640c.stderr | 2 +- .../tests/typecheck/should_fail/T18714.stderr | 2 +- .../tests/typecheck/should_fail/T18851.stderr | 2 +- .../typecheck/should_fail/T18851b.stderr | 2 +- .../typecheck/should_fail/T18851c.stderr | 2 +- .../tests/typecheck/should_fail/T18869.stderr | 8 +- .../typecheck/should_fail/T18939_Fail.stderr | 4 +- .../tests/typecheck/should_fail/T1897a.stderr | 2 +- .../tests/typecheck/should_fail/T1899.stderr | 2 +- .../tests/typecheck/should_fail/T19142.stderr | 4 +- .../tests/typecheck/should_fail/T19187.stderr | 2 +- .../tests/typecheck/should_fail/T19346.stderr | 2 +- .../tests/typecheck/should_fail/T19364.stderr | 2 +- .../tests/typecheck/should_fail/T19415.stderr | 2 +- .../tests/typecheck/should_fail/T19915.stderr | 2 +- .../typecheck/should_fail/T19977a.stderr | 2 +- .../typecheck/should_fail/T19977b.stderr | 2 +- .../tests/typecheck/should_fail/T19978.stderr | 6 +- .../tests/typecheck/should_fail/T20043.stderr | 2 +- .../tests/typecheck/should_fail/T20064.stderr | 2 +- .../tests/typecheck/should_fail/T20122.stderr | 2 +- .../tests/typecheck/should_fail/T20189.stderr | 2 +- .../typecheck/should_fail/T20241b.stderr | 4 +- .../typecheck/should_fail/T20443b.stderr | 2 +- .../tests/typecheck/should_fail/T20542.stderr | 2 +- .../typecheck/should_fail/T20768_fail.stderr | 28 ++--- .../tests/typecheck/should_fail/T21130.stderr | 38 +++--- .../tests/typecheck/should_fail/T21158.stderr | 12 +- .../tests/typecheck/should_fail/T21327.stderr | 6 +- .../tests/typecheck/should_fail/T21338.stderr | 30 ++--- .../tests/typecheck/should_fail/T21583.stderr | 9 +- .../tests/typecheck/should_fail/T2307.stderr | 2 +- .../tests/typecheck/should_fail/T2354.stderr | 4 +- .../tests/typecheck/should_fail/T2414.stderr | 2 +- .../tests/typecheck/should_fail/T2534.stderr | 2 +- .../tests/typecheck/should_fail/T2538.stderr | 6 +- .../tests/typecheck/should_fail/T2688.stderr | 2 +- .../tests/typecheck/should_fail/T2714.stderr | 2 +- .../tests/typecheck/should_fail/T2806.stderr | 2 +- .../tests/typecheck/should_fail/T2846b.stderr | 2 +- .../tests/typecheck/should_fail/T2994.stderr | 8 +- .../tests/typecheck/should_fail/T3155.stderr | 2 +- .../tests/typecheck/should_fail/T3176.stderr | 2 +- .../tests/typecheck/should_fail/T3323.stderr | 2 +- .../tests/typecheck/should_fail/T3406.stderr | 2 +- .../tests/typecheck/should_fail/T3540.stderr | 10 +- .../tests/typecheck/should_fail/T3592.stderr | 2 +- .../tests/typecheck/should_fail/T3613.stderr | 4 +- .../tests/typecheck/should_fail/T3950.stderr | 2 +- .../tests/typecheck/should_fail/T4875.stderr | 2 +- .../tests/typecheck/should_fail/T4921.stderr | 4 +- .../tests/typecheck/should_fail/T502.stderr | 2 +- .../tests/typecheck/should_fail/T5084.stderr | 2 +- .../tests/typecheck/should_fail/T5095.stderr | 2 +- .../tests/typecheck/should_fail/T5246.stderr | 2 +- .../tests/typecheck/should_fail/T5300.stderr | 4 +- .../tests/typecheck/should_fail/T5570.stderr | 2 +- .../tests/typecheck/should_fail/T5684.stderr | 4 +- .../tests/typecheck/should_fail/T5684b.stderr | 4 +- .../tests/typecheck/should_fail/T5684c.stderr | 4 +- .../tests/typecheck/should_fail/T5684d.stderr | 4 +- .../tests/typecheck/should_fail/T5684e.stderr | 4 +- .../tests/typecheck/should_fail/T5684f.stderr | 4 +- .../tests/typecheck/should_fail/T5689.stderr | 2 +- .../tests/typecheck/should_fail/T5691.stderr | 4 +- .../tests/typecheck/should_fail/T5853.stderr | 2 +- .../tests/typecheck/should_fail/T5858.stderr | 2 +- .../tests/typecheck/should_fail/T5957.stderr | 2 +- .../tests/typecheck/should_fail/T5978.stderr | 14 +-- .../tests/typecheck/should_fail/T6001.stderr | 2 +- .../typecheck/should_fail/T6018fail.stderr | 52 ++++---- .../should_fail/T6018failclosed.stderr | 24 ++-- .../should_fail/T6018failclosed2.stderr | 4 +- .../tests/typecheck/should_fail/T6022.stderr | 2 +- .../tests/typecheck/should_fail/T6069.stderr | 6 +- .../tests/typecheck/should_fail/T6078.stderr | 2 +- .../tests/typecheck/should_fail/T6161.stderr | 2 +- .../tests/typecheck/should_fail/T7019.stderr | 2 +- .../tests/typecheck/should_fail/T7019a.stderr | 2 +- .../tests/typecheck/should_fail/T7210.stderr | 2 +- .../tests/typecheck/should_fail/T7264.stderr | 2 +- .../tests/typecheck/should_fail/T7279.stderr | 2 +- .../tests/typecheck/should_fail/T7368.stderr | 2 +- .../tests/typecheck/should_fail/T7368a.stderr | 2 +- .../tests/typecheck/should_fail/T7410.stderr | 5 +- .../tests/typecheck/should_fail/T7437.stderr | 2 +- .../tests/typecheck/should_fail/T7453.stderr | 6 +- .../tests/typecheck/should_fail/T7525.stderr | 2 +- .../tests/typecheck/should_fail/T7609.stderr | 6 +- .../tests/typecheck/should_fail/T7645.stderr | 2 +- .../tests/typecheck/should_fail/T7696.stderr | 2 +- .../tests/typecheck/should_fail/T7697.stderr | 5 +- .../tests/typecheck/should_fail/T7734.stderr | 4 +- .../tests/typecheck/should_fail/T7748a.stderr | 2 +- .../tests/typecheck/should_fail/T7778.stderr | 4 +- .../tests/typecheck/should_fail/T7809.stderr | 2 +- .../tests/typecheck/should_fail/T7851.stderr | 2 +- .../tests/typecheck/should_fail/T7856.stderr | 2 +- .../tests/typecheck/should_fail/T7857.stderr | 2 +- .../tests/typecheck/should_fail/T7869.stderr | 2 +- .../tests/typecheck/should_fail/T7892.stderr | 2 +- .../tests/typecheck/should_fail/T7989.stderr | 24 ++-- .../tests/typecheck/should_fail/T8030.stderr | 12 +- .../tests/typecheck/should_fail/T8034.stderr | 6 +- .../tests/typecheck/should_fail/T8044.stderr | 2 +- .../tests/typecheck/should_fail/T8142.stderr | 6 +- .../tests/typecheck/should_fail/T8262.stderr | 2 +- .../tests/typecheck/should_fail/T8428.stderr | 2 +- .../tests/typecheck/should_fail/T8450.stderr | 2 +- .../tests/typecheck/should_fail/T8514.stderr | 10 +- .../tests/typecheck/should_fail/T8603.stderr | 2 +- .../tests/typecheck/should_fail/T8806.stderr | 4 +- .../tests/typecheck/should_fail/T8883.stderr | 2 +- .../tests/typecheck/should_fail/T8912.stderr | 2 +- .../tests/typecheck/should_fail/T9033.stderr | 8 +- .../tests/typecheck/should_fail/T9109.stderr | 2 +- .../tests/typecheck/should_fail/T9196.stderr | 4 +- .../tests/typecheck/should_fail/T9201.stderr | 2 +- .../tests/typecheck/should_fail/T9260.stderr | 2 +- .../tests/typecheck/should_fail/T9305.stderr | 8 +- .../tests/typecheck/should_fail/T9318.stderr | 2 +- .../tests/typecheck/should_fail/T9323.stderr | 8 +- .../tests/typecheck/should_fail/T9497d.stderr | 2 +- .../tests/typecheck/should_fail/T9605.stderr | 2 +- .../tests/typecheck/should_fail/T9612.stderr | 2 +- .../tests/typecheck/should_fail/T9634.stderr | 5 +- .../tests/typecheck/should_fail/T9774.stderr | 2 +- .../tests/typecheck/should_fail/T9858a.stderr | 2 +- .../tests/typecheck/should_fail/T9858b.stderr | 2 +- .../tests/typecheck/should_fail/T9858e.stderr | 2 +- .../tests/typecheck/should_fail/T9999.stderr | 2 +- .../should_fail/TcCoercibleFail.stderr | 14 +-- .../should_fail/TcCoercibleFail2.stderr | 2 +- .../should_fail/TcCoercibleFail3.stderr | 10 +- .../should_fail/TcMultiWayIfFail.stderr | 4 +- .../should_fail/TcNullaryTCFail.stderr | 2 +- .../should_fail/TcStaticPointersFail01.stderr | 2 +- .../should_fail/TcStaticPointersFail02.stderr | 4 +- .../should_fail/TcStaticPointersFail03.stderr | 2 +- .../TyAppPat_ExistentialEscape.stderr | 2 +- .../TyAppPat_MisplacedApplication.stderr | 2 +- .../should_fail/TyAppPat_Nonmatching.stderr | 2 +- .../TyAppPat_PatternBinding.stderr | 2 +- .../TyAppPat_PatternBindingExistential.stderr | 6 +- .../should_fail/TyAppPat_TooMany.stderr | 2 +- .../UnliftedNewtypesConstraintFamily.stderr | 2 +- .../should_fail/UnliftedNewtypesFail.stderr | 7 +- .../UnliftedNewtypesFamilyKindFail1.stderr | 2 +- .../UnliftedNewtypesFamilyKindFail2.stderr | 2 +- .../UnliftedNewtypesInfinite.stderr | 2 +- .../UnliftedNewtypesInstanceFail.stderr | 2 +- .../UnliftedNewtypesMismatchedKind.stderr | 2 +- ...nliftedNewtypesMismatchedKindRecord.stderr | 2 +- .../UnliftedNewtypesMultiFieldGadt.stderr | 4 +- .../UnliftedNewtypesNotEnabled.stderr | 2 +- .../UnliftedNewtypesOverlap.stderr | 2 +- ...iftedNewtypesUnassociatedFamilyFail.stderr | 6 +- .../typecheck/should_fail/VtaFail.stderr | 26 ++-- .../tests/typecheck/should_fail/mc19.stderr | 2 +- .../tests/typecheck/should_fail/mc20.stderr | 2 +- .../tests/typecheck/should_fail/mc21.stderr | 2 +- .../tests/typecheck/should_fail/mc22.stderr | 2 +- .../tests/typecheck/should_fail/mc23.stderr | 2 +- .../tests/typecheck/should_fail/mc24.stderr | 2 +- .../tests/typecheck/should_fail/mc25.stderr | 2 +- .../tests/typecheck/should_fail/tc168.stderr | 2 +- .../tests/typecheck/should_fail/tc168b.stderr | 2 +- .../typecheck/should_fail/tcfail001.stderr | 2 +- .../typecheck/should_fail/tcfail002.stderr | 2 +- .../typecheck/should_fail/tcfail003.stderr | 2 +- .../typecheck/should_fail/tcfail004.stderr | 2 +- .../typecheck/should_fail/tcfail005.stderr | 2 +- .../typecheck/should_fail/tcfail006.stderr | 2 +- .../typecheck/should_fail/tcfail007.stderr | 2 +- .../typecheck/should_fail/tcfail008.stderr | 4 +- .../typecheck/should_fail/tcfail009.stderr | 2 +- .../typecheck/should_fail/tcfail010.stderr | 2 +- .../typecheck/should_fail/tcfail011.stderr | 2 +- .../typecheck/should_fail/tcfail012.stderr | 2 +- .../typecheck/should_fail/tcfail013.stderr | 2 +- .../typecheck/should_fail/tcfail014.stderr | 2 +- .../typecheck/should_fail/tcfail015.stderr | 2 +- .../typecheck/should_fail/tcfail016.stderr | 2 +- .../typecheck/should_fail/tcfail017.stderr | 2 +- .../typecheck/should_fail/tcfail018.stderr | 2 +- .../typecheck/should_fail/tcfail019.stderr | 4 +- .../typecheck/should_fail/tcfail020.stderr | 2 +- .../typecheck/should_fail/tcfail023.stderr | 2 +- .../typecheck/should_fail/tcfail028.stderr | 12 +- .../typecheck/should_fail/tcfail029.stderr | 2 +- .../typecheck/should_fail/tcfail031.stderr | 10 +- .../typecheck/should_fail/tcfail032.stderr | 2 +- .../typecheck/should_fail/tcfail033.stderr | 2 +- .../typecheck/should_fail/tcfail034.stderr | 2 +- .../typecheck/should_fail/tcfail035.stderr | 2 +- .../typecheck/should_fail/tcfail036.stderr | 12 +- .../typecheck/should_fail/tcfail040.stderr | 2 +- .../typecheck/should_fail/tcfail041.stderr | 2 +- .../typecheck/should_fail/tcfail042.stderr | 4 +- .../typecheck/should_fail/tcfail043.stderr | 4 +- .../typecheck/should_fail/tcfail046.stderr | 4 +- .../typecheck/should_fail/tcfail048.stderr | 2 +- .../typecheck/should_fail/tcfail049.stderr | 3 +- .../typecheck/should_fail/tcfail050.stderr | 2 +- .../typecheck/should_fail/tcfail051.stderr | 3 +- .../typecheck/should_fail/tcfail052.stderr | 3 +- .../typecheck/should_fail/tcfail053.stderr | 2 +- .../typecheck/should_fail/tcfail054.stderr | 3 +- .../typecheck/should_fail/tcfail055.stderr | 8 +- .../typecheck/should_fail/tcfail056.stderr | 3 +- .../typecheck/should_fail/tcfail057.stderr | 2 +- .../typecheck/should_fail/tcfail058.stderr | 2 +- .../typecheck/should_fail/tcfail061.stderr | 12 +- .../typecheck/should_fail/tcfail062.stderr | 4 +- .../typecheck/should_fail/tcfail063.stderr | 2 +- .../typecheck/should_fail/tcfail065.stderr | 2 +- .../typecheck/should_fail/tcfail067.stderr | 12 +- .../typecheck/should_fail/tcfail068.stderr | 8 +- .../typecheck/should_fail/tcfail069.stderr | 2 +- .../typecheck/should_fail/tcfail070.stderr | 2 +- .../typecheck/should_fail/tcfail072.stderr | 2 +- .../typecheck/should_fail/tcfail073.stderr | 2 +- .../typecheck/should_fail/tcfail075.stderr | 4 +- .../typecheck/should_fail/tcfail076.stderr | 2 +- .../typecheck/should_fail/tcfail077.stderr | 3 +- .../typecheck/should_fail/tcfail078.stderr | 2 +- .../typecheck/should_fail/tcfail079.stderr | 2 +- .../typecheck/should_fail/tcfail080.stderr | 2 +- .../typecheck/should_fail/tcfail085.stderr | 2 +- .../typecheck/should_fail/tcfail086.stderr | 2 +- .../typecheck/should_fail/tcfail088.stderr | 2 +- .../typecheck/should_fail/tcfail089.stderr | 3 +- .../typecheck/should_fail/tcfail090.stderr | 2 +- .../typecheck/should_fail/tcfail093.stderr | 2 +- .../typecheck/should_fail/tcfail095.stderr | 2 +- .../typecheck/should_fail/tcfail096.stderr | 2 +- .../typecheck/should_fail/tcfail097.stderr | 2 +- .../typecheck/should_fail/tcfail098.stderr | 2 +- .../typecheck/should_fail/tcfail099.stderr | 2 +- .../typecheck/should_fail/tcfail102.stderr | 2 +- .../typecheck/should_fail/tcfail103.stderr | 2 +- .../typecheck/should_fail/tcfail104.stderr | 4 +- .../typecheck/should_fail/tcfail106.stderr | 4 +- .../typecheck/should_fail/tcfail109.stderr | 2 +- .../typecheck/should_fail/tcfail110.stderr | 2 +- .../typecheck/should_fail/tcfail112.stderr | 6 +- .../typecheck/should_fail/tcfail113.stderr | 6 +- .../typecheck/should_fail/tcfail114.stderr | 8 +- .../typecheck/should_fail/tcfail116.stderr | 2 +- .../typecheck/should_fail/tcfail117.stderr | 4 +- .../typecheck/should_fail/tcfail118.stderr | 2 +- .../typecheck/should_fail/tcfail119.stderr | 2 +- .../typecheck/should_fail/tcfail121.stderr | 2 +- .../typecheck/should_fail/tcfail122.stderr | 2 +- .../typecheck/should_fail/tcfail123.stderr | 2 +- .../typecheck/should_fail/tcfail125.stderr | 2 +- .../typecheck/should_fail/tcfail127.stderr | 2 +- .../typecheck/should_fail/tcfail128.stderr | 2 +- .../typecheck/should_fail/tcfail130.stderr | 2 +- .../typecheck/should_fail/tcfail131.stderr | 2 +- .../typecheck/should_fail/tcfail132.stderr | 4 +- .../typecheck/should_fail/tcfail133.stderr | 4 +- .../typecheck/should_fail/tcfail134.stderr | 2 +- .../typecheck/should_fail/tcfail135.stderr | 5 +- .../typecheck/should_fail/tcfail136.stderr | 12 +- .../typecheck/should_fail/tcfail137.stderr | 2 +- .../typecheck/should_fail/tcfail140.stderr | 8 +- .../typecheck/should_fail/tcfail142.stderr | 2 +- .../typecheck/should_fail/tcfail143.stderr | 2 +- .../typecheck/should_fail/tcfail146.stderr | 2 +- .../typecheck/should_fail/tcfail147.stderr | 12 +- .../typecheck/should_fail/tcfail148.stderr | 12 +- .../typecheck/should_fail/tcfail151.stderr | 22 ++-- .../typecheck/should_fail/tcfail152.stderr | 2 +- .../typecheck/should_fail/tcfail153.stderr | 2 +- .../typecheck/should_fail/tcfail158.stderr | 2 +- .../typecheck/should_fail/tcfail159.stderr | 2 +- .../typecheck/should_fail/tcfail160.stderr | 2 +- .../typecheck/should_fail/tcfail161.stderr | 2 +- .../typecheck/should_fail/tcfail162.stderr | 12 +- .../typecheck/should_fail/tcfail164.stderr | 26 ++-- .../typecheck/should_fail/tcfail165.stderr | 2 +- .../typecheck/should_fail/tcfail166.stderr | 2 +- .../typecheck/should_fail/tcfail167.stderr | 4 +- .../typecheck/should_fail/tcfail168.stderr | 2 +- .../typecheck/should_fail/tcfail169.stderr | 2 +- .../typecheck/should_fail/tcfail171.stderr | 2 +- .../typecheck/should_fail/tcfail173.stderr | 2 +- .../typecheck/should_fail/tcfail174.stderr | 4 +- .../typecheck/should_fail/tcfail175.stderr | 2 +- .../typecheck/should_fail/tcfail177.stderr | 44 +++---- .../typecheck/should_fail/tcfail178.stderr | 4 +- .../typecheck/should_fail/tcfail179.stderr | 2 +- .../typecheck/should_fail/tcfail180.stderr | 10 +- .../typecheck/should_fail/tcfail181.stderr | 2 +- .../typecheck/should_fail/tcfail182.stderr | 4 +- .../typecheck/should_fail/tcfail183.stderr | 2 +- .../typecheck/should_fail/tcfail184.stderr | 2 +- .../typecheck/should_fail/tcfail185.stderr | 2 +- .../typecheck/should_fail/tcfail186.stderr | 2 +- .../typecheck/should_fail/tcfail189.stderr | 2 +- .../typecheck/should_fail/tcfail190.stderr | 2 +- .../typecheck/should_fail/tcfail191.stderr | 2 +- .../typecheck/should_fail/tcfail193.stderr | 2 +- .../typecheck/should_fail/tcfail195.stderr | 2 +- .../typecheck/should_fail/tcfail196.stderr | 2 +- .../typecheck/should_fail/tcfail197.stderr | 2 +- .../typecheck/should_fail/tcfail198.stderr | 2 +- .../typecheck/should_fail/tcfail199.stderr | 2 +- .../typecheck/should_fail/tcfail200.stderr | 2 +- .../typecheck/should_fail/tcfail201.stderr | 2 +- .../typecheck/should_fail/tcfail202.stderr | 2 +- .../typecheck/should_fail/tcfail203.stderr | 16 +-- .../typecheck/should_fail/tcfail203a.stderr | 2 +- .../typecheck/should_fail/tcfail204.stderr | 2 +- .../typecheck/should_fail/tcfail206.stderr | 12 +- .../typecheck/should_fail/tcfail207.stderr | 4 +- .../typecheck/should_fail/tcfail208.stderr | 2 +- .../typecheck/should_fail/tcfail209.stderr | 4 +- .../typecheck/should_fail/tcfail209a.stderr | 4 +- .../typecheck/should_fail/tcfail210.stderr | 2 +- .../typecheck/should_fail/tcfail211.stderr | 4 +- .../typecheck/should_fail/tcfail212.stderr | 8 +- .../typecheck/should_fail/tcfail215.stderr | 5 +- .../typecheck/should_fail/tcfail218.stderr | 2 +- .../typecheck/should_fail/tcfail223.stderr | 2 +- .../typecheck/should_fail/tcfail224.stderr | 2 +- .../typecheck/should_fail/tcfail225.stderr | 2 +- .../typecheck/should_fail/too-many.stderr | 4 +- .../typecheck/should_run/KindInvariant.stderr | 2 +- .../tests/typecheck/should_run/T10284.stderr | 2 +- .../tests/typecheck/should_run/T10284.stdout | 2 +- .../tests/typecheck/should_run/T13838.stderr | 2 +- .../tests/typecheck/should_run/T3731.stderr | 2 +- .../typecheck/should_run/T3731_simple.stderr | 2 +- .../typecheck/should_run/T9497a-run.stderr | 2 +- .../typecheck/should_run/T9497b-run.stderr | 2 +- .../typecheck/should_run/T9497c-run.stderr | 2 +- .../typecheck/should_run/Typeable1.stderr | 2 +- .../typecheck/should_run/tcrun042.stderr | 2 +- .../typecheck/should_run/tcrun045.stderr | 6 +- .../unboxedsums/UnboxedSumsTH_Fail.stderr | 3 +- testsuite/tests/unboxedsums/ffi1.stderr | 6 +- .../tests/unboxedsums/unboxedsums4.stderr | 3 +- .../should_fail/UnlDataInvalidResKind1.stderr | 2 +- .../should_fail/UnlDataNullaryPoly.stderr | 2 +- .../tests/warnings/minimal/WarnMinimal.stderr | 6 +- .../warnings/minimal/WarnMinimalFail2.stderr | 2 +- .../warnings/minimal/WarnMinimalFail3.stderr | 2 +- .../warnings/should_compile/DeprU.stderr | 2 +- .../should_compile/DerivingTypeable.stderr | 7 +- .../should_compile/DodgyExports01.stderr | 2 +- .../warnings/should_compile/MissingMod.stderr | 5 +- .../should_compile/Overflow.stderr-ws-32 | 12 +- .../should_compile/Overflow.stderr-ws-64 | 12 +- .../warnings/should_compile/PluralS.stderr | 24 ++-- .../warnings/should_compile/StarBinder.stderr | 8 +- .../should_compile/T10637/T10637.stderr | 2 +- .../should_compile/T10930.stderr-ws-32 | 8 +- .../should_compile/T10930.stderr-ws-64 | 9 +- .../warnings/should_compile/T10930b.stderr | 10 +- .../warnings/should_compile/T11077.stderr | 2 +- .../warnings/should_compile/T12574.stderr | 2 +- .../should_compile/T13256.stderr-ws-32 | 2 +- .../should_compile/T13256.stderr-ws-64 | 2 +- .../should_compile/T13727/T13727a.stderr | 8 +- .../should_compile/T13727/T13727b.stderr | 8 +- .../should_compile/T13727/T13727f.stderr | 10 +- .../should_compile/T13727/T13727g.stderr | 10 +- .../should_compile/T13727/T13727h.stderr | 10 +- .../should_compile/T13727/T13727i.stderr | 10 +- .../should_compile/T13727/T13727j.stderr | 10 +- .../warnings/should_compile/T14794a.stderr | 4 +- .../warnings/should_compile/T14794b.stderr | 2 +- .../warnings/should_compile/T14794c.stderr | 4 +- .../warnings/should_compile/T14794d.stderr | 4 +- .../warnings/should_compile/T14794e.stderr | 2 +- .../warnings/should_compile/T14794f.stderr | 4 +- .../should_compile/T15460.stderr-ws-32 | 2 +- .../should_compile/T15460.stderr-ws-64 | 2 +- .../warnings/should_compile/T18402.stderr | 6 +- .../warnings/should_compile/T18862a.stderr | 2 +- .../warnings/should_compile/T18862b.stderr | 2 +- .../warnings/should_compile/T19296.stderr | 44 +++---- .../warnings/should_compile/T19564a.stderr | 18 +-- .../warnings/should_compile/T19564c.stderr | 18 +-- .../warnings/should_compile/T9178.stderr | 6 +- .../warnings/should_compile/T9230.stderr | 2 +- .../should_compile/UnusedPackages.stderr | 6 +- .../warnings/should_compile/Werror01.stderr | 2 +- .../warnings/should_compile/Werror02.stderr | 3 +- .../should_fail/CaretDiagnostics1.stderr | 14 +-- .../should_fail/CaretDiagnostics2.stderr | 2 +- .../tests/warnings/should_fail/Colour.stderr | 2 +- .../tests/warnings/should_fail/T20263.stderr | 2 +- .../warnings/should_fail/WerrorFail.stderr | 4 +- .../warnings/should_fail/WerrorFail2.stderr | 8 +- .../wcompat-warnings/WCompatWarningsOn.stderr | 2 +- 2224 files changed, 4819 insertions(+), 4578 deletions(-) diff --git a/libraries/base/tests/T9681.stderr b/libraries/base/tests/T9681.stderr index 4db2fa49409f..2b20a22c3e4a 100644 --- a/libraries/base/tests/T9681.stderr +++ b/libraries/base/tests/T9681.stderr @@ -1,5 +1,5 @@ -T9681.hs:3:7: error: +T9681.hs:3:7: error: [GHC-39999] • No instance for ‘Num String’ arising from the literal ‘1’ • In the first argument of ‘(+)’, namely ‘1’ In the expression: 1 + "\n" diff --git a/testsuite/tests/ado/T13242a.stderr b/testsuite/tests/ado/T13242a.stderr index 08b643cd102c..8d24d47249d9 100644 --- a/testsuite/tests/ado/T13242a.stderr +++ b/testsuite/tests/ado/T13242a.stderr @@ -1,12 +1,12 @@ -T13242a.hs:10:5: error: +T13242a.hs:10:5: error: [GHC-46956] • Couldn't match expected type ‘a0’ with actual type ‘a’ - because type variable ‘a’ would escape its scope - This (rigid, skolem) type variable is bound by - a pattern with constructor: A :: forall a. Eq a => a -> T, - in a pattern binding in - a 'do' block - at T13242a.hs:10:3-5 + • because type variable ‘a’ would escape its scope + This (rigid, skolem) type variable is bound by + a pattern with constructor: A :: forall a. Eq a => a -> T, + in a pattern binding in + a 'do' block + at T13242a.hs:10:3-5 • In the expression: do A x <- undefined _ <- return 'a' @@ -20,7 +20,7 @@ T13242a.hs:10:5: error: return (x == x) • Relevant bindings include x :: a (bound at T13242a.hs:10:5) -T13242a.hs:13:13: error: +T13242a.hs:13:13: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘==’ prevents the constraint ‘(Eq a0)’ from being solved. Relevant bindings include x :: a0 (bound at T13242a.hs:10:5) diff --git a/testsuite/tests/ado/T16628.stderr b/testsuite/tests/ado/T16628.stderr index 523d9f471c58..d2e91704cb47 100644 --- a/testsuite/tests/ado/T16628.stderr +++ b/testsuite/tests/ado/T16628.stderr @@ -1,5 +1,5 @@ -T16628.hs:10:5: error: +T16628.hs:10:5: error: [GHC-39999] • No instance for ‘MonadFail Identity’ arising from a do statement with the failable pattern ‘[x]’ diff --git a/testsuite/tests/ado/ado002.stderr b/testsuite/tests/ado/ado002.stderr index 3402d0df5514..e27585060b2a 100644 --- a/testsuite/tests/ado/ado002.stderr +++ b/testsuite/tests/ado/ado002.stderr @@ -1,5 +1,5 @@ -ado002.hs:8:8: error: +ado002.hs:8:8: error: [GHC-83865] • Couldn't match expected type: Char -> IO b0 with actual type: IO Char • The function ‘getChar’ is applied to one value argument, @@ -10,7 +10,7 @@ ado002.hs:8:8: error: y <- getChar 'a' print (x, y) -ado002.hs:9:3: error: +ado002.hs:9:3: error: [GHC-83865] • Couldn't match type ‘()’ with ‘Int’ Expected: IO Int Actual: IO () @@ -24,7 +24,7 @@ ado002.hs:9:3: error: y <- getChar 'a' print (x, y) -ado002.hs:15:11: error: +ado002.hs:15:11: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: y In a stmt of a 'do' block: return (y, x) @@ -33,7 +33,7 @@ ado002.hs:15:11: error: y <- getChar return (y, x) -ado002.hs:15:13: error: +ado002.hs:15:13: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: x In a stmt of a 'do' block: return (y, x) @@ -42,7 +42,7 @@ ado002.hs:15:13: error: y <- getChar return (y, x) -ado002.hs:23:9: error: +ado002.hs:23:9: error: [GHC-83865] • Couldn't match expected type: Char -> IO a0 with actual type: IO Char • The function ‘getChar’ is applied to one value argument, @@ -56,7 +56,7 @@ ado002.hs:23:9: error: x5 <- getChar x4 return (x2, x4) -ado002.hs:24:11: error: +ado002.hs:24:11: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: x2 In a stmt of a 'do' block: return (x2, x4) @@ -68,7 +68,7 @@ ado002.hs:24:11: error: x5 <- getChar x4 return (x2, x4) -ado002.hs:24:14: error: +ado002.hs:24:14: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: x4 In a stmt of a 'do' block: return (x2, x4) diff --git a/testsuite/tests/ado/ado003.stderr b/testsuite/tests/ado/ado003.stderr index cdc5c59d387f..8bf64c195db3 100644 --- a/testsuite/tests/ado/ado003.stderr +++ b/testsuite/tests/ado/ado003.stderr @@ -1,9 +1,9 @@ -ado003.hs:7:3: error: - Couldn't match expected type ‘Int’ with actual type ‘Char’ - In the pattern: 'a' - In a stmt of a 'do' block: 'a' <- return (3 :: Int) - In the expression: - do x <- getChar - 'a' <- return (3 :: Int) - return () +ado003.hs:7:3: error: [GHC-83865] + • Couldn't match expected type ‘Int’ with actual type ‘Char’ + • In the pattern: 'a' + In a stmt of a 'do' block: 'a' <- return (3 :: Int) + In the expression: + do x <- getChar + 'a' <- return (3 :: Int) + return () diff --git a/testsuite/tests/ado/ado005.stderr b/testsuite/tests/ado/ado005.stderr index 3b2c7c9fc108..5a7709644de4 100644 --- a/testsuite/tests/ado/ado005.stderr +++ b/testsuite/tests/ado/ado005.stderr @@ -1,5 +1,5 @@ -ado005.hs:8:3: error: +ado005.hs:8:3: error: [GHC-39999] • Could not deduce ‘Monad f’ arising from a do statement from the context: Applicative f bound by the type signature for: diff --git a/testsuite/tests/annotations/should_fail/T10826.stderr b/testsuite/tests/annotations/should_fail/T10826.stderr index 15ba942e813f..9ff8144b1814 100644 --- a/testsuite/tests/annotations/should_fail/T10826.stderr +++ b/testsuite/tests/annotations/should_fail/T10826.stderr @@ -1,5 +1,5 @@ -T10826.hs:7:1: error: +T10826.hs:7:1: error: [GHC-68934] • Annotations are not compatible with Safe Haskell. See https://gitlab.haskell.org/ghc/ghc/issues/10826 • In the annotation: diff --git a/testsuite/tests/annotations/should_fail/T19374b.stderr b/testsuite/tests/annotations/should_fail/T19374b.stderr index 0d44c4c2e38a..863b7723136b 100644 --- a/testsuite/tests/annotations/should_fail/T19374b.stderr +++ b/testsuite/tests/annotations/should_fail/T19374b.stderr @@ -1,2 +1,3 @@ -T19374b.hs:5:10: error: parse error on input ‘T19347b.%%’ +T19374b.hs:5:10: error: [GHC-58481] + parse error on input ‘T19347b.%%’ diff --git a/testsuite/tests/annotations/should_fail/T19374c.stderr b/testsuite/tests/annotations/should_fail/T19374c.stderr index 55700d006aed..575d0980565c 100644 --- a/testsuite/tests/annotations/should_fail/T19374c.stderr +++ b/testsuite/tests/annotations/should_fail/T19374c.stderr @@ -1,2 +1,3 @@ -T19374c.hs:5:15: error: parse error on input ‘T19347c.%%%’ +T19374c.hs:5:15: error: [GHC-58481] + parse error on input ‘T19347c.%%%’ diff --git a/testsuite/tests/annotations/should_fail/annfail01.stderr b/testsuite/tests/annotations/should_fail/annfail01.stderr index 0aa033fe4372..30874553fa9f 100644 --- a/testsuite/tests/annotations/should_fail/annfail01.stderr +++ b/testsuite/tests/annotations/should_fail/annfail01.stderr @@ -1,9 +1,9 @@ -annfail01.hs:4:14: - No top-level binding for - type constructor or class ‘Foo’ in this module - In the annotation: {-# ANN type Foo (1 :: Int) #-} +annfail01.hs:4:14: error: [GHC-10173] + • No top-level binding for + type constructor or class ‘Foo’ in this module + • In the annotation: {-# ANN type Foo (1 :: Int) #-} -annfail01.hs:5:9: - No top-level binding for ‘f’ in this module - In the annotation: {-# ANN f (1 :: Int) #-} +annfail01.hs:5:9: error: [GHC-10173] + • No top-level binding for ‘f’ in this module + • In the annotation: {-# ANN f (1 :: Int) #-} diff --git a/testsuite/tests/annotations/should_fail/annfail02.stderr b/testsuite/tests/annotations/should_fail/annfail02.stderr index 3c29ec743fbf..c8079e171db1 100644 --- a/testsuite/tests/annotations/should_fail/annfail02.stderr +++ b/testsuite/tests/annotations/should_fail/annfail02.stderr @@ -1,10 +1,9 @@ -annfail02.hs:6:9: - No top-level binding for - data constructor ‘Foo’ in this module - In the annotation: {-# ANN Foo (1 :: Int) #-} +annfail02.hs:6:9: error: [GHC-10173] + • No top-level binding for data constructor ‘Foo’ in this module + • In the annotation: {-# ANN Foo (1 :: Int) #-} -annfail02.hs:7:14: - No top-level binding for - type constructor or class ‘Bar’ in this module - In the annotation: {-# ANN type Bar (2 :: Int) #-} +annfail02.hs:7:14: error: [GHC-10173] + • No top-level binding for + type constructor or class ‘Bar’ in this module + • In the annotation: {-# ANN type Bar (2 :: Int) #-} diff --git a/testsuite/tests/annotations/should_fail/annfail05.stderr b/testsuite/tests/annotations/should_fail/annfail05.stderr index d206bd3a440d..52af5a212a8d 100644 --- a/testsuite/tests/annotations/should_fail/annfail05.stderr +++ b/testsuite/tests/annotations/should_fail/annfail05.stderr @@ -1,5 +1,5 @@ -annfail05.hs:11:1: error: +annfail05.hs:11:1: error: [GHC-39999] • No instance for ‘Data.Data.Data NoInstances’ arising from an annotation • In the annotation: {-# ANN f NoInstances #-} diff --git a/testsuite/tests/annotations/should_fail/annfail07.stderr b/testsuite/tests/annotations/should_fail/annfail07.stderr index e7cd8dd000d1..f4f2fc4637f1 100644 --- a/testsuite/tests/annotations/should_fail/annfail07.stderr +++ b/testsuite/tests/annotations/should_fail/annfail07.stderr @@ -1,5 +1,5 @@ -annfail07.hs:9:17: - Couldn't match expected type ‘[a0]’ with actual type ‘Bool’ - In the first argument of ‘head’, namely ‘True’ - In the annotation: {-# ANN f (head True) #-} +annfail07.hs:9:17: error: [GHC-83865] + • Couldn't match expected type ‘[a0]’ with actual type ‘Bool’ + • In the first argument of ‘head’, namely ‘True’ + In the annotation: {-# ANN f (head True) #-} diff --git a/testsuite/tests/annotations/should_fail/annfail08.stderr b/testsuite/tests/annotations/should_fail/annfail08.stderr index f7b9613f7826..35c9f269b2d9 100644 --- a/testsuite/tests/annotations/should_fail/annfail08.stderr +++ b/testsuite/tests/annotations/should_fail/annfail08.stderr @@ -1,11 +1,11 @@ -annfail08.hs:9:1: error: +annfail08.hs:9:1: error: [GHC-39999] • No instance for ‘Data.Data.Data (a0 -> a0)’ arising from an annotation (maybe you haven't applied a function to enough arguments?) • In the annotation: {-# ANN f (id + 1) #-} -annfail08.hs:9:15: error: +annfail08.hs:9:15: error: [GHC-39999] • No instance for ‘Num (a0 -> a0)’ arising from a use of ‘+’ (maybe you haven't applied a function to enough arguments?) • In the annotation: {-# ANN f (id + 1) #-} diff --git a/testsuite/tests/annotations/should_fail/annfail10.stderr b/testsuite/tests/annotations/should_fail/annfail10.stderr index 9a0272ccb19b..7b7fd968a6c1 100644 --- a/testsuite/tests/annotations/should_fail/annfail10.stderr +++ b/testsuite/tests/annotations/should_fail/annfail10.stderr @@ -1,5 +1,5 @@ -annfail10.hs:9:1: error: +annfail10.hs:9:1: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from an annotation prevents the constraint ‘(Data.Data.Data a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -13,7 +13,7 @@ annfail10.hs:9:1: error: (use -fprint-potential-instances to see them all) • In the annotation: {-# ANN f 1 #-} -annfail10.hs:9:11: error: +annfail10.hs:9:11: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from the literal ‘1’ prevents the constraint ‘(Num a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. diff --git a/testsuite/tests/annotations/should_fail/annfail11.stderr b/testsuite/tests/annotations/should_fail/annfail11.stderr index d110fdda2969..82682cc4cb5e 100644 --- a/testsuite/tests/annotations/should_fail/annfail11.stderr +++ b/testsuite/tests/annotations/should_fail/annfail11.stderr @@ -1,11 +1,11 @@ -annfail11.hs:3:9: error: - No top-level binding for ‘length’ in this module - In the annotation: - {-# ANN length "Cannot annotate other modules yet" #-} +annfail11.hs:3:9: error: [GHC-10173] + • No top-level binding for ‘length’ in this module + • In the annotation: + {-# ANN length "Cannot annotate other modules yet" #-} -annfail11.hs:4:14: error: - No top-level binding for - type constructor or class ‘Integer’ in this module - In the annotation: - {-# ANN type Integer "Cannot annotate other modules yet" #-} +annfail11.hs:4:14: error: [GHC-10173] + • No top-level binding for + type constructor or class ‘Integer’ in this module + • In the annotation: + {-# ANN type Integer "Cannot annotate other modules yet" #-} diff --git a/testsuite/tests/annotations/should_fail/annfail13.stderr b/testsuite/tests/annotations/should_fail/annfail13.stderr index a35e9e70f302..9887457e6210 100644 --- a/testsuite/tests/annotations/should_fail/annfail13.stderr +++ b/testsuite/tests/annotations/should_fail/annfail13.stderr @@ -1,2 +1,2 @@ -annfail13.hs:4:14: parse error on input ‘1’ +annfail13.hs:4:14: error: [GHC-58481] parse error on input ‘1’ diff --git a/testsuite/tests/arrows/gadt/ArrowDict.stderr b/testsuite/tests/arrows/gadt/ArrowDict.stderr index 7e18ba340aee..4fef58440fec 100644 --- a/testsuite/tests/arrows/gadt/ArrowDict.stderr +++ b/testsuite/tests/arrows/gadt/ArrowDict.stderr @@ -1,5 +1,5 @@ -ArrowDict.hs:8:13: error: +ArrowDict.hs:8:13: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: D x In the expression: proc (D x) -> do show -< x diff --git a/testsuite/tests/arrows/gadt/ArrowExistential.stderr b/testsuite/tests/arrows/gadt/ArrowExistential.stderr index 00944f12970b..4b700ca468f4 100644 --- a/testsuite/tests/arrows/gadt/ArrowExistential.stderr +++ b/testsuite/tests/arrows/gadt/ArrowExistential.stderr @@ -1,5 +1,5 @@ -ArrowExistential.hs:16:27: error: +ArrowExistential.hs:16:27: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: Bar a In a case alternative within arrow notation: Bar a -> foo -< a diff --git a/testsuite/tests/arrows/gadt/ArrowGADTKappa.stderr b/testsuite/tests/arrows/gadt/ArrowGADTKappa.stderr index e9b21a297f0a..9783bcc18d6b 100644 --- a/testsuite/tests/arrows/gadt/ArrowGADTKappa.stderr +++ b/testsuite/tests/arrows/gadt/ArrowGADTKappa.stderr @@ -1,5 +1,5 @@ -ArrowGADTKappa.hs:17:26: error: +ArrowGADTKappa.hs:17:26: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: MkG g In an arrow kappa abstraction: \ (MkG g) -> show -< g diff --git a/testsuite/tests/arrows/gadt/ArrowPatSyn1.stderr b/testsuite/tests/arrows/gadt/ArrowPatSyn1.stderr index 5c11f98a3f6f..5913393594df 100644 --- a/testsuite/tests/arrows/gadt/ArrowPatSyn1.stderr +++ b/testsuite/tests/arrows/gadt/ArrowPatSyn1.stderr @@ -1,5 +1,5 @@ -ArrowPatSyn1.hs:16:15: error: +ArrowPatSyn1.hs:16:15: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: P x In the expression: proc (P x) -> show -< x diff --git a/testsuite/tests/arrows/gadt/ArrowPatSyn2.stderr b/testsuite/tests/arrows/gadt/ArrowPatSyn2.stderr index 6274097ded4b..4f862e912131 100644 --- a/testsuite/tests/arrows/gadt/ArrowPatSyn2.stderr +++ b/testsuite/tests/arrows/gadt/ArrowPatSyn2.stderr @@ -1,5 +1,5 @@ -ArrowPatSyn2.hs:16:15: error: +ArrowPatSyn2.hs:16:15: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: P x In the expression: proc (P x) -> MkT -< x diff --git a/testsuite/tests/arrows/gadt/T17423.stderr b/testsuite/tests/arrows/gadt/T17423.stderr index 8e8cf00c9de7..44ab0e56d067 100644 --- a/testsuite/tests/arrows/gadt/T17423.stderr +++ b/testsuite/tests/arrows/gadt/T17423.stderr @@ -1,5 +1,5 @@ -T17423.hs:19:13: error: +T17423.hs:19:13: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: DecoBool i c In the expression: diff --git a/testsuite/tests/arrows/gadt/T20469.stderr b/testsuite/tests/arrows/gadt/T20469.stderr index 719f43db20f7..7a08e9aa16d3 100644 --- a/testsuite/tests/arrows/gadt/T20469.stderr +++ b/testsuite/tests/arrows/gadt/T20469.stderr @@ -1,5 +1,5 @@ -T20469.hs:8:13: error: +T20469.hs:8:13: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: D In the pattern: (D, x) diff --git a/testsuite/tests/arrows/gadt/T20470.stderr b/testsuite/tests/arrows/gadt/T20470.stderr index 761c7d1446c1..0380fd3441a2 100644 --- a/testsuite/tests/arrows/gadt/T20470.stderr +++ b/testsuite/tests/arrows/gadt/T20470.stderr @@ -1,5 +1,5 @@ -T20470.hs:12:5: error: +T20470.hs:12:5: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: A x B In a case alternative within arrow notation: A x B -> id -< x diff --git a/testsuite/tests/arrows/gadt/T5777.stderr b/testsuite/tests/arrows/gadt/T5777.stderr index 614b82989642..3a65e68164d9 100644 --- a/testsuite/tests/arrows/gadt/T5777.stderr +++ b/testsuite/tests/arrows/gadt/T5777.stderr @@ -1,5 +1,5 @@ -T5777.hs:13:18: error: +T5777.hs:13:18: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: BoolVal In the expression: proc BoolVal -> returnA -< () diff --git a/testsuite/tests/arrows/gadt/T9985.stderr b/testsuite/tests/arrows/gadt/T9985.stderr index add3f3c67ba9..5884c5d1aa5e 100644 --- a/testsuite/tests/arrows/gadt/T9985.stderr +++ b/testsuite/tests/arrows/gadt/T9985.stderr @@ -1,5 +1,5 @@ -T9985.hs:29:18: error: +T9985.hs:29:18: error: [GHC-64525] • Proc patterns cannot use existential or GADT data constructors • In the pattern: VNil In the pattern: a :> VNil diff --git a/testsuite/tests/arrows/should_fail/T20768_arrow_fail.stderr b/testsuite/tests/arrows/should_fail/T20768_arrow_fail.stderr index 43be5c220c50..7c6f75cba24f 100644 --- a/testsuite/tests/arrows/should_fail/T20768_arrow_fail.stderr +++ b/testsuite/tests/arrows/should_fail/T20768_arrow_fail.stderr @@ -1,5 +1,5 @@ -T20768_arrow_fail.hs:9:10: error: +T20768_arrow_fail.hs:9:10: error: [GHC-91938] • \cases alternatives within arrow notation have different numbers of arguments T20768_arrow_fail.hs:10:6-54 T20768_arrow_fail.hs:12:6-25 @@ -19,7 +19,7 @@ T20768_arrow_fail.hs:9:10: error: -> returnA -< "none") |) x -T20768_arrow_fail.hs:17:9: error: +T20768_arrow_fail.hs:17:9: error: [GHC-39999] • Could not deduce ‘ArrowChoice p’ arising from an arrow command from the context: Arrow p bound by the type signature for: @@ -51,7 +51,7 @@ T20768_arrow_fail.hs:17:9: error: Nothing -> returnA -< "none") |) x -T20768_arrow_fail.hs:26:21: error: +T20768_arrow_fail.hs:26:21: error: [GHC-39999] • Could not deduce ‘Num (Maybe Int)’ arising from the literal ‘100’ from the context: ArrowChoice p bound by the type signature for: diff --git a/testsuite/tests/arrows/should_fail/T2111.stderr b/testsuite/tests/arrows/should_fail/T2111.stderr index 4d100b309428..36c0de8fbe1b 100644 --- a/testsuite/tests/arrows/should_fail/T2111.stderr +++ b/testsuite/tests/arrows/should_fail/T2111.stderr @@ -1,8 +1,8 @@ -T2111.hs:6:23: +T2111.hs:6:23: error: [GHC-66043] Arrow command found where an expression was expected: undefined -< x -T2111.hs:6:41: +T2111.hs:6:41: error: [GHC-66043] Arrow command found where an expression was expected: undefined -< x diff --git a/testsuite/tests/arrows/should_fail/T5380.stderr b/testsuite/tests/arrows/should_fail/T5380.stderr index a116513014ff..6e01847511ae 100644 --- a/testsuite/tests/arrows/should_fail/T5380.stderr +++ b/testsuite/tests/arrows/should_fail/T5380.stderr @@ -1,5 +1,5 @@ -T5380.hs:7:27: error: +T5380.hs:7:27: error: [GHC-25897] • Couldn't match expected type ‘Bool’ with actual type ‘not_bool’ ‘not_bool’ is a rigid type variable bound by the type signature for: @@ -15,7 +15,7 @@ T5380.hs:7:27: error: testB :: not_bool -> (() -> ()) -> () -> not_unit (bound at T5380.hs:7:1) -T5380.hs:7:34: error: +T5380.hs:7:34: error: [GHC-25897] • Couldn't match type ‘not_unit’ with ‘()’ Expected: () -> not_unit Actual: () -> () diff --git a/testsuite/tests/arrows/should_fail/arrowfail002.stderr b/testsuite/tests/arrows/should_fail/arrowfail002.stderr index 2bb46b971c6d..a768e4f14b29 100644 --- a/testsuite/tests/arrows/should_fail/arrowfail002.stderr +++ b/testsuite/tests/arrows/should_fail/arrowfail002.stderr @@ -1,2 +1,3 @@ -arrowfail002.hs:6:17: error: Variable not in scope: x :: Int +arrowfail002.hs:6:17: error: [GHC-88464] + Variable not in scope: x :: Int diff --git a/testsuite/tests/arrows/should_fail/arrowfail003.stderr b/testsuite/tests/arrows/should_fail/arrowfail003.stderr index 25e8efd0b126..02fe1a4572a0 100644 --- a/testsuite/tests/arrows/should_fail/arrowfail003.stderr +++ b/testsuite/tests/arrows/should_fail/arrowfail003.stderr @@ -1,8 +1,8 @@ -arrowfail003.hs:8:7: +arrowfail003.hs:8:7: error: [GHC-66043] Arrow command found where an expression was expected: returnA -< [] -arrowfail003.hs:9:7: +arrowfail003.hs:9:7: error: [GHC-66043] Arrow command found where an expression was expected: (| zeroArrow |) diff --git a/testsuite/tests/arrows/should_fail/arrowfail004.stderr b/testsuite/tests/arrows/should_fail/arrowfail004.stderr index e479369554b5..32f5c0ce3f7c 100644 --- a/testsuite/tests/arrows/should_fail/arrowfail004.stderr +++ b/testsuite/tests/arrows/should_fail/arrowfail004.stderr @@ -1,7 +1,6 @@ -arrowfail004.hs:12:15: - Proc patterns cannot use existential or GADT data constructors - In the pattern: T x - In the expression: proc (T x) -> do returnA -< T x - In an equation for ‘panic’: - panic = proc (T x) -> do returnA -< T x +arrowfail004.hs:12:15: error: [GHC-64525] + • Proc patterns cannot use existential or GADT data constructors + • In the pattern: T x + In the expression: proc (T x) -> do returnA -< T x + In an equation for ‘panic’: panic = proc (T x) -> do returnA -< T x diff --git a/testsuite/tests/backpack/cabal/bkpcabal03/bkpcabal03.stderr b/testsuite/tests/backpack/cabal/bkpcabal03/bkpcabal03.stderr index f4bd94f64813..4a0bda356017 100644 --- a/testsuite/tests/backpack/cabal/bkpcabal03/bkpcabal03.stderr +++ b/testsuite/tests/backpack/cabal/bkpcabal03/bkpcabal03.stderr @@ -1,2 +1,2 @@ -Mod.hs:4:5: error: Variable not in scope: g :: Int +Mod.hs:4:5: error: [GHC-88464] Variable not in scope: g :: Int diff --git a/testsuite/tests/backpack/cabal/bkpcabal05/bkpcabal05.stderr b/testsuite/tests/backpack/cabal/bkpcabal05/bkpcabal05.stderr index 04a495edb430..2a2d914ad51e 100644 --- a/testsuite/tests/backpack/cabal/bkpcabal05/bkpcabal05.stderr +++ b/testsuite/tests/backpack/cabal/bkpcabal05/bkpcabal05.stderr @@ -1,5 +1,5 @@ -M.hs:4:5: error: +M.hs:4:5: error: [GHC-39999] • No instance for ‘Show T’ arising from a use of ‘show’ • In the expression: show In an equation for ‘f’: f = show diff --git a/testsuite/tests/backpack/should_fail/bkpfail11.stderr b/testsuite/tests/backpack/should_fail/bkpfail11.stderr index 5e1fb8768b59..cfcfdcb0e450 100644 --- a/testsuite/tests/backpack/should_fail/bkpfail11.stderr +++ b/testsuite/tests/backpack/should_fail/bkpfail11.stderr @@ -1,16 +1,16 @@ [1 of 3] Processing sig - [1 of 2] Compiling A[sig] ( sig/A.hsig, nothing ) - [2 of 2] Compiling M ( sig/M.hs, nothing ) + [1 of 2] Compiling A[sig] ( sig\A.hsig, nothing ) + [2 of 2] Compiling M ( sig\M.hs, nothing ) [2 of 3] Processing mod Instantiating mod - [1 of 1] Compiling A ( mod/A.hs, bkpfail11.out/mod/A.o ) + [1 of 1] Compiling A ( mod\A.hs, bkpfail11.out\mod\A.o ) [3 of 3] Processing join Instantiating join [1 of 1] Including sig[A=mod:A] Instantiating sig[A=mod:A] - [1 of 2] Compiling A[sig] ( sig/A.hsig, bkpfail11.out/sig/sig-HyoWTHt34SDIRGEX0vZ8iN/A.o ) + [1 of 2] Compiling A[sig] ( sig\A.hsig, bkpfail11.out\sig\sig-HyoWTHt34SDIRGEX0vZ8iN\A.o ) -bkpfail11.out/sig/sig-HyoWTHt34SDIRGEX0vZ8iN/../A.hi:1:1: error: +bkpfail11.out\sig\sig-HyoWTHt34SDIRGEX0vZ8iN\..\A.hi:1:1: error: [GHC-39999] • No instance for ‘GHC.Show.Show X’ arising when attempting to show that instance [safe] GHC.Show.Show T -- Defined at bkpfail11.bkp:5:18 diff --git a/testsuite/tests/backpack/should_fail/bkpfail18.stderr b/testsuite/tests/backpack/should_fail/bkpfail18.stderr index ac66507f8c19..1754922f3469 100644 --- a/testsuite/tests/backpack/should_fail/bkpfail18.stderr +++ b/testsuite/tests/backpack/should_fail/bkpfail18.stderr @@ -1,12 +1,12 @@ [1 of 1] Processing p - [1 of 1] Compiling ShouldFail[sig] ( p/ShouldFail.hsig, nothing ) + [1 of 1] Compiling ShouldFail[sig] ( p\ShouldFail.hsig, nothing ) -bkpfail18.bkp:3:18: error: +bkpfail18.bkp:3:18: error: [GHC-59692] Duplicate instance declarations: instance Show Int -- Defined at bkpfail18.bkp:3:18 instance Show Int -- Defined in ‘GHC.Show’ -bkpfail18.bkp:4:18: error: +bkpfail18.bkp:4:18: error: [GHC-59692] Duplicate instance declarations: instance Show Int -- Defined at bkpfail18.bkp:4:18 instance Show Int -- Defined in ‘GHC.Show’ diff --git a/testsuite/tests/backpack/should_fail/bkpfail24.stderr b/testsuite/tests/backpack/should_fail/bkpfail24.stderr index 558b5fc97f7e..aa335397571c 100644 --- a/testsuite/tests/backpack/should_fail/bkpfail24.stderr +++ b/testsuite/tests/backpack/should_fail/bkpfail24.stderr @@ -1,9 +1,9 @@ [1 of 1] Processing p - [1 of 3] Compiling H1[sig] ( p/H1.hsig, nothing ) - [2 of 3] Compiling H2[sig] ( p/H2.hsig, nothing ) - [3 of 3] Compiling M ( p/M.hs, nothing ) + [1 of 3] Compiling H1[sig] ( p\H1.hsig, nothing ) + [2 of 3] Compiling H2[sig] ( p\H2.hsig, nothing ) + [3 of 3] Compiling M ( p\M.hs, nothing ) -bkpfail24.bkp:14:15: error: +bkpfail24.bkp:14:15: error: [GHC-25897] • Could not deduce ‘a ~ b’ from the context: {H1.T} ~ {H2.T} bound by the type signature for: @@ -23,7 +23,7 @@ bkpfail24.bkp:14:15: error: x :: a (bound at bkpfail24.bkp:14:11) f :: a -> b (bound at bkpfail24.bkp:14:9) -bkpfail24.bkp:19:15: error: +bkpfail24.bkp:19:15: error: [GHC-83865] • Couldn't match expected type ‘{H2.T}’ with actual type ‘{H1.T}’ NB: ‘{H2.T}’ is defined at bkpfail24.bkp:6:9-14 ‘{H1.T}’ is defined at bkpfail24.bkp:4:9-14 diff --git a/testsuite/tests/backpack/should_fail/bkpfail28.stderr b/testsuite/tests/backpack/should_fail/bkpfail28.stderr index a3ae2f9c28e1..5be604c3519f 100644 --- a/testsuite/tests/backpack/should_fail/bkpfail28.stderr +++ b/testsuite/tests/backpack/should_fail/bkpfail28.stderr @@ -1,12 +1,12 @@ [1 of 3] Processing p - [1 of 1] Compiling A[sig] ( p/A.hsig, nothing ) + [1 of 1] Compiling A[sig] ( p\A.hsig, nothing ) [2 of 3] Processing q - [1 of 1] Compiling A[sig] ( q/A.hsig, nothing ) + [1 of 1] Compiling A[sig] ( q\A.hsig, nothing ) [3 of 3] Processing r - [1 of 4] Compiling A[sig] ( r/A.hsig, nothing ) - [2 of 4] Compiling R ( r/R.hs, nothing ) + [1 of 4] Compiling A[sig] ( r\A.hsig, nothing ) + [2 of 4] Compiling R ( r\R.hs, nothing ) -bkpfail28.bkp:19:13: error: +bkpfail28.bkp:19:13: error: [GHC-43085] • Overlapping instances for Show (K a) arising from a use of ‘show’ Matching instances: instance [safe] Read a => Show (K a) @@ -16,7 +16,7 @@ bkpfail28.bkp:19:13: error: • In the expression: show In an equation for ‘f’: f = show -bkpfail28.bkp:21:13: error: +bkpfail28.bkp:21:13: error: [GHC-43085] • Overlapping instances for Show (K a) arising from a use of ‘show’ Matching instances: instance [safe] Read a => Show (K a) diff --git a/testsuite/tests/backpack/should_fail/bkpfail30.stderr b/testsuite/tests/backpack/should_fail/bkpfail30.stderr index 7c4b8c1fc37a..0b2cf6a21c51 100644 --- a/testsuite/tests/backpack/should_fail/bkpfail30.stderr +++ b/testsuite/tests/backpack/should_fail/bkpfail30.stderr @@ -1,6 +1,6 @@ [1 of 3] Processing p - [1 of 1] Compiling A[sig] ( p/A.hsig, nothing ) + [1 of 1] Compiling A[sig] ( p\A.hsig, nothing ) -<no location info>: error: +<no location info>: error: [GHC-50058] The identifier T does not exist in the local signature. Suggested fix: Try adding it to the export list of the hsig file. diff --git a/testsuite/tests/backpack/should_fail/bkpfail31.stderr b/testsuite/tests/backpack/should_fail/bkpfail31.stderr index 103e6909436b..6d62acd49dba 100644 --- a/testsuite/tests/backpack/should_fail/bkpfail31.stderr +++ b/testsuite/tests/backpack/should_fail/bkpfail31.stderr @@ -1,8 +1,8 @@ [1 of 4] Processing p - [1 of 1] Compiling A[sig] ( p/A.hsig, nothing ) + [1 of 1] Compiling A[sig] ( p\A.hsig, nothing ) [2 of 4] Processing q - [1 of 3] Compiling A[sig] ( q/A.hsig, nothing ) + [1 of 3] Compiling A[sig] ( q\A.hsig, nothing ) -<no location info>: error: +<no location info>: error: [GHC-50058] The identifier T does not exist in the local signature. Suggested fix: Try adding it to the export list of the hsig file. diff --git a/testsuite/tests/backpack/should_fail/bkpfail32.stderr b/testsuite/tests/backpack/should_fail/bkpfail32.stderr index 592199cecdd0..52434ef9b5db 100644 --- a/testsuite/tests/backpack/should_fail/bkpfail32.stderr +++ b/testsuite/tests/backpack/should_fail/bkpfail32.stderr @@ -1,6 +1,6 @@ [1 of 1] Processing p - [1 of 1] Compiling A[sig] ( p/A.hsig, nothing ) + [1 of 1] Compiling A[sig] ( p\A.hsig, nothing ) -bkpfail32.bkp:2:18: error: +bkpfail32.bkp:2:18: error: [GHC-76037] • Not in scope: type constructor or class ‘T’ • while checking the local signature A for consistency diff --git a/testsuite/tests/backpack/should_fail/bkpfail33.stderr b/testsuite/tests/backpack/should_fail/bkpfail33.stderr index addc8d97333b..c335bef57383 100644 --- a/testsuite/tests/backpack/should_fail/bkpfail33.stderr +++ b/testsuite/tests/backpack/should_fail/bkpfail33.stderr @@ -1,9 +1,9 @@ [1 of 2] Processing p - [1 of 1] Compiling A[sig] ( p/A.hsig, nothing ) + [1 of 1] Compiling A[sig] ( p\A.hsig, nothing ) [2 of 2] Processing q - [1 of 2] Compiling A[sig] ( q/A.hsig, nothing ) + [1 of 2] Compiling A[sig] ( q\A.hsig, nothing ) -bkpfail33.bkp:5:18: error: +bkpfail33.bkp:5:18: error: [GHC-76037] • Not in scope: type constructor or class ‘T’ • while merging the signatures from: • p[A=<A>]:A diff --git a/testsuite/tests/backpack/should_fail/bkpfail34.stderr b/testsuite/tests/backpack/should_fail/bkpfail34.stderr index f1d5d03153c0..5b7deded8628 100644 --- a/testsuite/tests/backpack/should_fail/bkpfail34.stderr +++ b/testsuite/tests/backpack/should_fail/bkpfail34.stderr @@ -1,8 +1,8 @@ [1 of 2] Processing p - [1 of 1] Compiling A[sig] ( p/A.hsig, nothing ) + [1 of 1] Compiling A[sig] ( p\A.hsig, nothing ) [2 of 2] Processing q - [1 of 2] Compiling A[sig] ( q/A.hsig, nothing ) + [1 of 2] Compiling A[sig] ( q\A.hsig, nothing ) -<no location info>: error: +<no location info>: error: [GHC-50058] The identifier T does not exist in the local signature. Suggested fix: Try adding it to the export list of the hsig file. diff --git a/testsuite/tests/backpack/should_fail/bkpfail36.stderr b/testsuite/tests/backpack/should_fail/bkpfail36.stderr index 3ec5c6f56b11..9711d3990738 100644 --- a/testsuite/tests/backpack/should_fail/bkpfail36.stderr +++ b/testsuite/tests/backpack/should_fail/bkpfail36.stderr @@ -1,10 +1,10 @@ [1 of 2] Processing p - [1 of 2] Compiling A[sig] ( p/A.hsig, nothing ) - [2 of 2] Compiling B[sig] ( p/B.hsig, nothing ) + [1 of 2] Compiling A[sig] ( p\A.hsig, nothing ) + [2 of 2] Compiling B[sig] ( p\B.hsig, nothing ) [2 of 2] Processing q - [1 of 3] Compiling A[sig] ( q/A.hsig, nothing ) - [2 of 3] Compiling B[sig] ( q/B.hsig, nothing ) + [1 of 3] Compiling A[sig] ( q\A.hsig, nothing ) + [2 of 3] Compiling B[sig] ( q\B.hsig, nothing ) -<no location info>: error: +<no location info>: error: [GHC-44188] The identifier T does not exist in the signature for <A> Suggested fix: Try adding it to the export list of A's hsig file. diff --git a/testsuite/tests/backpack/should_fail/bkpfail40.stderr b/testsuite/tests/backpack/should_fail/bkpfail40.stderr index f221afc7ba55..3878ace4fee1 100644 --- a/testsuite/tests/backpack/should_fail/bkpfail40.stderr +++ b/testsuite/tests/backpack/should_fail/bkpfail40.stderr @@ -1,6 +1,6 @@ [1 of 1] Processing p - [1 of 1] Compiling A[sig] ( p/A.hsig, nothing ) + [1 of 1] Compiling A[sig] ( p\A.hsig, nothing ) -bkpfail40.bkp:3:9: error: +bkpfail40.bkp:3:9: error: [GHC-93006] • Illegal default method in class definition of C in hsig file • In the class declaration for ‘C’ diff --git a/testsuite/tests/backpack/should_fail/bkpfail43.stderr b/testsuite/tests/backpack/should_fail/bkpfail43.stderr index 8d4bd2ff402d..12317880239f 100644 --- a/testsuite/tests/backpack/should_fail/bkpfail43.stderr +++ b/testsuite/tests/backpack/should_fail/bkpfail43.stderr @@ -1,16 +1,16 @@ [1 of 3] Processing p - [1 of 2] Compiling A[sig] ( p/A.hsig, nothing ) - [2 of 2] Compiling B ( p/B.hs, nothing ) + [1 of 2] Compiling A[sig] ( p\A.hsig, nothing ) + [2 of 2] Compiling B ( p\B.hs, nothing ) [2 of 3] Processing q Instantiating q - [1 of 1] Compiling A ( q/A.hs, bkpfail43.out/q/A.o ) + [1 of 1] Compiling A ( q\A.hs, bkpfail43.out\q\A.o ) [3 of 3] Processing r Instantiating r [1 of 1] Including p[A=q:A] Instantiating p[A=q:A] - [1 of 2] Compiling A[sig] ( p/A.hsig, bkpfail43.out/p/p-HVmFlcYSefiK5n1aDP1v7x/A.o ) + [1 of 2] Compiling A[sig] ( p\A.hsig, bkpfail43.out\p\p-HVmFlcYSefiK5n1aDP1v7x\A.o ) -bkpfail43.out/p/p-HVmFlcYSefiK5n1aDP1v7x/../A.hi:1:1: error: +bkpfail43.out\p\p-HVmFlcYSefiK5n1aDP1v7x\..\A.hi:1:1: error: [GHC-39999] • No instance for ‘GHC.Show.Show (a -> b)’ arising when attempting to show that instance [safe] GHC.Show.Show (a -> b) diff --git a/testsuite/tests/backpack/should_fail/bkpfail44.stderr b/testsuite/tests/backpack/should_fail/bkpfail44.stderr index 7fa5dd34c3e5..3f96bc8b5a8a 100644 --- a/testsuite/tests/backpack/should_fail/bkpfail44.stderr +++ b/testsuite/tests/backpack/should_fail/bkpfail44.stderr @@ -1,8 +1,8 @@ [1 of 1] Processing p - [1 of 2] Compiling A[sig] ( p/A.hsig, nothing ) - [2 of 2] Compiling B ( p/B.hs, nothing ) + [1 of 2] Compiling A[sig] ( p\A.hsig, nothing ) + [2 of 2] Compiling B ( p\B.hs, nothing ) -bkpfail44.bkp:10:15: error: +bkpfail44.bkp:10:15: error: [GHC-25897] • Could not deduce ‘a ~ b’ from the context: Coercible (T a) (T b) bound by the type signature for: diff --git a/testsuite/tests/backpack/should_fail/bkpfail48.stderr b/testsuite/tests/backpack/should_fail/bkpfail48.stderr index 27a1f25ac0d5..827e90941588 100644 --- a/testsuite/tests/backpack/should_fail/bkpfail48.stderr +++ b/testsuite/tests/backpack/should_fail/bkpfail48.stderr @@ -1,9 +1,9 @@ [1 of 2] Processing q - [1 of 1] Compiling A[sig] ( q/A.hsig, nothing ) + [1 of 1] Compiling A[sig] ( q\A.hsig, nothing ) [2 of 2] Processing p - [1 of 2] Compiling A[sig] ( p/A.hsig, nothing ) + [1 of 2] Compiling A[sig] ( p\A.hsig, nothing ) -bkpfail48.bkp:6:18: error: +bkpfail48.bkp:6:18: error: [GHC-90973] • The export item ‘module Data.Bool’ is not imported • while merging the signatures from: • q[A=<A>]:A diff --git a/testsuite/tests/backpack/should_fail/bkpfail49.stderr b/testsuite/tests/backpack/should_fail/bkpfail49.stderr index f61be26f1ac2..fa1fa5420769 100644 --- a/testsuite/tests/backpack/should_fail/bkpfail49.stderr +++ b/testsuite/tests/backpack/should_fail/bkpfail49.stderr @@ -4,7 +4,7 @@ [1 of 3] Compiling A[sig] ( q\A.hsig, nothing ) [2 of 3] Compiling M ( q\M.hs, nothing ) -bkpfail49.bkp:11:13: error: +bkpfail49.bkp:11:13: error: [GHC-76037] Not in scope: data constructor ‘A.True’ NB: the module ‘A’ does not export ‘True’. [3 of 3] Instantiating p diff --git a/testsuite/tests/cabal/T12733/T12733.stderr b/testsuite/tests/cabal/T12733/T12733.stderr index bc4156d51883..60bb4f904221 100644 --- a/testsuite/tests/cabal/T12733/T12733.stderr +++ b/testsuite/tests/cabal/T12733/T12733.stderr @@ -1,5 +1,5 @@ -Q2.hs:3:10: error: +Q2.hs:3:10: error: [GHC-59692] Duplicate instance declarations: instance Show (IO a) -- Defined at Q2.hs:3:10 instance [safe] Show (IO a) -- Defined in ‘P’ diff --git a/testsuite/tests/cabal/t18567/T18567.stderr b/testsuite/tests/cabal/t18567/T18567.stderr index bda761bc385d..e6ec7ac6c9f9 100644 --- a/testsuite/tests/cabal/t18567/T18567.stderr +++ b/testsuite/tests/cabal/t18567/T18567.stderr @@ -1,5 +1,5 @@ -<no location info>: warning: [-Wunused-packages] +<no location info>: warning: [GHC-42258] [-Wunused-packages] The following packages were specified via -package or -package-id flags, but were not needed for compilation: - internal-lib-0.1.0.0 (exposed by flag -package-id internal-lib-0.1.0.0-Dq740EWYmHcKhGKUMfjfaX-sublib-unused) diff --git a/testsuite/tests/cabal/t20242/T20242.stderr b/testsuite/tests/cabal/t20242/T20242.stderr index 73c50e8c5157..4d77d234ab1f 100644 --- a/testsuite/tests/cabal/t20242/T20242.stderr +++ b/testsuite/tests/cabal/t20242/T20242.stderr @@ -1,5 +1,5 @@ -Foo.hs-boot:1:1: error: +Foo.hs-boot:1:1: error: [GHC-28623] File name does not match module name: Saw : ‘Main’ Expected: ‘Foo’ diff --git a/testsuite/tests/corelint/T21115.stderr b/testsuite/tests/corelint/T21115.stderr index e7b69f813179..bf293bba7c08 100644 --- a/testsuite/tests/corelint/T21115.stderr +++ b/testsuite/tests/corelint/T21115.stderr @@ -1,12 +1,12 @@ -T21115.hs:10:5: error: +T21115.hs:10:5: error: [GHC-76595] Illegal unboxed floating point literal in pattern: 0.0## -T21115.hs:11:5: error: +T21115.hs:11:5: error: [GHC-76595] Illegal unboxed floating point literal in pattern: 2.0## -T21115.hs:12:5: error: +T21115.hs:12:5: error: [GHC-76595] Illegal unboxed floating point literal in pattern: -0.0## diff --git a/testsuite/tests/count-deps/CountDepsAst.stdout b/testsuite/tests/count-deps/CountDepsAst.stdout index 549958f44b84..423fd1553349 100644 --- a/testsuite/tests/count-deps/CountDepsAst.stdout +++ b/testsuite/tests/count-deps/CountDepsAst.stdout @@ -198,6 +198,7 @@ GHC.Types.CostCentre.State GHC.Types.Cpr GHC.Types.Demand GHC.Types.Error +GHC.Types.Error.Codes GHC.Types.FieldLabel GHC.Types.Fixity GHC.Types.Fixity.Env diff --git a/testsuite/tests/count-deps/CountDepsParser.stdout b/testsuite/tests/count-deps/CountDepsParser.stdout index 62e71fbea3b4..b6e55ec8460d 100644 --- a/testsuite/tests/count-deps/CountDepsParser.stdout +++ b/testsuite/tests/count-deps/CountDepsParser.stdout @@ -205,6 +205,7 @@ GHC.Types.CostCentre.State GHC.Types.Cpr GHC.Types.Demand GHC.Types.Error +GHC.Types.Error.Codes GHC.Types.FieldLabel GHC.Types.Fixity GHC.Types.Fixity.Env diff --git a/testsuite/tests/deSugar/should_compile/DsStrictWarn.stderr b/testsuite/tests/deSugar/should_compile/DsStrictWarn.stderr index 8dedef3b5d98..bcc84558c528 100644 --- a/testsuite/tests/deSugar/should_compile/DsStrictWarn.stderr +++ b/testsuite/tests/deSugar/should_compile/DsStrictWarn.stderr @@ -1,4 +1,4 @@ -DsStrictWarn.hs:7:11: warning: [-Wincomplete-uni-patterns (in -Wall)] +DsStrictWarn.hs:7:11: warning: [GHC-62161] [-Wincomplete-uni-patterns (in -Wall)] Pattern match(es) are non-exhaustive - In a pattern binding: Patterns of type ‘String’ not matched: [] + In a pattern binding: Patterns of type ‘String’ not matched: [] diff --git a/testsuite/tests/deSugar/should_compile/GadtOverlap.stderr b/testsuite/tests/deSugar/should_compile/GadtOverlap.stderr index e618c45c0785..1e73da1acfd5 100644 --- a/testsuite/tests/deSugar/should_compile/GadtOverlap.stderr +++ b/testsuite/tests/deSugar/should_compile/GadtOverlap.stderr @@ -1,4 +1,4 @@ -GadtOverlap.hs:19:1: warning: [-Wincomplete-patterns (in -Wextra)] +GadtOverlap.hs:19:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘h’: Patterns of type ‘T a’ not matched: T3 + In an equation for ‘h’: Patterns of type ‘T a’ not matched: T3 diff --git a/testsuite/tests/deSugar/should_compile/T10662.stderr b/testsuite/tests/deSugar/should_compile/T10662.stderr index e1f8c75c1783..22a510b1e995 100644 --- a/testsuite/tests/deSugar/should_compile/T10662.stderr +++ b/testsuite/tests/deSugar/should_compile/T10662.stderr @@ -1,5 +1,5 @@ -T10662.hs:3:3: warning: [-Wunused-do-bind (in -Wall)] +T10662.hs:3:3: warning: [GHC-81995] [-Wunused-do-bind (in -Wall)] A do-notation statement discarded a result of type ‘String’ Suggested fix: Suppress this warning by saying diff --git a/testsuite/tests/deSugar/should_compile/T13257.stderr-ws-32 b/testsuite/tests/deSugar/should_compile/T13257.stderr-ws-32 index bc98306b79ec..483832f5e2da 100644 --- a/testsuite/tests/deSugar/should_compile/T13257.stderr-ws-32 +++ b/testsuite/tests/deSugar/should_compile/T13257.stderr-ws-32 @@ -1,3 +1,3 @@ -T13257.hs:6:11: warning: [-Woverflowed-literals (in -Wdefault)] +T13257.hs:6:11: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -1 is out of the Word range 0..4294967295 diff --git a/testsuite/tests/deSugar/should_compile/T13257.stderr-ws-64 b/testsuite/tests/deSugar/should_compile/T13257.stderr-ws-64 index 93412f1d4774..8391e2fbf324 100644 --- a/testsuite/tests/deSugar/should_compile/T13257.stderr-ws-64 +++ b/testsuite/tests/deSugar/should_compile/T13257.stderr-ws-64 @@ -1,3 +1,3 @@ -T13257.hs:6:11: warning: [-Woverflowed-literals (in -Wdefault)] +T13257.hs:6:11: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -1 is out of the Word range 0..18446744073709551615 diff --git a/testsuite/tests/deSugar/should_compile/T13290.stderr b/testsuite/tests/deSugar/should_compile/T13290.stderr index dd5bceeb371a..013f5ad97bc5 100644 --- a/testsuite/tests/deSugar/should_compile/T13290.stderr +++ b/testsuite/tests/deSugar/should_compile/T13290.stderr @@ -1,4 +1,4 @@ -T13290.hs:6:1: warning: +T13290.hs:6:1: warning: [GHC-00828] A constructor, Bar, appears as outermost match in RULE lhs. This rule will be ignored. diff --git a/testsuite/tests/deSugar/should_compile/T13870.stderr b/testsuite/tests/deSugar/should_compile/T13870.stderr index 3a5c8e199c08..b44562bdbf9f 100644 --- a/testsuite/tests/deSugar/should_compile/T13870.stderr +++ b/testsuite/tests/deSugar/should_compile/T13870.stderr @@ -1,10 +1,10 @@ -T13870.hs:8:9: warning: [-Wmissing-fields (in -Wdefault)] +T13870.hs:8:9: warning: [GHC-20125] [-Wmissing-fields (in -Wdefault)] • Fields of ‘Just’ not initialised • In the expression: Just {} In an equation for ‘test1’: test1 = Just {} -T13870.hs:14:9: warning: [-Wmissing-fields (in -Wdefault)] +T13870.hs:14:9: warning: [GHC-20125] [-Wmissing-fields (in -Wdefault)] • Fields of ‘Identity’ not initialised: runIdentity :: Int • In the expression: Identity {} diff --git a/testsuite/tests/deSugar/should_compile/T14135.stderr b/testsuite/tests/deSugar/should_compile/T14135.stderr index 8674cbff6623..0ab5fc1ca4d1 100644 --- a/testsuite/tests/deSugar/should_compile/T14135.stderr +++ b/testsuite/tests/deSugar/should_compile/T14135.stderr @@ -1,5 +1,5 @@ -T14135.hs:16:1: warning: [-Wincomplete-patterns (in -Wextra)] +T14135.hs:16:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: - Patterns of type ‘Foo a’ not matched: Foo2 _ + Patterns of type ‘Foo a’ not matched: Foo2 _ diff --git a/testsuite/tests/deSugar/should_compile/T14546a.stderr b/testsuite/tests/deSugar/should_compile/T14546a.stderr index 684501223e4b..a259e12175dd 100644 --- a/testsuite/tests/deSugar/should_compile/T14546a.stderr +++ b/testsuite/tests/deSugar/should_compile/T14546a.stderr @@ -1,56 +1,56 @@ -T14546a.hs:5:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:5:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 1 -> ... -T14546a.hs:6:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:6:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: _ -> ... -T14546a.hs:10:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:10:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 1 -> ... -T14546a.hs:11:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:11:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 2 -> ... -T14546a.hs:15:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:15:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 1 -> ... -T14546a.hs:16:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:16:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: _ -> ... -T14546a.hs:20:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:20:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 1 -> ... -T14546a.hs:21:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:21:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 2 -> ... -T14546a.hs:23:4: warning: [-Wincomplete-patterns (in -Wextra)] +T14546a.hs:23:4: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In a case alternative: Patterns of type ‘Integer’ not matched: 0 + In a case alternative: Patterns of type ‘Integer’ not matched: 0 -T14546a.hs:24:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:24:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 1 -> ... -T14546a.hs:25:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:25:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 2 -> ... -T14546a.hs:27:4: warning: [-Wincomplete-patterns (in -Wextra)] +T14546a.hs:27:4: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In a case alternative: Patterns of type ‘Integer’ not matched: 3 + In a case alternative: Patterns of type ‘Integer’ not matched: 3 -T14546a.hs:28:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:28:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 1 -> ... -T14546a.hs:29:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546a.hs:29:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: 2 -> ... diff --git a/testsuite/tests/deSugar/should_compile/T14546b.stderr b/testsuite/tests/deSugar/should_compile/T14546b.stderr index 00b4286a4897..38f55a8d09f6 100644 --- a/testsuite/tests/deSugar/should_compile/T14546b.stderr +++ b/testsuite/tests/deSugar/should_compile/T14546b.stderr @@ -1,16 +1,16 @@ -T14546b.hs:5:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546b.hs:5:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: ('f' : 'o' : _) -> ... -T14546b.hs:6:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546b.hs:6:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "bar" -> ... -T14546b.hs:10:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546b.hs:10:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "bar" -> ... -T14546b.hs:11:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546b.hs:11:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "baz" -> ... diff --git a/testsuite/tests/deSugar/should_compile/T14546c.stderr b/testsuite/tests/deSugar/should_compile/T14546c.stderr index 0ea6ca001213..0873772add77 100644 --- a/testsuite/tests/deSugar/should_compile/T14546c.stderr +++ b/testsuite/tests/deSugar/should_compile/T14546c.stderr @@ -1,24 +1,24 @@ -T14546c.hs:9:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546c.hs:9:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: ('f' : 'o' : _) -> ... -T14546c.hs:10:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546c.hs:10:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "bar" -> ... -T14546c.hs:14:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546c.hs:14:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "bar" -> ... -T14546c.hs:15:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546c.hs:15:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "baz" -> ... -T14546c.hs:19:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546c.hs:19:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "bar" -> ... -T14546c.hs:20:7: warning: [-Woverlapping-patterns (in -Wdefault)] +T14546c.hs:20:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "baz" -> ... diff --git a/testsuite/tests/deSugar/should_compile/T14546d.stderr b/testsuite/tests/deSugar/should_compile/T14546d.stderr index 4e59e617dc71..415a71afa439 100644 --- a/testsuite/tests/deSugar/should_compile/T14546d.stderr +++ b/testsuite/tests/deSugar/should_compile/T14546d.stderr @@ -4,6 +4,6 @@ T14546d.hs:3:10: warning: [-Wmissing-methods (in -Wdefault)] ‘+’, ‘*’, ‘abs’, ‘signum’, and (either ‘negate’ or ‘-’) • In the instance declaration for ‘Num D’ -T14546d.hs:7:5: warning: [-Wincomplete-patterns (in -Wextra)] +T14546d.hs:7:5: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In a case alternative: Patterns of type ‘D’ not matched: 3 + In a case alternative: Patterns of type ‘D’ not matched: 3 diff --git a/testsuite/tests/deSugar/should_compile/T14773a.stderr b/testsuite/tests/deSugar/should_compile/T14773a.stderr index 49d1ef05fc3d..d02becb2cb98 100644 --- a/testsuite/tests/deSugar/should_compile/T14773a.stderr +++ b/testsuite/tests/deSugar/should_compile/T14773a.stderr @@ -1,5 +1,5 @@ -T14773a.hs:6:12: warning: [-Wincomplete-patterns (in -Wextra)] +T14773a.hs:6:12: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a multi-way if alternative: Guards do not cover entire pattern space diff --git a/testsuite/tests/deSugar/should_compile/T14773b.stderr b/testsuite/tests/deSugar/should_compile/T14773b.stderr index f76eb050e4a9..476529ff2abe 100644 --- a/testsuite/tests/deSugar/should_compile/T14773b.stderr +++ b/testsuite/tests/deSugar/should_compile/T14773b.stderr @@ -1,13 +1,13 @@ -T14773b.hs:4:10: warning: [-Wincomplete-patterns (in -Wextra)] +T14773b.hs:4:10: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a pattern binding guards: Guards do not cover entire pattern space -T14773b.hs:4:12: warning: [-Woverlapping-patterns (in -Wdefault)] +T14773b.hs:4:12: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a pattern binding guards: | False = ... -T14773b.hs:7:12: warning: [-Woverlapping-patterns (in -Wdefault)] +T14773b.hs:7:12: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a pattern binding guards: | False = ... diff --git a/testsuite/tests/deSugar/should_compile/T2395.stderr b/testsuite/tests/deSugar/should_compile/T2395.stderr index d0e8494150c6..ac57c80a7f25 100644 --- a/testsuite/tests/deSugar/should_compile/T2395.stderr +++ b/testsuite/tests/deSugar/should_compile/T2395.stderr @@ -1,4 +1,4 @@ -T2395.hs:13:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T2395.hs:13:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘bar’: bar _ = ... diff --git a/testsuite/tests/deSugar/should_compile/T2409.stderr b/testsuite/tests/deSugar/should_compile/T2409.stderr index 1efc5bae972b..9106cfbd3963 100644 --- a/testsuite/tests/deSugar/should_compile/T2409.stderr +++ b/testsuite/tests/deSugar/should_compile/T2409.stderr @@ -1,8 +1,8 @@ -T2409.hs:6:8: warning: [-Woverlapping-patterns (in -Wdefault)] +T2409.hs:6:8: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f _ | () `seq` False = ... -T2409.hs:10:8: warning: [-Woverlapping-patterns (in -Wdefault)] +T2409.hs:10:8: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g _ | () `seq` False = ... diff --git a/testsuite/tests/deSugar/should_compile/T3263-1.stderr b/testsuite/tests/deSugar/should_compile/T3263-1.stderr index acc59ab3cd14..9cc101b05b7b 100644 --- a/testsuite/tests/deSugar/should_compile/T3263-1.stderr +++ b/testsuite/tests/deSugar/should_compile/T3263-1.stderr @@ -1,10 +1,8 @@ -T3263-1.hs:25:3: warning: [-Wunused-do-bind (in -Wall)] +T3263-1.hs:25:3: warning: [GHC-81995] [-Wunused-do-bind (in -Wall)] A do-notation statement discarded a result of type ‘Int’ - Suggested fix: - Suppress this warning by saying ‘_ <- nonNullM’ + Suggested fix: Suppress this warning by saying ‘_ <- nonNullM’ -T3263-1.hs:35:3: warning: [-Wunused-do-bind (in -Wall)] +T3263-1.hs:35:3: warning: [GHC-81995] [-Wunused-do-bind (in -Wall)] A do-notation statement discarded a result of type ‘Int’ - Suggested fix: - Suppress this warning by saying ‘_ <- nonNullM’ + Suggested fix: Suppress this warning by saying ‘_ <- nonNullM’ diff --git a/testsuite/tests/deSugar/should_compile/T3263-2.stderr b/testsuite/tests/deSugar/should_compile/T3263-2.stderr index 32c3bc3ad803..b3e1a588009b 100644 --- a/testsuite/tests/deSugar/should_compile/T3263-2.stderr +++ b/testsuite/tests/deSugar/should_compile/T3263-2.stderr @@ -1,10 +1,10 @@ -T3263-2.hs:25:3: warning: [-Wwrong-do-bind (in -Wdefault)] +T3263-2.hs:25:3: warning: [GHC-08838] [-Wwrong-do-bind (in -Wdefault)] A do-notation statement discarded a result of type ‘m Int’ Suggested fix: Suppress this warning by saying ‘_ <- return (return 10 :: m Int)’ -T3263-2.hs:37:3: warning: [-Wwrong-do-bind (in -Wdefault)] +T3263-2.hs:37:3: warning: [GHC-08838] [-Wwrong-do-bind (in -Wdefault)] A do-notation statement discarded a result of type ‘m Int’ Suggested fix: Suppress this warning by saying ‘_ <- return (return 10 :: m Int)’ diff --git a/testsuite/tests/deSugar/should_compile/T4488.stderr b/testsuite/tests/deSugar/should_compile/T4488.stderr index 39835142963b..3a2186200096 100644 --- a/testsuite/tests/deSugar/should_compile/T4488.stderr +++ b/testsuite/tests/deSugar/should_compile/T4488.stderr @@ -1,16 +1,16 @@ -T4488.hs:11:11: warning: [-Widentities] +T4488.hs:11:11: warning: [GHC-04214] [-Widentities] Call of fromIntegral :: Int -> Int can probably be omitted -T4488.hs:17:11: warning: [-Widentities] +T4488.hs:17:11: warning: [GHC-04214] [-Widentities] Call of toInteger :: Integer -> Integer can probably be omitted -T4488.hs:23:11: warning: [-Widentities] +T4488.hs:23:11: warning: [GHC-04214] [-Widentities] Call of toRational :: Rational -> Rational can probably be omitted -T4488.hs:29:11: warning: [-Widentities] +T4488.hs:29:11: warning: [GHC-04214] [-Widentities] Call of realToFrac :: Float -> Float can probably be omitted diff --git a/testsuite/tests/deSugar/should_compile/T5117.stderr b/testsuite/tests/deSugar/should_compile/T5117.stderr index 1d66704a0597..5f44eae205a5 100644 --- a/testsuite/tests/deSugar/should_compile/T5117.stderr +++ b/testsuite/tests/deSugar/should_compile/T5117.stderr @@ -1,4 +1,4 @@ -T5117.hs:16:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T5117.hs:16:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f3’: f3 (MyString "a") = ... diff --git a/testsuite/tests/deSugar/should_compile/T5455.stderr b/testsuite/tests/deSugar/should_compile/T5455.stderr index 4bff3560e4d0..203b9b956c50 100644 --- a/testsuite/tests/deSugar/should_compile/T5455.stderr +++ b/testsuite/tests/deSugar/should_compile/T5455.stderr @@ -1,8 +1,8 @@ -T5455.hs:8:11: warning: [-Wincomplete-uni-patterns (in -Wall)] +T5455.hs:8:11: warning: [GHC-62161] [-Wincomplete-uni-patterns (in -Wall)] Pattern match(es) are non-exhaustive - In a pattern binding: Patterns of type ‘String’ not matched: [] + In a pattern binding: Patterns of type ‘String’ not matched: [] -T5455.hs:13:13: warning: [-Wincomplete-uni-patterns (in -Wall)] +T5455.hs:13:13: warning: [GHC-62161] [-Wincomplete-uni-patterns (in -Wall)] Pattern match(es) are non-exhaustive - In a pattern binding: Patterns of type ‘String’ not matched: [] + In a pattern binding: Patterns of type ‘String’ not matched: [] diff --git a/testsuite/tests/deSugar/should_compile/ds002.stderr b/testsuite/tests/deSugar/should_compile/ds002.stderr index 441add8d27f2..0ff50903b538 100644 --- a/testsuite/tests/deSugar/should_compile/ds002.stderr +++ b/testsuite/tests/deSugar/should_compile/ds002.stderr @@ -1,28 +1,28 @@ -ds002.hs:8:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds002.hs:8:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f y = ... -ds002.hs:9:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds002.hs:9:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f z = ... -ds002.hs:12:11: warning: [-Woverlapping-patterns (in -Wdefault)] +ds002.hs:12:11: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g x y z | True = ... -ds002.hs:13:11: warning: [-Woverlapping-patterns (in -Wdefault)] +ds002.hs:13:11: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g x y z | True = ... -ds002.hs:14:11: warning: [-Woverlapping-patterns (in -Wdefault)] +ds002.hs:14:11: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g x y z | True = ... -ds002.hs:15:11: warning: [-Woverlapping-patterns (in -Wdefault)] +ds002.hs:15:11: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g x y z | True = ... -ds002.hs:16:11: warning: [-Woverlapping-patterns (in -Wdefault)] +ds002.hs:16:11: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g x y z | True = ... diff --git a/testsuite/tests/deSugar/should_compile/ds003.stderr b/testsuite/tests/deSugar/should_compile/ds003.stderr index b54ea19049b4..940000c7d6ee 100644 --- a/testsuite/tests/deSugar/should_compile/ds003.stderr +++ b/testsuite/tests/deSugar/should_compile/ds003.stderr @@ -1,8 +1,8 @@ -ds003.hs:7:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds003.hs:7:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f (x : x1 : x2 : x3) ~(y, ys) z = ... -ds003.hs:8:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds003.hs:8:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f x y True = ... diff --git a/testsuite/tests/deSugar/should_compile/ds006.stderr b/testsuite/tests/deSugar/should_compile/ds006.stderr index cc8bbd947b27..a7b2e58878fb 100644 --- a/testsuite/tests/deSugar/should_compile/ds006.stderr +++ b/testsuite/tests/deSugar/should_compile/ds006.stderr @@ -1,4 +1,4 @@ -ds006.hs:6:5: warning: [-Woverlapping-patterns (in -Wdefault)] +ds006.hs:6:5: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘v’: v | False = ... diff --git a/testsuite/tests/deSugar/should_compile/ds019.stderr b/testsuite/tests/deSugar/should_compile/ds019.stderr index 67390d49e309..3dd0d8da9a7c 100644 --- a/testsuite/tests/deSugar/should_compile/ds019.stderr +++ b/testsuite/tests/deSugar/should_compile/ds019.stderr @@ -1,12 +1,12 @@ -ds019.hs:6:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds019.hs:6:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f d (j, k) p = ... -ds019.hs:7:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds019.hs:7:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f (e, f, g) l q = ... -ds019.hs:8:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds019.hs:8:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f h (m, n) r = ... diff --git a/testsuite/tests/deSugar/should_compile/ds020.stderr b/testsuite/tests/deSugar/should_compile/ds020.stderr index 201e81963782..5a9fabf94b7a 100644 --- a/testsuite/tests/deSugar/should_compile/ds020.stderr +++ b/testsuite/tests/deSugar/should_compile/ds020.stderr @@ -1,28 +1,28 @@ -ds020.hs:9:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds020.hs:9:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘a’: a ~(~[], ~[], ~[]) = ... -ds020.hs:12:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds020.hs:12:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘b’: b ~(~x : ~xs : ~ys) = ... -ds020.hs:19:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds020.hs:19:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘d’: d ~(n+43) = ... -ds020.hs:20:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds020.hs:20:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘d’: d ~(n+999) = ... -ds020.hs:23:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds020.hs:23:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f x@(~[]) = ... -ds020.hs:32:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds020.hs:32:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a pattern binding: (x1 : xs1 : ys1) = ... -ds020.hs:33:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds020.hs:33:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a pattern binding: (~x : ~xs : ~ys) = ... diff --git a/testsuite/tests/deSugar/should_compile/ds021.stderr b/testsuite/tests/deSugar/should_compile/ds021.stderr index 0fd56860762f..fa4deffdd409 100644 --- a/testsuite/tests/deSugar/should_compile/ds021.stderr +++ b/testsuite/tests/deSugar/should_compile/ds021.stderr @@ -1,4 +1,4 @@ -ds021.hs:8:11: warning: [-Woverlapping-patterns (in -Wdefault)] +ds021.hs:8:11: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f x y z | False = ... diff --git a/testsuite/tests/deSugar/should_compile/ds022.stderr b/testsuite/tests/deSugar/should_compile/ds022.stderr index 81b6de9fb13d..d9c1cfb58f6f 100644 --- a/testsuite/tests/deSugar/should_compile/ds022.stderr +++ b/testsuite/tests/deSugar/should_compile/ds022.stderr @@ -1,8 +1,8 @@ -ds022.hs:24:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds022.hs:24:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘i’: i 1 0.011e2 = ... -ds022.hs:25:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds022.hs:25:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘i’: i 2 2.20000 = ... diff --git a/testsuite/tests/deSugar/should_compile/ds041.stderr b/testsuite/tests/deSugar/should_compile/ds041.stderr index 0455c44516ee..125d364a064b 100644 --- a/testsuite/tests/deSugar/should_compile/ds041.stderr +++ b/testsuite/tests/deSugar/should_compile/ds041.stderr @@ -2,7 +2,7 @@ ds041.hs:1:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -ds041.hs:16:7: warning: [-Wmissing-fields (in -Wdefault)] +ds041.hs:16:7: warning: [GHC-20125] [-Wmissing-fields (in -Wdefault)] • Fields of ‘Foo’ not initialised: x :: a • In the expression: Foo {} diff --git a/testsuite/tests/deSugar/should_compile/ds043.stderr b/testsuite/tests/deSugar/should_compile/ds043.stderr index 3ffb20f6ac06..4465739b2824 100644 --- a/testsuite/tests/deSugar/should_compile/ds043.stderr +++ b/testsuite/tests/deSugar/should_compile/ds043.stderr @@ -1,4 +1,4 @@ -ds043.hs:10:3: warning: [-Woverlapping-patterns (in -Wdefault)] +ds043.hs:10:3: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: B {e = True, f = False} -> ... diff --git a/testsuite/tests/deSugar/should_compile/ds051.stderr b/testsuite/tests/deSugar/should_compile/ds051.stderr index a59b7ba49d4a..01bf5caa2b3a 100644 --- a/testsuite/tests/deSugar/should_compile/ds051.stderr +++ b/testsuite/tests/deSugar/should_compile/ds051.stderr @@ -1,12 +1,12 @@ -ds051.hs:7:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds051.hs:7:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f1’: f1 "ab" = ... -ds051.hs:12:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds051.hs:12:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f2’: f2 ('a' : 'b' : []) = ... -ds051.hs:17:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds051.hs:17:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f3’: f3 "ab" = ... diff --git a/testsuite/tests/deSugar/should_compile/ds056.stderr b/testsuite/tests/deSugar/should_compile/ds056.stderr index e945a72d6406..620623e000ff 100644 --- a/testsuite/tests/deSugar/should_compile/ds056.stderr +++ b/testsuite/tests/deSugar/should_compile/ds056.stderr @@ -1,4 +1,4 @@ -ds056.hs:10:1: warning: [-Woverlapping-patterns (in -Wdefault)] +ds056.hs:10:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g _ = ... diff --git a/testsuite/tests/deSugar/should_compile/ds058.stderr b/testsuite/tests/deSugar/should_compile/ds058.stderr index 4a087766e492..1844e70007f0 100644 --- a/testsuite/tests/deSugar/should_compile/ds058.stderr +++ b/testsuite/tests/deSugar/should_compile/ds058.stderr @@ -1,4 +1,4 @@ -ds058.hs:7:9: warning: [-Woverlapping-patterns (in -Wdefault)] +ds058.hs:7:9: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: Just _ -> ... diff --git a/testsuite/tests/deSugar/should_run/T18172.stderr b/testsuite/tests/deSugar/should_run/T18172.stderr index 64f66466688f..90b247c81ee4 100644 --- a/testsuite/tests/deSugar/should_run/T18172.stderr +++ b/testsuite/tests/deSugar/should_run/T18172.stderr @@ -1,56 +1,57 @@ -<interactive>:2:3: warning: [-Woverflowed-literals (in -Wdefault)] + +<interactive>:2:3: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -1 is out of the Word8 range 0..255 -<interactive>:3:2: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:3:2: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 256 is out of the Word8 range 0..255 -<interactive>:5:3: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:5:3: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -2 is out of the Word8 range 0..255 -<interactive>:6:2: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:6:2: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 257 is out of the Word8 range 0..255 -<interactive>:8:3: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:8:3: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -3 is out of the Word8 range 0..255 -<interactive>:9:2: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:9:2: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 258 is out of the Word8 range 0..255 -<interactive>:11:11: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:11:11: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -4 is out of the Word8 range 0..255 -<interactive>:12:10: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:12:10: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 259 is out of the Word8 range 0..255 -<interactive>:14:7: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:14:7: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 260 is out of the Word8 range 0..255 -<interactive>:15:13: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:15:13: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 261 is out of the Word8 range 0..255 -<interactive>:16:3: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:16:3: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 262 is out of the Word8 range 0..255 -<interactive>:16:8: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:16:8: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 65536 is out of the Word16 range 0..65535 -<interactive>:18:3: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:18:3: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -5 is out of the Word8 range 0..255 -<interactive>:19:1: warning: [-Wempty-enumerations (in -Wdefault)] +<interactive>:19:1: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -<interactive>:19:7: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:19:7: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 263 is out of the Word8 range 0..255 -<interactive>:22:12: warning: [-Woverflowed-literals (in -Wdefault)] +<interactive>:22:12: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 264 is out of the Word8 range 0..255 -<interactive>:25:1: warning: [-Wempty-enumerations (in -Wdefault)] +<interactive>:25:1: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -<interactive>:27:1: warning: [-Wempty-enumerations (in -Wdefault)] +<interactive>:27:1: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -<interactive>:29:1: warning: [-Wempty-enumerations (in -Wdefault)] +<interactive>:29:1: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty diff --git a/testsuite/tests/dependent/should_compile/KindEqualities.stderr b/testsuite/tests/dependent/should_compile/KindEqualities.stderr index c6987e29f330..311ff65b4bbd 100644 --- a/testsuite/tests/dependent/should_compile/KindEqualities.stderr +++ b/testsuite/tests/dependent/should_compile/KindEqualities.stderr @@ -1,5 +1,5 @@ -KindEqualities.hs:25:1: warning: [-Wincomplete-patterns (in -Wextra)] +KindEqualities.hs:25:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘zero’: Patterns of type ‘TyRep a’ not matched: TyApp (TyApp _ _) _ diff --git a/testsuite/tests/dependent/should_compile/T11241.stderr b/testsuite/tests/dependent/should_compile/T11241.stderr index adb78694bade..29d1071b2d0d 100644 --- a/testsuite/tests/dependent/should_compile/T11241.stderr +++ b/testsuite/tests/dependent/should_compile/T11241.stderr @@ -1,5 +1,5 @@ -T11241.hs:5:21: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11241.hs:5:21: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘*’ • In the kind ‘_’ In the type signature: foo :: forall (a :: _). a -> a diff --git a/testsuite/tests/dependent/should_fail/BadTelescope2.stderr b/testsuite/tests/dependent/should_fail/BadTelescope2.stderr index f5aee5a1ebc5..7de40e07cbbc 100644 --- a/testsuite/tests/dependent/should_fail/BadTelescope2.stderr +++ b/testsuite/tests/dependent/should_fail/BadTelescope2.stderr @@ -1,5 +1,5 @@ -BadTelescope2.hs:9:15: error: +BadTelescope2.hs:9:15: error: [GHC-97739] • These kind and type variables: a k (b :: k) are out of dependency order. Perhaps try this ordering: k (a :: k) (b :: k) diff --git a/testsuite/tests/dependent/should_fail/BadTelescope5.stderr b/testsuite/tests/dependent/should_fail/BadTelescope5.stderr index b5e4ce9c3a1b..242768822f69 100644 --- a/testsuite/tests/dependent/should_fail/BadTelescope5.stderr +++ b/testsuite/tests/dependent/should_fail/BadTelescope5.stderr @@ -1,5 +1,5 @@ -BadTelescope5.hs:10:81: error: +BadTelescope5.hs:10:81: error: [GHC-25897] • Expected kind ‘k’, but ‘d’ has kind ‘Proxy a’ ‘k’ is a rigid type variable bound by the type signature for ‘bar’ diff --git a/testsuite/tests/dependent/should_fail/DepFail1.stderr b/testsuite/tests/dependent/should_fail/DepFail1.stderr index 0201005943fb..c84b1310f590 100644 --- a/testsuite/tests/dependent/should_fail/DepFail1.stderr +++ b/testsuite/tests/dependent/should_fail/DepFail1.stderr @@ -1,10 +1,10 @@ -DepFail1.hs:7:6: error: +DepFail1.hs:7:6: error: [GHC-83865] • Expecting one more argument to ‘Proxy Bool’ Expected a type, but ‘Proxy Bool’ has kind ‘Bool -> *’ • In the type signature: z :: Proxy Bool -DepFail1.hs:10:16: error: +DepFail1.hs:10:16: error: [GHC-83865] • Expected kind ‘Int’, but ‘Bool’ has kind ‘*’ • In the second argument of ‘Proxy’, namely ‘Bool’ In the type signature: a :: Proxy Int Bool diff --git a/testsuite/tests/dependent/should_fail/PromotedClass.stderr b/testsuite/tests/dependent/should_fail/PromotedClass.stderr index 9f8d84a41069..b02e23483833 100644 --- a/testsuite/tests/dependent/should_fail/PromotedClass.stderr +++ b/testsuite/tests/dependent/should_fail/PromotedClass.stderr @@ -1,5 +1,5 @@ -PromotedClass.hs:10:15: error: +PromotedClass.hs:10:15: error: [GHC-88634] • Data constructor ‘MkX’ cannot be used here (it has an unpromotable context ‘Show a’) • In the first argument of ‘Proxy’, namely ‘('MkX 'True)’ diff --git a/testsuite/tests/dependent/should_fail/RAE_T32a.stderr b/testsuite/tests/dependent/should_fail/RAE_T32a.stderr index 90c3cd671a76..2a38e16ce682 100644 --- a/testsuite/tests/dependent/should_fail/RAE_T32a.stderr +++ b/testsuite/tests/dependent/should_fail/RAE_T32a.stderr @@ -1,9 +1,9 @@ -RAE_T32a.hs:29:1: error: +RAE_T32a.hs:29:1: error: [GHC-83865] • Expected kind ‘k -> *’, but ‘Sing Sigma (Sigma p r)’ has kind ‘*’ • In the data instance declaration for ‘Sing’ -RAE_T32a.hs:29:20: error: +RAE_T32a.hs:29:20: error: [GHC-83865] • Expecting two more arguments to ‘Sigma’ Expected a type, but ‘Sigma’ has kind @@ -11,7 +11,7 @@ RAE_T32a.hs:29:20: error: • In the first argument of ‘Sing’, namely ‘Sigma’ In the data instance declaration for ‘Sing’ -RAE_T32a.hs:29:27: error: +RAE_T32a.hs:29:27: error: [GHC-83865] • Expected kind ‘Sigma’, but ‘Sigma p r’ has kind ‘*’ • In the second argument of ‘Sing’, namely ‘(Sigma p r)’ In the data instance declaration for ‘Sing’ diff --git a/testsuite/tests/dependent/should_fail/RenamingStar.stderr b/testsuite/tests/dependent/should_fail/RenamingStar.stderr index a0f0bbbab06c..50603d602d00 100644 --- a/testsuite/tests/dependent/should_fail/RenamingStar.stderr +++ b/testsuite/tests/dependent/should_fail/RenamingStar.stderr @@ -1,5 +1,5 @@ -RenamingStar.hs:5:13: error: +RenamingStar.hs:5:13: error: [GHC-24180] Operator applied to too few arguments: * Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead. diff --git a/testsuite/tests/dependent/should_fail/SelfDep.stderr b/testsuite/tests/dependent/should_fail/SelfDep.stderr index 3c90f5444b55..33dd60804750 100644 --- a/testsuite/tests/dependent/should_fail/SelfDep.stderr +++ b/testsuite/tests/dependent/should_fail/SelfDep.stderr @@ -1,5 +1,5 @@ -SelfDep.hs:5:11: error: +SelfDep.hs:5:11: error: [GHC-88634] • Type constructor ‘T’ cannot be used here (it is defined and used in the same recursive group) • In the kind ‘T -> *’ diff --git a/testsuite/tests/dependent/should_fail/T11407.stderr b/testsuite/tests/dependent/should_fail/T11407.stderr index b24559ea9a01..667c779d47e4 100644 --- a/testsuite/tests/dependent/should_fail/T11407.stderr +++ b/testsuite/tests/dependent/should_fail/T11407.stderr @@ -1,5 +1,5 @@ -T11407.hs:10:40: error: +T11407.hs:10:40: error: [GHC-25897] • Expected kind ‘x a’, but ‘a’ has kind ‘k’ ‘k’ is a rigid type variable bound by a family instance declaration diff --git a/testsuite/tests/dependent/should_fail/T11471.stderr b/testsuite/tests/dependent/should_fail/T11471.stderr index 30bab29f4b6a..c0292270cc21 100644 --- a/testsuite/tests/dependent/should_fail/T11471.stderr +++ b/testsuite/tests/dependent/should_fail/T11471.stderr @@ -1,5 +1,5 @@ -T11471.hs:15:10: error: +T11471.hs:15:10: error: [GHC-18872] • Couldn't match a lifted type with an unlifted type When matching types a :: * diff --git a/testsuite/tests/dependent/should_fail/T12081.stderr b/testsuite/tests/dependent/should_fail/T12081.stderr index e8f25ba35458..ac405a73c583 100644 --- a/testsuite/tests/dependent/should_fail/T12081.stderr +++ b/testsuite/tests/dependent/should_fail/T12081.stderr @@ -1,5 +1,5 @@ -T12081.hs:9:14: error: +T12081.hs:9:14: error: [GHC-83865] • Expected a type, but ‘T n’ has kind ‘Nat’ • In the kind ‘T n’ In the type signature: f :: (a :: T n) diff --git a/testsuite/tests/dependent/should_fail/T13135.stderr b/testsuite/tests/dependent/should_fail/T13135.stderr index fc70907e1168..5e79a4946bb4 100644 --- a/testsuite/tests/dependent/should_fail/T13135.stderr +++ b/testsuite/tests/dependent/should_fail/T13135.stderr @@ -1,5 +1,5 @@ -T13135.hs:60:10: error: +T13135.hs:60:10: error: [GHC-39999] • No instance for ‘Constr :<: Constr’ arising from a use of ‘smartSym’ • In the expression: smartSym sym diff --git a/testsuite/tests/dependent/should_fail/T13135_simple.stderr b/testsuite/tests/dependent/should_fail/T13135_simple.stderr index 52b1e848c0fc..68f5dd3e30dc 100644 --- a/testsuite/tests/dependent/should_fail/T13135_simple.stderr +++ b/testsuite/tests/dependent/should_fail/T13135_simple.stderr @@ -1,8 +1,8 @@ -T13135_simple.hs:34:11: error: +T13135_simple.hs:34:11: error: [GHC-83865] • Couldn't match type ‘SmartFun sig’ with ‘Bool’ Expected: Int -> Bool Actual: SmartFun ('SigFun Int sig) - The type variable ‘sig’ is ambiguous + The type variable ‘sig’ is ambiguous • In the expression: smartSym In an equation for ‘problem’: problem = smartSym diff --git a/testsuite/tests/dependent/should_fail/T13601.stderr b/testsuite/tests/dependent/should_fail/T13601.stderr index 269dd00b2029..695463c08080 100644 --- a/testsuite/tests/dependent/should_fail/T13601.stderr +++ b/testsuite/tests/dependent/should_fail/T13601.stderr @@ -1,5 +1,5 @@ -T13601.hs:19:16: error: +T13601.hs:19:16: error: [GHC-83865] • Expected a type, but ‘Logic a’ has kind ‘TYPE (Rep rep)’ • In the first argument of ‘Boolean’, namely ‘(Logic a)’ In the class declaration for ‘Eq’ diff --git a/testsuite/tests/dependent/should_fail/T13780a.stderr b/testsuite/tests/dependent/should_fail/T13780a.stderr index 6cdcf9636920..35ec45a24b46 100644 --- a/testsuite/tests/dependent/should_fail/T13780a.stderr +++ b/testsuite/tests/dependent/should_fail/T13780a.stderr @@ -1,5 +1,5 @@ -T13780a.hs:9:40: error: +T13780a.hs:9:40: error: [GHC-25897] • Couldn't match kind ‘a’ with ‘Bool’ Expected kind ‘Foo a’, but ‘MkFoo’ has kind ‘Foo Bool’ ‘a’ is a rigid type variable bound by diff --git a/testsuite/tests/dependent/should_fail/T13780c.stderr b/testsuite/tests/dependent/should_fail/T13780c.stderr index 2cdb59ad1e16..15e3d7e0c704 100644 --- a/testsuite/tests/dependent/should_fail/T13780c.stderr +++ b/testsuite/tests/dependent/should_fail/T13780c.stderr @@ -1,13 +1,13 @@ [1 of 2] Compiling T13780b ( T13780b.hs, T13780b.o ) [2 of 2] Compiling T13780c ( T13780c.hs, T13780c.o ) -T13780c.hs:12:16: error: +T13780c.hs:12:16: error: [GHC-88634] • Data constructor ‘SFalse’ cannot be used here (it comes from a data family instance) • In the third argument of ‘ElimBool’, namely ‘SFalse’ In the type family declaration for ‘ElimBool’ -T13780c.hs:13:16: error: +T13780c.hs:13:16: error: [GHC-88634] • Data constructor ‘STrue’ cannot be used here (it comes from a data family instance) • In the third argument of ‘ElimBool’, namely ‘STrue’ diff --git a/testsuite/tests/dependent/should_fail/T13895.stderr b/testsuite/tests/dependent/should_fail/T13895.stderr index 5ab651fe0b89..0039fb215195 100644 --- a/testsuite/tests/dependent/should_fail/T13895.stderr +++ b/testsuite/tests/dependent/should_fail/T13895.stderr @@ -1,9 +1,8 @@ -T13895.hs:11:14: error: +T13895.hs:11:14: error: [GHC-01259] • Illegal constraint in a kind: forall k. Typeable k => k -> * • In the type signature: - dataCast1 :: forall (a :: Type). - Data a => - forall (c :: Type -> Type) - (t :: forall (k :: Type). Typeable k => k -> Type). - Typeable t => (forall d. Data d => c (t d)) -> Maybe (c a) + dataCast1 :: forall (a :: Type). Data a => + forall (c :: Type -> Type) + (t :: forall (k :: Type). Typeable k => k -> Type). + Typeable t => (forall d. Data d => c (t d)) -> Maybe (c a) diff --git a/testsuite/tests/dependent/should_fail/T14066.stderr b/testsuite/tests/dependent/should_fail/T14066.stderr index 20c82215edac..2d3d34bb8199 100644 --- a/testsuite/tests/dependent/should_fail/T14066.stderr +++ b/testsuite/tests/dependent/should_fail/T14066.stderr @@ -1,10 +1,10 @@ -T14066.hs:15:59: error: +T14066.hs:15:59: error: [GHC-46956] • Expected kind ‘k0’, but ‘b’ has kind ‘k’ - because kind variable ‘k’ would escape its scope - This (rigid, skolem) kind variable is bound by - an explicit forall k (b :: k) - at T14066.hs:15:36-45 + • because kind variable ‘k’ would escape its scope + This (rigid, skolem) kind variable is bound by + an explicit forall k (b :: k) + at T14066.hs:15:36-45 • In the second argument of ‘SameKind’, namely ‘b’ In the type signature: g :: forall k (b :: k). SameKind a b In the expression: diff --git a/testsuite/tests/dependent/should_fail/T14066c.stderr b/testsuite/tests/dependent/should_fail/T14066c.stderr index dc5ba30a4f74..4199e6381de1 100644 --- a/testsuite/tests/dependent/should_fail/T14066c.stderr +++ b/testsuite/tests/dependent/should_fail/T14066c.stderr @@ -1,5 +1,5 @@ -T14066c.hs:8:17: error: +T14066c.hs:8:17: error: [GHC-83865] • Expected kind ‘Bool’, but ‘Nothing’ has kind ‘Maybe a0’ • In the second argument of ‘H’, namely ‘Nothing’ In the type ‘H True Nothing’ diff --git a/testsuite/tests/dependent/should_fail/T14066d.stderr b/testsuite/tests/dependent/should_fail/T14066d.stderr index 169897c41646..12c4058abf2d 100644 --- a/testsuite/tests/dependent/should_fail/T14066d.stderr +++ b/testsuite/tests/dependent/should_fail/T14066d.stderr @@ -1,5 +1,5 @@ -T14066d.hs:11:35: error: +T14066d.hs:11:35: error: [GHC-25897] • Couldn't match type ‘b1’ with ‘b’ Expected: (Proxy a, Proxy c, b1) Actual: (Proxy a, Proxy c, b) diff --git a/testsuite/tests/dependent/should_fail/T14066e.stderr b/testsuite/tests/dependent/should_fail/T14066e.stderr index b103b1618799..21d74678c34a 100644 --- a/testsuite/tests/dependent/should_fail/T14066e.stderr +++ b/testsuite/tests/dependent/should_fail/T14066e.stderr @@ -1,5 +1,5 @@ -T14066e.hs:13:65: error: +T14066e.hs:13:65: error: [GHC-25897] • Expected a type, but ‘c'’ has kind ‘k1’ ‘k1’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/dependent/should_fail/T14845_fail1.stderr b/testsuite/tests/dependent/should_fail/T14845_fail1.stderr index c1f1c8605d37..90e1ab9d254e 100644 --- a/testsuite/tests/dependent/should_fail/T14845_fail1.stderr +++ b/testsuite/tests/dependent/should_fail/T14845_fail1.stderr @@ -1,5 +1,5 @@ -T14845_fail1.hs:10:13: error: +T14845_fail1.hs:10:13: error: [GHC-88634] • Data constructor ‘S’ cannot be used here (it has an unpromotable context ‘cls a’) • In the first argument of ‘Foo’, namely ‘(S :: Struct Eq a)’ diff --git a/testsuite/tests/dependent/should_fail/T14845_fail2.stderr b/testsuite/tests/dependent/should_fail/T14845_fail2.stderr index 55519c582a3b..3402d2b09cf1 100644 --- a/testsuite/tests/dependent/should_fail/T14845_fail2.stderr +++ b/testsuite/tests/dependent/should_fail/T14845_fail2.stderr @@ -1,5 +1,5 @@ -T14845_fail2.hs:15:14: error: +T14845_fail2.hs:15:14: error: [GHC-88634] • Data constructor ‘MkA’ cannot be used here (it has an unpromotable context ‘Coercible a Int’) • In the first argument of ‘SA’, namely ‘MkA’ diff --git a/testsuite/tests/dependent/should_fail/T15215.stderr b/testsuite/tests/dependent/should_fail/T15215.stderr index 51119c1e7a11..f7a91650d1bc 100644 --- a/testsuite/tests/dependent/should_fail/T15215.stderr +++ b/testsuite/tests/dependent/should_fail/T15215.stderr @@ -1,11 +1,11 @@ -T15215.hs:11:3: error: +T15215.hs:11:3: error: [GHC-80003] • Non type-variable argument in the constraint: Show (Maybe a) • In the definition of data constructor ‘MkA’ In the data type declaration for ‘A’ Suggested fix: Perhaps you intended to use FlexibleContexts -T15215.hs:18:14: error: +T15215.hs:18:14: error: [GHC-88634] • Data constructor ‘MkB’ cannot be used here (it has an unpromotable context ‘Show a’) • In the first argument of ‘SA’, namely ‘MkB’ diff --git a/testsuite/tests/dependent/should_fail/T15245.stderr b/testsuite/tests/dependent/should_fail/T15245.stderr index 859fafda8b79..533b350de9bd 100644 --- a/testsuite/tests/dependent/should_fail/T15245.stderr +++ b/testsuite/tests/dependent/should_fail/T15245.stderr @@ -1,5 +1,5 @@ -T15245.hs:10:24: error: +T15245.hs:10:24: error: [GHC-88634] • Data constructor ‘MkK’ cannot be used here (it comes from a data family instance) • In the type ‘'MkK’ diff --git a/testsuite/tests/dependent/should_fail/T15264.stderr b/testsuite/tests/dependent/should_fail/T15264.stderr index 6d5f59782317..fedb54c99e00 100644 --- a/testsuite/tests/dependent/should_fail/T15264.stderr +++ b/testsuite/tests/dependent/should_fail/T15264.stderr @@ -1,6 +1,8 @@ -T15264.hs:7:22: error: Not in scope: type variable ‘k’ +T15264.hs:7:22: error: [GHC-76037] Not in scope: type variable ‘k’ -T15264.hs:10:22: error: Not in scope: type variable ‘k1’ +T15264.hs:10:22: error: [GHC-76037] + Not in scope: type variable ‘k1’ -T15264.hs:10:32: error: Not in scope: type variable ‘k2’ +T15264.hs:10:32: error: [GHC-76037] + Not in scope: type variable ‘k2’ diff --git a/testsuite/tests/dependent/should_fail/T15308.stderr b/testsuite/tests/dependent/should_fail/T15308.stderr index 60c02ac31f94..f3c6db26f704 100644 --- a/testsuite/tests/dependent/should_fail/T15308.stderr +++ b/testsuite/tests/dependent/should_fail/T15308.stderr @@ -1,5 +1,5 @@ -T15308.hs:13:5: error: +T15308.hs:13:5: error: [GHC-39999] • No instance for ‘Show (Foo a f)’ arising from a use of ‘show’ • In the expression: show In an equation for ‘f’: f = show diff --git a/testsuite/tests/dependent/should_fail/T15343.stderr b/testsuite/tests/dependent/should_fail/T15343.stderr index d3067812d238..b86523fa4203 100644 --- a/testsuite/tests/dependent/should_fail/T15343.stderr +++ b/testsuite/tests/dependent/should_fail/T15343.stderr @@ -1,5 +1,5 @@ -T15343.hs:15:18: error: +T15343.hs:15:18: error: [GHC-83865] • Expecting one more argument to ‘WhySym’ Expected kind ‘forall z. z’, but ‘WhySym’ has kind ‘* -> *’ • In the type ‘WhySym’ diff --git a/testsuite/tests/dependent/should_fail/T15380.stderr b/testsuite/tests/dependent/should_fail/T15380.stderr index bf0355b01be1..429a996e1347 100644 --- a/testsuite/tests/dependent/should_fail/T15380.stderr +++ b/testsuite/tests/dependent/should_fail/T15380.stderr @@ -1,5 +1,5 @@ -T15380.hs:18:16: error: +T15380.hs:18:16: error: [GHC-83865] • Expecting one more argument to ‘To (M x)’ Expected a type, but ‘To (M x)’ has kind ‘Rep (M x) -> M x’ • In the type ‘To (M x)’ diff --git a/testsuite/tests/dependent/should_fail/T15859.stderr b/testsuite/tests/dependent/should_fail/T15859.stderr index 9779cb5f1a32..30b24b1206e6 100644 --- a/testsuite/tests/dependent/should_fail/T15859.stderr +++ b/testsuite/tests/dependent/should_fail/T15859.stderr @@ -1,5 +1,5 @@ -T15859.hs:9:19: error: +T15859.hs:9:19: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall k -> k -> * (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T15859a.stderr b/testsuite/tests/dependent/should_fail/T15859a.stderr index 2d04f8d1fa24..13db6890a482 100644 --- a/testsuite/tests/dependent/should_fail/T15859a.stderr +++ b/testsuite/tests/dependent/should_fail/T15859a.stderr @@ -1,7 +1,7 @@ -T15859a.hs:19:26: error: +T15859a.hs:19:26: error: [GHC-91028] • Expected kind ‘k0’, but ‘A’ has kind ‘forall k -> k -> *’ - • Cannot instantiate unification variable ‘k0’ + Cannot instantiate unification variable ‘k0’ with a kind involving polytypes: forall k -> k -> * • In the first argument of ‘KindOf’, namely ‘A’ In an expression type signature: KindOf A diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail1.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail1.stderr index c56bd105dbee..da66f380c21a 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail1.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail1.stderr @@ -1,11 +1,11 @@ -T16326_Fail1.hs:5:8: error: +T16326_Fail1.hs:5:8: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a -> a -> a (GHC does not yet support this) • In the type signature: id1 :: forall a -> a -> a -T16326_Fail1.hs:9:8: error: +T16326_Fail1.hs:9:8: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a -> a -> a (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail10.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail10.stderr index 44a0d34a33d4..3c0ce349b97b 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail10.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail10.stderr @@ -1,5 +1,5 @@ -T16326_Fail10.hs:12:18: error: +T16326_Fail10.hs:12:18: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a -> a -> a (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail11.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail11.stderr index 396010dbd7dc..f96814d281cd 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail11.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail11.stderr @@ -1,5 +1,5 @@ -T16326_Fail11.hs:9:11: error: +T16326_Fail11.hs:9:11: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall x -> x (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail12.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail12.stderr index 30b35de4f7a2..91044c0577a3 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail12.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail12.stderr @@ -1,5 +1,5 @@ -T16326_Fail12.hs:6:1: error: +T16326_Fail12.hs:6:1: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a -> Show a (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail2.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail2.stderr index 3e3f0c112806..1e991a28ba2b 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail2.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail2.stderr @@ -1,5 +1,5 @@ -T16326_Fail2.hs:6:37: error: +T16326_Fail2.hs:6:37: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a -> a -> IO () (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail3.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail3.stderr index 27ed998b4520..e7990218ecb7 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail3.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail3.stderr @@ -1,5 +1,5 @@ -T16326_Fail3.hs:6:1: error: +T16326_Fail3.hs:6:1: error: [GHC-51580] Illegal visible, dependent quantification in the type of a term: forall a -> [a] (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail4.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail4.stderr index 258fc08607a7..5039c07f89fd 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail4.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail4.stderr @@ -1,5 +1,5 @@ -T16326_Fail4.hs:6:30: error: +T16326_Fail4.hs:6:30: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a1 -> Maybe a1 -> Maybe a1 -> Maybe a1 (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail5.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail5.stderr index 59c27c2464b5..ba84b8a21a0d 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail5.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail5.stderr @@ -1,5 +1,5 @@ -T16326_Fail5.hs:7:20: error: +T16326_Fail5.hs:7:20: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a1 -> Maybe a1 (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail7.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail7.stderr index edb1c1c8f5f7..0380d29e72ce 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail7.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail7.stderr @@ -1,5 +1,5 @@ -T16326_Fail7.hs:9:13: error: +T16326_Fail7.hs:9:13: error: [GHC-25955] Illegal symbol ‘forall’ in type Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/dependent/should_fail/T16326_Fail9.stderr b/testsuite/tests/dependent/should_fail/T16326_Fail9.stderr index 3ad4e754a957..29afc29d93ed 100644 --- a/testsuite/tests/dependent/should_fail/T16326_Fail9.stderr +++ b/testsuite/tests/dependent/should_fail/T16326_Fail9.stderr @@ -1,5 +1,5 @@ -T16326_Fail9.hs:11:5: error: +T16326_Fail9.hs:11:5: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a -> a -> a (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/T16344.stderr b/testsuite/tests/dependent/should_fail/T16344.stderr index d567defeeea8..5081549afd49 100644 --- a/testsuite/tests/dependent/should_fail/T16344.stderr +++ b/testsuite/tests/dependent/should_fail/T16344.stderr @@ -1,5 +1,5 @@ -T16344.hs:7:46: error: +T16344.hs:7:46: error: [GHC-25897] • Expected kind ‘ka’, but ‘Int’ has kind ‘*’ • In the second argument of ‘T’, namely ‘Int’ In the type ‘(T Type Int Bool)’ diff --git a/testsuite/tests/dependent/should_fail/T16344a.stderr b/testsuite/tests/dependent/should_fail/T16344a.stderr index ab3b9912932b..e31d7b0a22a0 100644 --- a/testsuite/tests/dependent/should_fail/T16344a.stderr +++ b/testsuite/tests/dependent/should_fail/T16344a.stderr @@ -1,5 +1,5 @@ -T16344a.hs:11:36: error: +T16344a.hs:11:36: error: [GHC-25897] • Expected a type, but ‘a’ has kind ‘ka’ ‘ka’ is a rigid type variable bound by the data type declaration for ‘T2’ diff --git a/testsuite/tests/dependent/should_fail/T16391b.stderr b/testsuite/tests/dependent/should_fail/T16391b.stderr index 2209886a89e7..201adffc253d 100644 --- a/testsuite/tests/dependent/should_fail/T16391b.stderr +++ b/testsuite/tests/dependent/should_fail/T16391b.stderr @@ -1,5 +1,5 @@ -T16391b.hs:10:8: error: +T16391b.hs:10:8: error: [GHC-25897] • Expected a type, but ‘T r’ has kind ‘TYPE r’ ‘r’ is a rigid type variable bound by the type signature for ‘foo’ diff --git a/testsuite/tests/dependent/should_fail/T16418.stderr b/testsuite/tests/dependent/should_fail/T16418.stderr index a286d77805d8..5b5f66d577dd 100644 --- a/testsuite/tests/dependent/should_fail/T16418.stderr +++ b/testsuite/tests/dependent/should_fail/T16418.stderr @@ -1,5 +1,5 @@ -T16418.hs:9:13: error: +T16418.hs:9:13: error: [GHC-97739] • These kind and type variables: a k (b :: k) are out of dependency order. Perhaps try this ordering: k (a :: k) (b :: k) diff --git a/testsuite/tests/dependent/should_fail/T17131.stderr b/testsuite/tests/dependent/should_fail/T17131.stderr index 3ab5c5066511..3bc040f45b20 100644 --- a/testsuite/tests/dependent/should_fail/T17131.stderr +++ b/testsuite/tests/dependent/should_fail/T17131.stderr @@ -1,10 +1,10 @@ -T17131.hs:12:34: error: +T17131.hs:12:34: error: [GHC-83865] • Couldn't match kind: TypeReps xs with: '[LiftedRep] Expected kind ‘TYPE ('TupleRep (TypeReps xs))’, but ‘(# a #)’ has kind ‘TYPE ('TupleRep '[LiftedRep])’ - The type variable ‘xs’ is ambiguous + The type variable ‘xs’ is ambiguous • In the type ‘(# a #)’ In the type family declaration for ‘Tuple#’ NB: Type ‘Tuple#’ was inferred to use visible dependent quantification. diff --git a/testsuite/tests/dependent/should_fail/T17541.stderr b/testsuite/tests/dependent/should_fail/T17541.stderr index 2321aee6ed25..ed30993549d8 100644 --- a/testsuite/tests/dependent/should_fail/T17541.stderr +++ b/testsuite/tests/dependent/should_fail/T17541.stderr @@ -1,8 +1,8 @@ -T17541.hs:19:17: error: +T17541.hs:19:17: error: [GHC-83865] • Couldn't match kind ‘Rep rep’ with ‘'IntRep’ Expected kind ‘TYPE (Rep rep)’, but ‘Int#’ has kind ‘TYPE 'IntRep’ - The type variable ‘rep’ is ambiguous + The type variable ‘rep’ is ambiguous • In the type ‘Int#’ In the type family declaration for ‘Unboxed’ NB: Type ‘Unboxed’ was inferred to use visible dependent quantification. diff --git a/testsuite/tests/dependent/should_fail/T17541b.stderr b/testsuite/tests/dependent/should_fail/T17541b.stderr index 7502f213734c..f0b952c67962 100644 --- a/testsuite/tests/dependent/should_fail/T17541b.stderr +++ b/testsuite/tests/dependent/should_fail/T17541b.stderr @@ -1,5 +1,5 @@ -T17541b.hs:8:20: error: +T17541b.hs:8:20: error: [GHC-25897] • Expected kind ‘k’, but ‘Int’ has kind ‘*’ • In the second argument of ‘T’, namely ‘Int’ In the type ‘T Type Int’ diff --git a/testsuite/tests/dependent/should_fail/T17687.stderr b/testsuite/tests/dependent/should_fail/T17687.stderr index e4ac034f9339..03d9106e1dcc 100644 --- a/testsuite/tests/dependent/should_fail/T17687.stderr +++ b/testsuite/tests/dependent/should_fail/T17687.stderr @@ -1,5 +1,5 @@ -T17687.hs:5:6: error: +T17687.hs:5:6: error: [GHC-51580] • Illegal visible, dependent quantification in the type of a term: forall a -> a -> a (GHC does not yet support this) diff --git a/testsuite/tests/dependent/should_fail/TypeSkolEscape.stderr b/testsuite/tests/dependent/should_fail/TypeSkolEscape.stderr index b8ccbdfc9f75..8020f5397910 100644 --- a/testsuite/tests/dependent/should_fail/TypeSkolEscape.stderr +++ b/testsuite/tests/dependent/should_fail/TypeSkolEscape.stderr @@ -1,9 +1,9 @@ -TypeSkolEscape.hs:9:52: error: +TypeSkolEscape.hs:9:52: error: [GHC-46956] • Expected kind ‘k0’, but ‘a’ has kind ‘TYPE v’ - because kind variable ‘v’ would escape its scope - This (rigid, skolem) kind variable is bound by - an explicit forall (v :: RuntimeRep) (a :: TYPE v) - at TypeSkolEscape.hs:9:19-49 + • because kind variable ‘v’ would escape its scope + This (rigid, skolem) kind variable is bound by + an explicit forall (v :: RuntimeRep) (a :: TYPE v) + at TypeSkolEscape.hs:9:19-49 • In the type ‘forall (v :: RuntimeRep) (a :: TYPE v). a’ In the type declaration for ‘Bad’ diff --git a/testsuite/tests/deriving/should_compile/T14094.stderr b/testsuite/tests/deriving/should_compile/T14094.stderr index 3457a007f382..0f346a026129 100644 --- a/testsuite/tests/deriving/should_compile/T14094.stderr +++ b/testsuite/tests/deriving/should_compile/T14094.stderr @@ -1,9 +1,9 @@ -T14094.hs:12:1: warning: [-Wmissing-methods (in -Wdefault)] +T14094.hs:12:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘D’ • In the instance declaration for ‘C Int’ -T14094.hs:12:1: warning: [-Wmissing-methods (in -Wdefault)] +T14094.hs:12:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘T’ • In the instance declaration for ‘C Int’ @@ -17,11 +17,10 @@ T14094.hs:13:1: warning: [-Wmissing-methods (in -Wdefault)] ‘m’ • In the instance declaration for ‘C Bool’ -T14094.hs:13:1: warning: [-Wmissing-methods (in -Wdefault)] +T14094.hs:13:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘D’ • In the instance declaration for ‘C Bool’ -T14094.hs:13:1: warning: [-Wmissing-methods (in -Wdefault)] +T14094.hs:13:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘T’ • In the instance declaration for ‘C Bool’ - diff --git a/testsuite/tests/deriving/should_compile/T16179.stderr b/testsuite/tests/deriving/should_compile/T16179.stderr index 735bd49b4699..88493495b137 100644 --- a/testsuite/tests/deriving/should_compile/T16179.stderr +++ b/testsuite/tests/deriving/should_compile/T16179.stderr @@ -1,7 +1,8 @@ -T16179.hs:7:30: warning: [-Wderiving-defaults (in -Wdefault)] +T16179.hs:7:30: warning: [GHC-20042] [-Wderiving-defaults (in -Wdefault)] • Both DeriveAnyClass and GeneralizedNewtypeDeriving are enabled Defaulting to the DeriveAnyClass strategy for instantiating C • In the newtype declaration for ‘T’ Suggested fix: - Use DerivingStrategies to pick a different strategy + Use DerivingStrategies + to pick a different strategy diff --git a/testsuite/tests/deriving/should_fail/T10598_fail1.stderr b/testsuite/tests/deriving/should_fail/T10598_fail1.stderr index ec4de2f1ad93..f5bb4a21ce4c 100644 --- a/testsuite/tests/deriving/should_fail/T10598_fail1.stderr +++ b/testsuite/tests/deriving/should_fail/T10598_fail1.stderr @@ -1,11 +1,11 @@ -T10598_fail1.hs:9:40: error: +T10598_fail1.hs:9:40: error: [GHC-10333] • Can't make a derived instance of ‘Show A’ with the newtype strategy: GeneralizedNewtypeDeriving cannot be used on non-newtypes • In the data declaration for ‘A’ -T10598_fail1.hs:10:40: error: +T10598_fail1.hs:10:40: error: [GHC-00158] • Can't make a derived instance of ‘Num B’ with the stock strategy: ‘Num’ is not a stock derivable class (Eq, Show, etc.) • In the newtype declaration for ‘B’ diff --git a/testsuite/tests/deriving/should_fail/T10598_fail2.stderr b/testsuite/tests/deriving/should_fail/T10598_fail2.stderr index 7cfcbcdabb8c..4f9b5d833909 100644 --- a/testsuite/tests/deriving/should_fail/T10598_fail2.stderr +++ b/testsuite/tests/deriving/should_fail/T10598_fail2.stderr @@ -1,11 +1,11 @@ -T10598_fail2.hs:5:37: error: +T10598_fail2.hs:5:37: error: [GHC-38178] • Can't make a derived instance of ‘Eq A’ with the anyclass strategy: • In the data declaration for ‘A’ Suggested fix: Perhaps you intended to use DeriveAnyClass -T10598_fail2.hs:6:37: error: +T10598_fail2.hs:6:37: error: [GHC-26557] • Can't make a derived instance of ‘Eq B’ with the newtype strategy: • In the newtype declaration for ‘B’ diff --git a/testsuite/tests/deriving/should_fail/T10598_fail3.stderr b/testsuite/tests/deriving/should_fail/T10598_fail3.stderr index 1ebc9c9c93ac..764f55c5f56d 100644 --- a/testsuite/tests/deriving/should_fail/T10598_fail3.stderr +++ b/testsuite/tests/deriving/should_fail/T10598_fail3.stderr @@ -1,4 +1,4 @@ -T10598_fail3.hs:9:36: error: +T10598_fail3.hs:9:36: error: [GHC-07214] • Generic instances can only be derived in Safe Haskell using the stock strategy. • In the instance declaration for ‘Generic T’ diff --git a/testsuite/tests/deriving/should_fail/T10598_fail6.stderr b/testsuite/tests/deriving/should_fail/T10598_fail6.stderr index 0de1fe50bffa..273e841de809 100644 --- a/testsuite/tests/deriving/should_fail/T10598_fail6.stderr +++ b/testsuite/tests/deriving/should_fail/T10598_fail6.stderr @@ -1,5 +1,5 @@ -T10598_fail6.hs:6:41: error: +T10598_fail6.hs:6:41: error: [GHC-86639] • Can't make a derived instance of ‘Functor F’ (even with cunning GeneralizedNewtypeDeriving): You need DeriveFunctor to derive an instance for this class diff --git a/testsuite/tests/deriving/should_fail/T10684.stderr b/testsuite/tests/deriving/should_fail/T10684.stderr index 0724f8ec847f..3ce78b28b091 100644 --- a/testsuite/tests/deriving/should_fail/T10684.stderr +++ b/testsuite/tests/deriving/should_fail/T10684.stderr @@ -1,5 +1,5 @@ -T10684.hs:4:28: error: +T10684.hs:4:28: error: [GHC-86639] • Can't make a derived instance of ‘Generic A’: You need DeriveGeneric to derive an instance for this class • In the data declaration for ‘A’ diff --git a/testsuite/tests/deriving/should_fail/T1133A.stderr b/testsuite/tests/deriving/should_fail/T1133A.stderr index dd750cef2b5a..c05b28510e0b 100644 --- a/testsuite/tests/deriving/should_fail/T1133A.stderr +++ b/testsuite/tests/deriving/should_fail/T1133A.stderr @@ -1,5 +1,5 @@ -T1133A.hs:7:28: error: +T1133A.hs:7:28: error: [GHC-30750] • Can't make a derived instance of ‘Enum X’: ‘X’ must be an enumeration type (an enumeration consists of one or more nullary, non-GADT constructors) diff --git a/testsuite/tests/deriving/should_fail/T11509_1.stderr b/testsuite/tests/deriving/should_fail/T11509_1.stderr index 5ca2d46832a8..8af55d63c433 100644 --- a/testsuite/tests/deriving/should_fail/T11509_1.stderr +++ b/testsuite/tests/deriving/should_fail/T11509_1.stderr @@ -1,5 +1,5 @@ -T11509_1.hs:53:1: error: +T11509_1.hs:53:1: error: [GHC-23244] • Can't make a derived instance of ‘SC (Serializable (MyList a))’: ‘Serializable’ is a type class, and can only have a derived instance if DeriveAnyClass is enabled diff --git a/testsuite/tests/deriving/should_fail/T12163.stderr b/testsuite/tests/deriving/should_fail/T12163.stderr index ba6879839ccd..d075ff30e3ef 100644 --- a/testsuite/tests/deriving/should_fail/T12163.stderr +++ b/testsuite/tests/deriving/should_fail/T12163.stderr @@ -1,5 +1,5 @@ -T12163.hs:8:16: error: +T12163.hs:8:16: error: [GHC-16437] • Can't make a derived instance of ‘Functor (T a)’: Constructor ‘Mk’ is a GADT • In the data declaration for ‘T’ diff --git a/testsuite/tests/deriving/should_fail/T12512.stderr b/testsuite/tests/deriving/should_fail/T12512.stderr index 86d22c01249b..f335e6cbccd0 100644 --- a/testsuite/tests/deriving/should_fail/T12512.stderr +++ b/testsuite/tests/deriving/should_fail/T12512.stderr @@ -1,11 +1,11 @@ -T12512.hs:10:1: error: +T12512.hs:10:1: error: [GHC-00158] • Can't make a derived instance of ‘Wat1 (# a, b #)’: ‘Wat1’ is not a stock derivable class (Eq, Show, etc.) • In the stand-alone deriving instance for ‘Wat1 (# a, b #)’ Suggested fix: Perhaps you intended to use DeriveAnyClass -T12512.hs:13:1: error: +T12512.hs:13:1: error: [GHC-00158] • Can't make a derived instance of ‘Wat2 (# a | b #)’: ‘Wat2’ is not a stock derivable class (Eq, Show, etc.) • In the stand-alone deriving instance for ‘Wat2 (# a | b #)’ diff --git a/testsuite/tests/deriving/should_fail/T12801.stderr b/testsuite/tests/deriving/should_fail/T12801.stderr index cd3193aabe8e..c7fdc1b01ecd 100644 --- a/testsuite/tests/deriving/should_fail/T12801.stderr +++ b/testsuite/tests/deriving/should_fail/T12801.stderr @@ -1,5 +1,5 @@ -T12801.hs:9:17: error: +T12801.hs:9:17: error: [GHC-86639] • Can't make a derived instance of ‘Functor Wibble’: You need DeriveFunctor to derive an instance for this class • In the data declaration for ‘Wibble’ diff --git a/testsuite/tests/deriving/should_fail/T13154c.stderr b/testsuite/tests/deriving/should_fail/T13154c.stderr index 70031a79b2c2..cc2d628c97c9 100644 --- a/testsuite/tests/deriving/should_fail/T13154c.stderr +++ b/testsuite/tests/deriving/should_fail/T13154c.stderr @@ -1,34 +1,34 @@ -T13154c.hs:16:1: error: +T13154c.hs:16:1: error: [GHC-28323] • Can't make a derived instance of ‘Foo1 a’ with the stock strategy: The last argument of the instance must be a data or newtype application • In the stand-alone deriving instance for ‘Foo1 a’ -T13154c.hs:17:1: error: +T13154c.hs:17:1: error: [GHC-00158] • Can't make a derived instance of ‘Foo1 (# #)’ with the stock strategy: ‘Foo1’ is not a stock derivable class (Eq, Show, etc.) • In the stand-alone deriving instance for ‘Foo1 (# #)’ -T13154c.hs:18:1: error: +T13154c.hs:18:1: error: [GHC-28323] • Can't make a derived instance of ‘Foo1 a’ with the newtype strategy: The last argument of the instance must be a data or newtype application • In the stand-alone deriving instance for ‘Foo1 a’ -T13154c.hs:19:1: error: +T13154c.hs:19:1: error: [GHC-10333] • Can't make a derived instance of ‘Foo1 (# #)’ with the newtype strategy: GeneralizedNewtypeDeriving cannot be used on non-newtypes • In the stand-alone deriving instance for ‘Foo1 (# #)’ -T13154c.hs:22:1: error: +T13154c.hs:22:1: error: [GHC-04956] • Can't make a derived instance of ‘Foo2’ with the stock strategy: Cannot derive instances for nullary classes • In the stand-alone deriving instance for ‘Foo2’ -T13154c.hs:23:1: error: +T13154c.hs:23:1: error: [GHC-04956] • Can't make a derived instance of ‘Foo2’ with the newtype strategy: Cannot derive instances for nullary classes diff --git a/testsuite/tests/deriving/should_fail/T14365.stderr b/testsuite/tests/deriving/should_fail/T14365.stderr index f8f106fea8be..dff9ece56b1a 100644 --- a/testsuite/tests/deriving/should_fail/T14365.stderr +++ b/testsuite/tests/deriving/should_fail/T14365.stderr @@ -1,12 +1,12 @@ [1 of 3] Compiling T14365B[boot] ( T14365B.hs-boot, T14365B.o-boot ) -T14365B.hs-boot:5:13: error: +T14365B.hs-boot:5:13: error: [GHC-30903] • Can't make a derived instance of ‘Functor Foo’: Cannot derive instances in hs-boot files Write an instance declaration instead • In the data declaration for ‘Foo’ -T14365B.hs-boot:7:1: error: +T14365B.hs-boot:7:1: error: [GHC-30903] • Can't make a derived instance of ‘Foldable Foo’: Cannot derive instances in hs-boot files Write an instance declaration instead diff --git a/testsuite/tests/deriving/should_fail/T14728a.stderr b/testsuite/tests/deriving/should_fail/T14728a.stderr index b76d073645f0..80d31d82906f 100644 --- a/testsuite/tests/deriving/should_fail/T14728a.stderr +++ b/testsuite/tests/deriving/should_fail/T14728a.stderr @@ -1,5 +1,5 @@ -T14728a.hs:17:1: error: +T14728a.hs:17:1: error: [GHC-34611] • Can't make a derived instance of ‘C (Identity a)’ (even with cunning GeneralizedNewtypeDeriving): the associated type ‘T’ contains the last type variable diff --git a/testsuite/tests/deriving/should_fail/T14728b.stderr b/testsuite/tests/deriving/should_fail/T14728b.stderr index ee74f8b4dae4..761f1db0342c 100644 --- a/testsuite/tests/deriving/should_fail/T14728b.stderr +++ b/testsuite/tests/deriving/should_fail/T14728b.stderr @@ -1,5 +1,5 @@ -T14728b.hs:16:1: error: +T14728b.hs:16:1: error: [GHC-34611] • Can't make a derived instance of ‘C (Identity a)’ (even with cunning GeneralizedNewtypeDeriving): the associated type ‘U’ contains the last type variable diff --git a/testsuite/tests/deriving/should_fail/T14916.stderr b/testsuite/tests/deriving/should_fail/T14916.stderr index 173536e79083..62aa41017900 100644 --- a/testsuite/tests/deriving/should_fail/T14916.stderr +++ b/testsuite/tests/deriving/should_fail/T14916.stderr @@ -1,8 +1,8 @@ -T14916.hs:7:24: error: +T14916.hs:7:24: error: [GHC-97044] • Class ‘~’ does not support user-specified instances. • In the data declaration for ‘A’ -T14916.hs:8:24: error: +T14916.hs:8:24: error: [GHC-97044] • Class ‘Coercible’ does not support user-specified instances. • In the data declaration for ‘B’ diff --git a/testsuite/tests/deriving/should_fail/T1496.stderr b/testsuite/tests/deriving/should_fail/T1496.stderr index 6183819bc4bd..73f1f7e34f14 100644 --- a/testsuite/tests/deriving/should_fail/T1496.stderr +++ b/testsuite/tests/deriving/should_fail/T1496.stderr @@ -1,5 +1,5 @@ -T1496.hs:10:32: error: +T1496.hs:10:32: error: [GHC-18872] • Couldn't match representation of type: c Int with that of: c Moo arising from the coercion of the method ‘isInt’ diff --git a/testsuite/tests/deriving/should_fail/T16181.stderr b/testsuite/tests/deriving/should_fail/T16181.stderr index ed08f53bb2f2..5e4285cdeae6 100644 --- a/testsuite/tests/deriving/should_fail/T16181.stderr +++ b/testsuite/tests/deriving/should_fail/T16181.stderr @@ -1,19 +1,19 @@ -T16181.hs:14:13: error: +T16181.hs:14:13: error: [GHC-38996] • Cannot eta-reduce to an instance of form instance (...) => Show1 (FlipConst a) • In the newtype declaration for ‘FlipConst’ -T16181.hs:14:20: error: +T16181.hs:14:20: error: [GHC-38996] • Cannot eta-reduce to an instance of form instance (...) => Eq1 (FlipConst a) • In the newtype declaration for ‘FlipConst’ -T16181.hs:19:14: error: +T16181.hs:19:14: error: [GHC-38996] • Cannot eta-reduce to an instance of form instance (...) => MonadTrans (Q x) • In the newtype declaration for ‘Q’ -T16181.hs:26:12: error: +T16181.hs:26:12: error: [GHC-38996] • Cannot eta-reduce to an instance of form instance (...) => C T • In the data declaration for ‘T’ diff --git a/testsuite/tests/deriving/should_fail/T16923.stderr b/testsuite/tests/deriving/should_fail/T16923.stderr index b17e673b30e0..18d0f76196ed 100644 --- a/testsuite/tests/deriving/should_fail/T16923.stderr +++ b/testsuite/tests/deriving/should_fail/T16923.stderr @@ -1,5 +1,5 @@ -T16923.hs:4:32: error: +T16923.hs:4:32: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the first argument of ‘Maybe’, namely ‘Maybe’ diff --git a/testsuite/tests/deriving/should_fail/T18127b.stderr b/testsuite/tests/deriving/should_fail/T18127b.stderr index 9062ae38cfe2..02a24efed81b 100644 --- a/testsuite/tests/deriving/should_fail/T18127b.stderr +++ b/testsuite/tests/deriving/should_fail/T18127b.stderr @@ -1,22 +1,22 @@ -T18127b.hs:7:40: error: +T18127b.hs:7:40: error: [GHC-16437] • Can't make a derived instance of ‘Eq T1’: Constructor ‘MkT1’ has a higher-rank type • In the data declaration for ‘T1’ Suggested fix: Use a standalone deriving declaration instead -T18127b.hs:7:44: error: +T18127b.hs:7:44: error: [GHC-30367] • Can't make a derived instance of ‘Generic T1’: MkT1 must not have exotic unlifted or polymorphic arguments • In the data declaration for ‘T1’ -T18127b.hs:8:42: error: +T18127b.hs:8:42: error: [GHC-16437] • Can't make a derived instance of ‘Eq (T2 a)’: Constructor ‘MkT2’ has a higher-rank type • In the data declaration for ‘T2’ Suggested fix: Use a standalone deriving declaration instead -T18127b.hs:8:46: error: +T18127b.hs:8:46: error: [GHC-30367] • Can't make a derived instance of ‘Generic (T2 a)’: MkT2 must not have exotic unlifted or polymorphic arguments • In the data declaration for ‘T2’ diff --git a/testsuite/tests/deriving/should_fail/T1830_1.stderr b/testsuite/tests/deriving/should_fail/T1830_1.stderr index f4e541771039..deb75f4939ba 100644 --- a/testsuite/tests/deriving/should_fail/T1830_1.stderr +++ b/testsuite/tests/deriving/should_fail/T1830_1.stderr @@ -1,5 +1,5 @@ -T1830_1.hs:6:29: error: +T1830_1.hs:6:29: error: [GHC-86639] • Can't make a derived instance of ‘Lift (Foo a)’: You need DeriveLift to derive an instance for this class • In the data declaration for ‘Foo’ diff --git a/testsuite/tests/deriving/should_fail/T21087.stderr b/testsuite/tests/deriving/should_fail/T21087.stderr index 8e40f6e6416b..53d93993e457 100644 --- a/testsuite/tests/deriving/should_fail/T21087.stderr +++ b/testsuite/tests/deriving/should_fail/T21087.stderr @@ -1,4 +1,4 @@ -T21087.hs:11:25: error: +T21087.hs:11:25: error: [GHC-97044] • Class ‘KnownNat’ does not support user-specified instances. • In the stand-alone deriving instance for ‘KnownNat Z’ diff --git a/testsuite/tests/deriving/should_fail/T21087b.stderr b/testsuite/tests/deriving/should_fail/T21087b.stderr index 6514e20ecfdb..d4c05b4601c3 100644 --- a/testsuite/tests/deriving/should_fail/T21087b.stderr +++ b/testsuite/tests/deriving/should_fail/T21087b.stderr @@ -1,5 +1,5 @@ [1 of 3] Compiling T21087b_aux[boot] ( T21087b_aux.hs-boot, T21087b_aux.o-boot ) -T21087b_aux.hs-boot:11:25: error: +T21087b_aux.hs-boot:11:25: error: [GHC-97044] • Class ‘KnownNat’ does not support user-specified instances. • In the stand-alone deriving instance for ‘KnownNat Z’ diff --git a/testsuite/tests/deriving/should_fail/T21302.stderr b/testsuite/tests/deriving/should_fail/T21302.stderr index 171c9f980d99..fa2cce890ba0 100644 --- a/testsuite/tests/deriving/should_fail/T21302.stderr +++ b/testsuite/tests/deriving/should_fail/T21302.stderr @@ -1,11 +1,11 @@ -T21302.hs:6:13: error: +T21302.hs:6:13: error: [GHC-05617] • Could not solve: ‘c0 Eq Int’ arising from the first field of ‘BoxAssocDouble’ (type ‘BoxAssoc Int’) • When deriving the instance for (Eq BoxAssocDouble) -T21302.hs:12:19: error: +T21302.hs:12:19: error: [GHC-05617] • Could not deduce ‘c0 Eq a’ from the context: c Eq a bound by a stand-alone deriving instance declaration: diff --git a/testsuite/tests/deriving/should_fail/T21871.stderr b/testsuite/tests/deriving/should_fail/T21871.stderr index 3ee6692bd6b8..3ec33ef61bae 100644 --- a/testsuite/tests/deriving/should_fail/T21871.stderr +++ b/testsuite/tests/deriving/should_fail/T21871.stderr @@ -1,5 +1,5 @@ -T21871.hs:13:36: error: +T21871.hs:13:36: error: [GHC-25897] • Couldn't match kind ‘k’ with ‘*’ Expected kind ‘* -> *’, but ‘m’ has kind ‘k -> *’ ‘k’ is a rigid type variable bound by diff --git a/testsuite/tests/deriving/should_fail/T2394.stderr b/testsuite/tests/deriving/should_fail/T2394.stderr index 93093658b197..6f5f996fdfaf 100644 --- a/testsuite/tests/deriving/should_fail/T2394.stderr +++ b/testsuite/tests/deriving/should_fail/T2394.stderr @@ -1,6 +1,6 @@ -T2394.hs:9:1: - Can't make a derived instance of ‘Data (a -> b)’: - The last argument of the instance must be a data or newtype application - In the stand-alone deriving instance for - ‘(Data a, Data b) => Data (a -> b)’ +T2394.hs:9:1: error: [GHC-28323] + • Can't make a derived instance of ‘Data (a -> b)’: + The last argument of the instance must be a data or newtype application + • In the stand-alone deriving instance for + ‘(Data a, Data b) => Data (a -> b)’ diff --git a/testsuite/tests/deriving/should_fail/T2701.stderr b/testsuite/tests/deriving/should_fail/T2701.stderr index ded9a099110c..f5e8214ae5b2 100644 --- a/testsuite/tests/deriving/should_fail/T2701.stderr +++ b/testsuite/tests/deriving/should_fail/T2701.stderr @@ -1,5 +1,5 @@ -T2701.hs:10:32: - Can't make a derived instance of ‘Data Foo’: - Don't know how to derive ‘Data’ for type ‘Int#’ - In the data declaration for ‘Foo’ +T2701.hs:10:32: error: [GHC-48959] + • Can't make a derived instance of ‘Data Foo’: + Don't know how to derive ‘Data’ for type ‘Int#’ + • In the data declaration for ‘Foo’ diff --git a/testsuite/tests/deriving/should_fail/T2851.stderr b/testsuite/tests/deriving/should_fail/T2851.stderr index 19f7f9aa98dc..efc30eea4feb 100644 --- a/testsuite/tests/deriving/should_fail/T2851.stderr +++ b/testsuite/tests/deriving/should_fail/T2851.stderr @@ -1,5 +1,5 @@ -T2851.hs:9:15: error: +T2851.hs:9:15: error: [GHC-39999] • No instance for ‘Show (F a)’ arising from the first field of ‘D’ (type ‘F a’) Possible fix: diff --git a/testsuite/tests/deriving/should_fail/T3101.stderr b/testsuite/tests/deriving/should_fail/T3101.stderr index cacd549cee4c..6e48fdcf7fc0 100644 --- a/testsuite/tests/deriving/should_fail/T3101.stderr +++ b/testsuite/tests/deriving/should_fail/T3101.stderr @@ -1,6 +1,6 @@ -T3101.hs:9:12: - Can't make a derived instance of ‘Show Boom’: - Constructor ‘Boom’ has a higher-rank type - In the data declaration for ‘Boom’ +T3101.hs:9:12: error: [GHC-16437] + • Can't make a derived instance of ‘Show Boom’: + Constructor ‘Boom’ has a higher-rank type + • In the data declaration for ‘Boom’ Suggested fix: Use a standalone deriving declaration instead diff --git a/testsuite/tests/deriving/should_fail/T3621.stderr b/testsuite/tests/deriving/should_fail/T3621.stderr index ec68e81f41b9..3e0510f2c4b5 100644 --- a/testsuite/tests/deriving/should_fail/T3621.stderr +++ b/testsuite/tests/deriving/should_fail/T3621.stderr @@ -1,5 +1,5 @@ -T3621.hs:24:43: error: +T3621.hs:24:43: error: [GHC-25897] • Couldn't match type ‘s’ with ‘state’ arising from a functional dependency between: constraint ‘MonadState state (State s)’ diff --git a/testsuite/tests/deriving/should_fail/T3833.stderr b/testsuite/tests/deriving/should_fail/T3833.stderr index 64983faedf62..5db0cf5adff9 100644 --- a/testsuite/tests/deriving/should_fail/T3833.stderr +++ b/testsuite/tests/deriving/should_fail/T3833.stderr @@ -1,5 +1,5 @@ -T3833.hs:10:1: error: +T3833.hs:10:1: error: [GHC-82023] • Can't make a derived instance of ‘Monoid (DecodeMap e)’: ‘Monoid’ is not a stock derivable class (Eq, Show, etc.) • In the stand-alone deriving instance for ‘Monoid (DecodeMap e)’ diff --git a/testsuite/tests/deriving/should_fail/T3834.stderr b/testsuite/tests/deriving/should_fail/T3834.stderr index 35ce31a16111..cd2282101c31 100644 --- a/testsuite/tests/deriving/should_fail/T3834.stderr +++ b/testsuite/tests/deriving/should_fail/T3834.stderr @@ -1,5 +1,5 @@ -T3834.hs:9:1: error: +T3834.hs:9:1: error: [GHC-82023] • Can't make a derived instance of ‘C T’: ‘C’ is not a stock derivable class (Eq, Show, etc.) • In the stand-alone deriving instance for ‘C T’ diff --git a/testsuite/tests/deriving/should_fail/T4083.stderr b/testsuite/tests/deriving/should_fail/T4083.stderr index 299e8d83c2ba..22b0ce78b9bb 100644 --- a/testsuite/tests/deriving/should_fail/T4083.stderr +++ b/testsuite/tests/deriving/should_fail/T4083.stderr @@ -1,5 +1,5 @@ -T4083.hs:14:1: error: +T4083.hs:14:1: error: [GHC-34611] • Can't make a derived instance of ‘C (F [a])’ (even with cunning GeneralizedNewtypeDeriving): the class has associated data types diff --git a/testsuite/tests/deriving/should_fail/T4528.stderr b/testsuite/tests/deriving/should_fail/T4528.stderr index 0b50737300f9..8f00d0df619b 100644 --- a/testsuite/tests/deriving/should_fail/T4528.stderr +++ b/testsuite/tests/deriving/should_fail/T4528.stderr @@ -1,14 +1,14 @@ -T4528.hs:9:1: - Can't make a derived instance of ‘Enum (Foo a)’: - ‘Foo’ must be an enumeration type - (an enumeration consists of one or more nullary, non-GADT constructors) - In the stand-alone deriving instance for ‘Enum (Foo a)’ +T4528.hs:9:1: error: [GHC-30750] + • Can't make a derived instance of ‘Enum (Foo a)’: + ‘Foo’ must be an enumeration type + (an enumeration consists of one or more nullary, non-GADT constructors) + • In the stand-alone deriving instance for ‘Enum (Foo a)’ -T4528.hs:10:1: - Can't make a derived instance of ‘Bounded (Foo a)’: - ‘Foo’ must be an enumeration type - (an enumeration consists of one or more nullary, non-GADT constructors) - or - ‘Foo’ must have precisely one constructor - In the stand-alone deriving instance for ‘Bounded (Foo a)’ +T4528.hs:10:1: error: [GHC-58291] + • Can't make a derived instance of ‘Bounded (Foo a)’: + ‘Foo’ must be an enumeration type + (an enumeration consists of one or more nullary, non-GADT constructors) + or + ‘Foo’ must have precisely one constructor + • In the stand-alone deriving instance for ‘Bounded (Foo a)’ diff --git a/testsuite/tests/deriving/should_fail/T4846.stderr b/testsuite/tests/deriving/should_fail/T4846.stderr index c9ff10c30f7a..2bb260d53f21 100644 --- a/testsuite/tests/deriving/should_fail/T4846.stderr +++ b/testsuite/tests/deriving/should_fail/T4846.stderr @@ -1,5 +1,5 @@ -T4846.hs:29:1: error: +T4846.hs:29:1: error: [GHC-18872] • Couldn't match type ‘Bool’ with ‘BOOL’ arising from a use of ‘GHC.Prim.coerce’ • In the expression: diff --git a/testsuite/tests/deriving/should_fail/T5287.stderr b/testsuite/tests/deriving/should_fail/T5287.stderr index a82cf44b9406..bc8cc7198e8b 100644 --- a/testsuite/tests/deriving/should_fail/T5287.stderr +++ b/testsuite/tests/deriving/should_fail/T5287.stderr @@ -1,5 +1,5 @@ -T5287.hs:7:10: error: +T5287.hs:7:10: error: [GHC-39999] • Could not deduce ‘A a oops0’ from the context: A a oops bound by an instance declaration: diff --git a/testsuite/tests/deriving/should_fail/T5478.stderr b/testsuite/tests/deriving/should_fail/T5478.stderr index 6c194a379394..4f759d5a970d 100644 --- a/testsuite/tests/deriving/should_fail/T5478.stderr +++ b/testsuite/tests/deriving/should_fail/T5478.stderr @@ -1,5 +1,5 @@ -T5478.hs:6:38: - Can't make a derived instance of ‘Show Foo’: - Don't know how to derive ‘Show’ for type ‘ByteArray#’ - In the data declaration for ‘Foo’ +T5478.hs:6:38: error: [GHC-48959] + • Can't make a derived instance of ‘Show Foo’: + Don't know how to derive ‘Show’ for type ‘ByteArray#’ + • In the data declaration for ‘Foo’ diff --git a/testsuite/tests/deriving/should_fail/T5498.stderr b/testsuite/tests/deriving/should_fail/T5498.stderr index 1960487c389e..d6638f4332f6 100644 --- a/testsuite/tests/deriving/should_fail/T5498.stderr +++ b/testsuite/tests/deriving/should_fail/T5498.stderr @@ -1,5 +1,5 @@ -T5498.hs:30:39: error: +T5498.hs:30:39: error: [GHC-18872] • Couldn't match representation of type: c a with that of: c (Down a) arising from the coercion of the method ‘intIso’ diff --git a/testsuite/tests/deriving/should_fail/T5686.stderr b/testsuite/tests/deriving/should_fail/T5686.stderr index 74f8dd88c7de..df3b7e1da6d3 100644 --- a/testsuite/tests/deriving/should_fail/T5686.stderr +++ b/testsuite/tests/deriving/should_fail/T5686.stderr @@ -1,5 +1,5 @@ -T5686.hs:4:29: - Can't make a derived instance of ‘Functor U’: - Constructor ‘U’ must use the type variable only as the last argument of a data type - In the data declaration for ‘U’ +T5686.hs:4:29: error: [GHC-16437] + • Can't make a derived instance of ‘Functor U’: + Constructor ‘U’ must use the type variable only as the last argument of a data type + • In the data declaration for ‘U’ diff --git a/testsuite/tests/deriving/should_fail/T5922.stderr b/testsuite/tests/deriving/should_fail/T5922.stderr index c879b7ecfa99..f336cc6595be 100644 --- a/testsuite/tests/deriving/should_fail/T5922.stderr +++ b/testsuite/tests/deriving/should_fail/T5922.stderr @@ -1,4 +1,4 @@ -T5922.hs:3:42: - Illegal deriving item ‘show’ - In the data declaration for ‘Proposition’ +T5922.hs:3:42: error: [GHC-11913] + • Illegal deriving item ‘show’ + • In the data declaration for ‘Proposition’ diff --git a/testsuite/tests/deriving/should_fail/T6147.stderr b/testsuite/tests/deriving/should_fail/T6147.stderr index a7bd1ab477a0..511a5c5376c2 100644 --- a/testsuite/tests/deriving/should_fail/T6147.stderr +++ b/testsuite/tests/deriving/should_fail/T6147.stderr @@ -1,6 +1,6 @@ -T6147.hs:13:32: error: - Couldn't match type ‘Int’ with ‘Foo’ - arising from the coercion of the method ‘foo’ - from type ‘Int -> T Int’ to type ‘Foo -> T Foo’ - When deriving the instance for (C Foo) +T6147.hs:13:32: error: [GHC-18872] + • Couldn't match type ‘Int’ with ‘Foo’ + arising from the coercion of the method ‘foo’ + from type ‘Int -> T Int’ to type ‘Foo -> T Foo’ + • When deriving the instance for (C Foo) diff --git a/testsuite/tests/deriving/should_fail/T7148.stderr b/testsuite/tests/deriving/should_fail/T7148.stderr index 487d2da62275..90c253eacf49 100644 --- a/testsuite/tests/deriving/should_fail/T7148.stderr +++ b/testsuite/tests/deriving/should_fail/T7148.stderr @@ -1,5 +1,5 @@ -T7148.hs:27:40: error: +T7148.hs:27:40: error: [GHC-25897] • Couldn't match type ‘b’ with ‘Tagged a b’ arising from the coercion of the method ‘iso2’ from type ‘forall b1. SameType b1 () -> SameType b1 b’ @@ -9,7 +9,7 @@ T7148.hs:27:40: error: at T7148.hs:27:40-46 • When deriving the instance for (IsoUnit (Tagged a b)) -T7148.hs:27:40: error: +T7148.hs:27:40: error: [GHC-25897] • Couldn't match type ‘b’ with ‘Tagged a b’ arising from the coercion of the method ‘iso1’ from type ‘forall b1. SameType () b1 -> SameType b b1’ diff --git a/testsuite/tests/deriving/should_fail/T7148a.stderr b/testsuite/tests/deriving/should_fail/T7148a.stderr index b0f5cbfb6832..dfd602bf58bb 100644 --- a/testsuite/tests/deriving/should_fail/T7148a.stderr +++ b/testsuite/tests/deriving/should_fail/T7148a.stderr @@ -1,5 +1,5 @@ -T7148a.hs:19:50: error: +T7148a.hs:19:50: error: [GHC-10283] • Couldn't match representation of type ‘b’ with that of ‘Result a b’ arising from the coercion of the method ‘coerce’ @@ -7,5 +7,6 @@ T7148a.hs:19:50: error: to type ‘forall b. Proxy b -> IS_NO_LONGER a -> Result (IS_NO_LONGER a) b’ ‘b’ is a rigid type variable bound by - the type Proxy b -> a -> Result a b at T7148a.hs:19:50-56 + the type Proxy b -> a -> Result a b + at T7148a.hs:19:50-56 • When deriving the instance for (Convert (IS_NO_LONGER a)) diff --git a/testsuite/tests/deriving/should_fail/T7401_fail.stderr b/testsuite/tests/deriving/should_fail/T7401_fail.stderr index ab6397fd0c7e..4b79f4aa5ae0 100644 --- a/testsuite/tests/deriving/should_fail/T7401_fail.stderr +++ b/testsuite/tests/deriving/should_fail/T7401_fail.stderr @@ -1,7 +1,8 @@ -T7401_fail.hs:4:17: error: +T7401_fail.hs:4:17: error: [GHC-64560] • Can't make a derived instance of ‘Eq D’: ‘D’ must have at least one data constructor • In the data declaration for ‘D’ Suggested fix: - Use EmptyDataDeriving to enable deriving for empty data types + Use EmptyDataDeriving + to enable deriving for empty data types diff --git a/testsuite/tests/deriving/should_fail/T7959.stderr b/testsuite/tests/deriving/should_fail/T7959.stderr index 6991c57d0f5a..b0f5c916c0c2 100644 --- a/testsuite/tests/deriving/should_fail/T7959.stderr +++ b/testsuite/tests/deriving/should_fail/T7959.stderr @@ -1,9 +1,9 @@ -T7959.hs:5:1: error: +T7959.hs:5:1: error: [GHC-38178] • Can't make a derived instance of ‘A’: • In the stand-alone deriving instance for ‘A’ Suggested fix: Perhaps you intended to use DeriveAnyClass -T7959.hs:6:17: error: +T7959.hs:6:17: error: [GHC-73993] • ‘A’ is not a unary constraint, as expected by a deriving clause • In the data declaration for ‘B’ diff --git a/testsuite/tests/deriving/should_fail/T8165_fail1.stderr b/testsuite/tests/deriving/should_fail/T8165_fail1.stderr index c47ed702f4a8..8a53133d7225 100644 --- a/testsuite/tests/deriving/should_fail/T8165_fail1.stderr +++ b/testsuite/tests/deriving/should_fail/T8165_fail1.stderr @@ -1,18 +1,18 @@ -T8165_fail1.hs:17:12: error: +T8165_fail1.hs:17:12: error: [GHC-34611] • Can't make a derived instance of ‘C MyInt’ (even with cunning GeneralizedNewtypeDeriving): the associated type ‘T’ is not parameterized over the last type variable of the class ‘C’ • In the newtype declaration for ‘MyInt’ -T8165_fail1.hs:25:8: error: +T8165_fail1.hs:25:8: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: S Int = Char -- Defined at T8165_fail1.hs:25:8 S WrappedInt = S Int -- Defined at T8165_fail1.hs:28:12 -T8165_fail1.hs:28:12: error: +T8165_fail1.hs:28:12: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: S WrappedInt = S Int -- Defined at T8165_fail1.hs:28:12 diff --git a/testsuite/tests/deriving/should_fail/T8851.stderr b/testsuite/tests/deriving/should_fail/T8851.stderr index c4bfff355944..15dbd88e440f 100644 --- a/testsuite/tests/deriving/should_fail/T8851.stderr +++ b/testsuite/tests/deriving/should_fail/T8851.stderr @@ -1,5 +1,5 @@ -T8851.hs:25:12: error: +T8851.hs:25:12: error: [GHC-18872] • Couldn't match type ‘Parser’ with ‘MyParser’ arising from the coercion of the method ‘notFollowedBy’ from type ‘forall a. diff --git a/testsuite/tests/deriving/should_fail/T8984.stderr b/testsuite/tests/deriving/should_fail/T8984.stderr index 9908f70f0a09..8a23250d4dc2 100644 --- a/testsuite/tests/deriving/should_fail/T8984.stderr +++ b/testsuite/tests/deriving/should_fail/T8984.stderr @@ -1,5 +1,5 @@ -T8984.hs:7:46: error: +T8984.hs:7:46: error: [GHC-18872] • Couldn't match representation of type: cat a (N cat a Int) with that of: cat a (cat a Int) arising from the coercion of the method ‘app’ diff --git a/testsuite/tests/deriving/should_fail/T9071.stderr b/testsuite/tests/deriving/should_fail/T9071.stderr index c2dccbd28f02..c6cc95461ba6 100644 --- a/testsuite/tests/deriving/should_fail/T9071.stderr +++ b/testsuite/tests/deriving/should_fail/T9071.stderr @@ -1,7 +1,7 @@ [1 of 2] Compiling T9071a ( T9071a.hs, T9071a.o ) [2 of 2] Compiling T9071 ( T9071.hs, T9071.o ) -T9071.hs:7:37: error: - Couldn't match kind ‘* -> *’ with ‘*’ - arising from the first field of ‘F’ (type ‘Mu (K a)’) - When deriving the instance for (Functor F) +T9071.hs:7:37: error: [GHC-18872] + • Couldn't match kind ‘* -> *’ with ‘*’ + arising from the first field of ‘F’ (type ‘Mu (K a)’) + • When deriving the instance for (Functor F) diff --git a/testsuite/tests/deriving/should_fail/T9071_2.stderr b/testsuite/tests/deriving/should_fail/T9071_2.stderr index f618343a7ab9..258a786d5108 100644 --- a/testsuite/tests/deriving/should_fail/T9071_2.stderr +++ b/testsuite/tests/deriving/should_fail/T9071_2.stderr @@ -1,5 +1,5 @@ -T9071_2.hs:7:40: error: - Couldn't match kind ‘* -> *’ with ‘*’ - arising from the first field of ‘F1’ (type ‘Mu (K1 a)’) - When deriving the instance for (Functor F1) +T9071_2.hs:7:40: error: [GHC-18872] + • Couldn't match kind ‘* -> *’ with ‘*’ + arising from the first field of ‘F1’ (type ‘Mu (K1 a)’) + • When deriving the instance for (Functor F1) diff --git a/testsuite/tests/deriving/should_fail/T9600-1.stderr b/testsuite/tests/deriving/should_fail/T9600-1.stderr index 88d24079a0bd..7585ec084f7d 100644 --- a/testsuite/tests/deriving/should_fail/T9600-1.stderr +++ b/testsuite/tests/deriving/should_fail/T9600-1.stderr @@ -1,6 +1,6 @@ -T9600-1.hs:5:39: error: - Can't make a derived instance of ‘Applicative Foo’ - (even with cunning GeneralizedNewtypeDeriving): - cannot eta-reduce the representation type enough - In the newtype declaration for ‘Foo’ +T9600-1.hs:5:39: error: [GHC-26557] + • Can't make a derived instance of ‘Applicative Foo’ + (even with cunning GeneralizedNewtypeDeriving): + cannot eta-reduce the representation type enough + • In the newtype declaration for ‘Foo’ diff --git a/testsuite/tests/deriving/should_fail/T9600.stderr b/testsuite/tests/deriving/should_fail/T9600.stderr index 6ff63108f9c2..f33a9ad63669 100644 --- a/testsuite/tests/deriving/should_fail/T9600.stderr +++ b/testsuite/tests/deriving/should_fail/T9600.stderr @@ -1,5 +1,5 @@ -T9600.hs:4:39: error: +T9600.hs:4:39: error: [GHC-82023] • Can't make a derived instance of ‘Applicative Foo’: ‘Applicative’ is not a stock derivable class (Eq, Show, etc.) • In the newtype declaration for ‘Foo’ diff --git a/testsuite/tests/deriving/should_fail/T9687.stderr b/testsuite/tests/deriving/should_fail/T9687.stderr index fa6e04ff0ab1..cf62064dd0d5 100644 --- a/testsuite/tests/deriving/should_fail/T9687.stderr +++ b/testsuite/tests/deriving/should_fail/T9687.stderr @@ -1,5 +1,5 @@ -T9687.hs:4:10: error: +T9687.hs:4:10: error: [GHC-97044] • Class ‘Typeable’ does not support user-specified instances. • In the instance declaration for ‘Typeable (a, b, c, d, e, f, g, h)’ diff --git a/testsuite/tests/deriving/should_fail/deriving-via-fail.stderr b/testsuite/tests/deriving/should_fail/deriving-via-fail.stderr index ea07442a8200..3e638d56f95f 100644 --- a/testsuite/tests/deriving/should_fail/deriving-via-fail.stderr +++ b/testsuite/tests/deriving/should_fail/deriving-via-fail.stderr @@ -1,5 +1,5 @@ -deriving-via-fail.hs:10:34: error: +deriving-via-fail.hs:10:34: error: [GHC-10283] • Couldn't match representation of type ‘a’ with that of ‘b’ arising from the coercion of the method ‘showsPrec’ from type ‘Int -> Identity b -> ShowS’ @@ -12,13 +12,13 @@ deriving-via-fail.hs:10:34: error: at deriving-via-fail.hs:10:34-37 • When deriving the instance for (Show (Foo1 a)) -deriving-via-fail.hs:13:12: error: +deriving-via-fail.hs:13:12: error: [GHC-63174] • Cannot derive instance via ‘fooo’ Class ‘Category’ expects an argument of kind ‘* -> * -> *’, but ‘fooo’ has kind ‘*’ • In the newtype declaration for ‘Foo2’ -deriving-via-fail.hs:16:20: error: +deriving-via-fail.hs:16:20: error: [GHC-10283] • Couldn't match representation of type ‘a’ with that of ‘Foo3’ arising from the coercion of the method ‘==’ from type ‘a -> a -> Bool’ to type ‘Foo3 -> Foo3 -> Bool’ diff --git a/testsuite/tests/deriving/should_fail/deriving-via-fail2.stderr b/testsuite/tests/deriving/should_fail/deriving-via-fail2.stderr index d5692ad6b2fe..24cb3f43583a 100644 --- a/testsuite/tests/deriving/should_fail/deriving-via-fail2.stderr +++ b/testsuite/tests/deriving/should_fail/deriving-via-fail2.stderr @@ -1,5 +1,5 @@ -deriving-via-fail2.hs:7:1: error: +deriving-via-fail2.hs:7:1: error: [GHC-63174] • Cannot derive instance via ‘Maybe’ Class ‘C’ expects an argument of kind ‘*’, but ‘Maybe’ has kind ‘* -> *’ diff --git a/testsuite/tests/deriving/should_fail/deriving-via-fail4.stderr b/testsuite/tests/deriving/should_fail/deriving-via-fail4.stderr index 12fc6691a8b0..43b626be0a79 100644 --- a/testsuite/tests/deriving/should_fail/deriving-via-fail4.stderr +++ b/testsuite/tests/deriving/should_fail/deriving-via-fail4.stderr @@ -1,11 +1,11 @@ -deriving-via-fail4.hs:15:12: error: +deriving-via-fail4.hs:15:12: error: [GHC-18872] • Couldn't match representation of type ‘Int’ with that of ‘Char’ arising from the coercion of the method ‘==’ from type ‘Char -> Char -> Bool’ to type ‘F1 -> F1 -> Bool’ • When deriving the instance for (Eq F1) -deriving-via-fail4.hs:18:13: error: +deriving-via-fail4.hs:18:13: error: [GHC-10283] • Couldn't match representation of type ‘a1’ with that of ‘a2’ arising from the coercion of the method ‘c’ from type ‘a -> a -> Bool’ to type ‘a -> F2 a1 -> Bool’ diff --git a/testsuite/tests/deriving/should_fail/deriving-via-fail5.stderr b/testsuite/tests/deriving/should_fail/deriving-via-fail5.stderr index 497e95589602..f5783b0a3296 100644 --- a/testsuite/tests/deriving/should_fail/deriving-via-fail5.stderr +++ b/testsuite/tests/deriving/should_fail/deriving-via-fail5.stderr @@ -1,5 +1,5 @@ -deriving-via-fail5.hs:8:1: error: +deriving-via-fail5.hs:8:1: error: [GHC-10283] • Couldn't match representation of type ‘a’ with that of ‘b’ arising from a use of ‘GHC.Prim.coerce’ ‘a’ is a rigid type variable bound by @@ -25,7 +25,7 @@ deriving-via-fail5.hs:8:1: error: showsPrec :: Int -> Foo4 a -> ShowS (bound at deriving-via-fail5.hs:8:1) -deriving-via-fail5.hs:8:1: error: +deriving-via-fail5.hs:8:1: error: [GHC-10283] • Couldn't match representation of type ‘a’ with that of ‘b’ arising from a use of ‘GHC.Prim.coerce’ ‘a’ is a rigid type variable bound by @@ -48,7 +48,7 @@ deriving-via-fail5.hs:8:1: error: • Relevant bindings include show :: Foo4 a -> String (bound at deriving-via-fail5.hs:8:1) -deriving-via-fail5.hs:8:1: error: +deriving-via-fail5.hs:8:1: error: [GHC-10283] • Couldn't match representation of type ‘a’ with that of ‘b’ arising from a use of ‘GHC.Prim.coerce’ ‘a’ is a rigid type variable bound by diff --git a/testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr b/testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr index f475a3ea5d86..6c11b4ae91f5 100644 --- a/testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr @@ -1,5 +1,5 @@ -drvfail-foldable-traversable1.hs:9:23: error: +drvfail-foldable-traversable1.hs:9:23: error: [GHC-39999] • No instance for ‘Functor Trivial1’ arising from the 'deriving' clause of a data type declaration Possible fix: @@ -7,7 +7,7 @@ drvfail-foldable-traversable1.hs:9:23: error: so you can specify the instance context yourself • When deriving the instance for (Traversable Trivial1) -drvfail-foldable-traversable1.hs:13:22: error: +drvfail-foldable-traversable1.hs:13:22: error: [GHC-39999] • No instance for ‘Foldable Trivial2’ arising from the 'deriving' clause of a data type declaration Possible fix: @@ -15,12 +15,12 @@ drvfail-foldable-traversable1.hs:13:22: error: so you can specify the instance context yourself • When deriving the instance for (Traversable Trivial2) -drvfail-foldable-traversable1.hs:17:22: error: +drvfail-foldable-traversable1.hs:17:22: error: [GHC-16437] • Can't make a derived instance of ‘Foldable Infinite’: Constructor ‘Infinite’ must not contain function types • In the data declaration for ‘Infinite’ -drvfail-foldable-traversable1.hs:21:22: error: +drvfail-foldable-traversable1.hs:21:22: error: [GHC-16437] • Can't make a derived instance of ‘Traversable (Cont r)’: Constructor ‘Cont’ must not contain function types • In the data declaration for ‘Cont’ diff --git a/testsuite/tests/deriving/should_fail/drvfail-functor1.stderr b/testsuite/tests/deriving/should_fail/drvfail-functor1.stderr index 07ce81f4abb9..67cddc49ee1c 100644 --- a/testsuite/tests/deriving/should_fail/drvfail-functor1.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail-functor1.stderr @@ -1,5 +1,5 @@ -drvfail-functor1.hs:7:14: error: +drvfail-functor1.hs:7:14: error: [GHC-86639] • Can't make a derived instance of ‘Functor List’: You need DeriveFunctor to derive an instance for this class • In the data declaration for ‘List’ diff --git a/testsuite/tests/deriving/should_fail/drvfail-functor2.stderr b/testsuite/tests/deriving/should_fail/drvfail-functor2.stderr index d66cfda50787..cc3cf26dd7b9 100644 --- a/testsuite/tests/deriving/should_fail/drvfail-functor2.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail-functor2.stderr @@ -2,27 +2,27 @@ drvfail-functor2.hs:2:29: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -drvfail-functor2.hs:8:14: error: +drvfail-functor2.hs:8:14: error: [GHC-16437] • Can't make a derived instance of ‘Functor InFunctionArgument’: Constructor ‘InFunctionArgument’ must not use the type variable in a function argument • In the newtype declaration for ‘InFunctionArgument’ -drvfail-functor2.hs:11:14: error: +drvfail-functor2.hs:11:14: error: [GHC-16437] • Can't make a derived instance of ‘Functor OnSecondArg’: Constructor ‘OnSecondArg’ must use the type variable only as the last argument of a data type • In the newtype declaration for ‘OnSecondArg’ -drvfail-functor2.hs:16:14: error: +drvfail-functor2.hs:16:14: error: [GHC-62016] • Cannot derive well-kinded instance of form ‘Functor (NoArguments ...)’ Class ‘Functor’ expects an argument of kind ‘* -> *’ • In the newtype declaration for ‘NoArguments’ -drvfail-functor2.hs:21:14: error: +drvfail-functor2.hs:21:14: error: [GHC-16588] • Can't make a derived instance of ‘Functor StupidConstraint’: Data type ‘StupidConstraint’ must not have a class context: Eq a • In the data declaration for ‘StupidConstraint’ -drvfail-functor2.hs:27:14: error: +drvfail-functor2.hs:27:14: error: [GHC-39999] • No instance for ‘Functor NoFunctor’ arising from the first field of ‘UseNoFunctor’ (type ‘NoFunctor a’) Possible fix: diff --git a/testsuite/tests/deriving/should_fail/drvfail001.stderr b/testsuite/tests/deriving/should_fail/drvfail001.stderr index 1422723245fc..3fc5dfe65d6d 100644 --- a/testsuite/tests/deriving/should_fail/drvfail001.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail001.stderr @@ -1,5 +1,5 @@ -drvfail001.hs:16:33: error: +drvfail001.hs:16:33: error: [GHC-39999] • No instance for ‘Show (f (f a))’ arising from the first field of ‘ZeroS’ (type ‘f (f a)’) Possible fix: diff --git a/testsuite/tests/deriving/should_fail/drvfail002.stderr b/testsuite/tests/deriving/should_fail/drvfail002.stderr index 72d6abf278a2..60e37a27891e 100644 --- a/testsuite/tests/deriving/should_fail/drvfail002.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail002.stderr @@ -1,5 +1,5 @@ -drvfail002.hs:19:23: error: +drvfail002.hs:19:23: error: [GHC-39999] • No instance for ‘X T c0’ arising from the first field of ‘S’ (type ‘T’) Possible fix: diff --git a/testsuite/tests/deriving/should_fail/drvfail003.stderr b/testsuite/tests/deriving/should_fail/drvfail003.stderr index fea6c6625880..1d419f74f74f 100644 --- a/testsuite/tests/deriving/should_fail/drvfail003.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail003.stderr @@ -1,5 +1,5 @@ -drvfail003.hs:16:56: error: +drvfail003.hs:16:56: error: [GHC-39999] • No instance for ‘Show (v (v a))’ arising from the first field of ‘End’ (type ‘v (v a)’) Possible fix: diff --git a/testsuite/tests/deriving/should_fail/drvfail004.stderr b/testsuite/tests/deriving/should_fail/drvfail004.stderr index 046d99adaf2e..dab15c9a3c8e 100644 --- a/testsuite/tests/deriving/should_fail/drvfail004.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail004.stderr @@ -1,5 +1,5 @@ -drvfail004.hs:8:12: error: +drvfail004.hs:8:12: error: [GHC-39999] • Could not deduce ‘Eq (Foo a b)’ arising from the 'deriving' clause of a data type declaration from the context: (Ord a, Ord b) diff --git a/testsuite/tests/deriving/should_fail/drvfail005.stderr b/testsuite/tests/deriving/should_fail/drvfail005.stderr index 5f1065260290..1a45e8b30243 100644 --- a/testsuite/tests/deriving/should_fail/drvfail005.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail005.stderr @@ -1,4 +1,4 @@ -drvfail005.hs:4:13: error: +drvfail005.hs:4:13: error: [GHC-73993] • ‘Show a’ is not a unary constraint, as expected by a deriving clause • In the data declaration for ‘Test’ diff --git a/testsuite/tests/deriving/should_fail/drvfail006.stderr b/testsuite/tests/deriving/should_fail/drvfail006.stderr index 61900e83ee3b..9b818654b137 100644 --- a/testsuite/tests/deriving/should_fail/drvfail006.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail006.stderr @@ -1,4 +1,4 @@ -drvfail006.hs:9:45: error: +drvfail006.hs:9:45: error: [GHC-73993] • ‘MonadState’ is not a unary constraint, as expected by a deriving clause • In the newtype declaration for ‘T’ diff --git a/testsuite/tests/deriving/should_fail/drvfail007.stderr b/testsuite/tests/deriving/should_fail/drvfail007.stderr index 2bf5f115c5c7..9d9272f36f17 100644 --- a/testsuite/tests/deriving/should_fail/drvfail007.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail007.stderr @@ -1,5 +1,5 @@ -drvfail007.hs:4:38: error: +drvfail007.hs:4:38: error: [GHC-39999] • No instance for ‘Eq (Int -> Int)’ arising from the first field of ‘Foo’ (type ‘Int -> Int’) (maybe you haven't applied a function to enough arguments?) diff --git a/testsuite/tests/deriving/should_fail/drvfail008.stderr b/testsuite/tests/deriving/should_fail/drvfail008.stderr index 4ed9375d6118..baa09b5398da 100644 --- a/testsuite/tests/deriving/should_fail/drvfail008.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail008.stderr @@ -1,5 +1,5 @@ -drvfail008.hs:11:43: error: +drvfail008.hs:11:43: error: [GHC-82023] • Can't make a derived instance of ‘Monad M’: ‘Monad’ is not a stock derivable class (Eq, Show, etc.) • In the newtype declaration for ‘M’ diff --git a/testsuite/tests/deriving/should_fail/drvfail009.stderr b/testsuite/tests/deriving/should_fail/drvfail009.stderr index 9c5f9ff0da28..c5e8977bc5ba 100644 --- a/testsuite/tests/deriving/should_fail/drvfail009.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail009.stderr @@ -1,21 +1,21 @@ -drvfail009.hs:10:31: error: - ‘C’ is not a unary constraint, as expected by a deriving clause - In the newtype declaration for ‘T1’ +drvfail009.hs:10:31: error: [GHC-73993] + • ‘C’ is not a unary constraint, as expected by a deriving clause + • In the newtype declaration for ‘T1’ -drvfail009.hs:13:31: error: - Cannot derive well-kinded instance of form ‘Monad (T2 ...)’ - Class ‘Monad’ expects an argument of kind ‘* -> *’ - In the newtype declaration for ‘T2’ +drvfail009.hs:13:31: error: [GHC-62016] + • Cannot derive well-kinded instance of form ‘Monad (T2 ...)’ + Class ‘Monad’ expects an argument of kind ‘* -> *’ + • In the newtype declaration for ‘T2’ -drvfail009.hs:16:33: error: - Can't make a derived instance of ‘Monad T3’ - (even with cunning GeneralizedNewtypeDeriving): - cannot eta-reduce the representation type enough - In the newtype declaration for ‘T3’ +drvfail009.hs:16:33: error: [GHC-26557] + • Can't make a derived instance of ‘Monad T3’ + (even with cunning GeneralizedNewtypeDeriving): + cannot eta-reduce the representation type enough + • In the newtype declaration for ‘T3’ -drvfail009.hs:19:42: error: - Can't make a derived instance of ‘Monad T4’ - (even with cunning GeneralizedNewtypeDeriving): - cannot eta-reduce the representation type enough - In the newtype declaration for ‘T4’ +drvfail009.hs:19:42: error: [GHC-26557] + • Can't make a derived instance of ‘Monad T4’ + (even with cunning GeneralizedNewtypeDeriving): + cannot eta-reduce the representation type enough + • In the newtype declaration for ‘T4’ diff --git a/testsuite/tests/deriving/should_fail/drvfail011.stderr b/testsuite/tests/deriving/should_fail/drvfail011.stderr index b09281f2710f..b14fb355727f 100644 --- a/testsuite/tests/deriving/should_fail/drvfail011.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail011.stderr @@ -1,5 +1,5 @@ -drvfail011.hs:8:1: error: +drvfail011.hs:8:1: error: [GHC-39999] • No instance for ‘Eq a’ arising from a use of ‘==’ Possible fix: add (Eq a) to the context of the instance declaration • In the expression: a1 == b1 diff --git a/testsuite/tests/deriving/should_fail/drvfail012.stderr b/testsuite/tests/deriving/should_fail/drvfail012.stderr index 3df709fa3aba..bf19b25e76d1 100644 --- a/testsuite/tests/deriving/should_fail/drvfail012.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail012.stderr @@ -1,5 +1,5 @@ -drvfail012.hs:5:33: error: +drvfail012.hs:5:33: error: [GHC-39999] • Could not deduce ‘Eq (Ego a)’ arising from the 'deriving' clause of a data type declaration from the context: Ord a diff --git a/testsuite/tests/deriving/should_fail/drvfail013.stderr b/testsuite/tests/deriving/should_fail/drvfail013.stderr index 8f16d0d098e5..bacbb7c9e883 100644 --- a/testsuite/tests/deriving/should_fail/drvfail013.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail013.stderr @@ -1,5 +1,5 @@ -drvfail013.hs:4:70: error: +drvfail013.hs:4:70: error: [GHC-39999] • No instance for ‘Eq (m (Maybe a))’ arising from the 'deriving' clause of a data type declaration Possible fix: @@ -7,7 +7,7 @@ drvfail013.hs:4:70: error: so you can specify the instance context yourself • When deriving the instance for (Eq (MaybeT m a)) -drvfail013.hs:6:70: error: +drvfail013.hs:6:70: error: [GHC-39999] • No instance for ‘Eq (m (Maybe a))’ arising from the first field of ‘MaybeT'’ (type ‘m (Maybe a)’) Possible fix: diff --git a/testsuite/tests/deriving/should_fail/drvfail015.stderr b/testsuite/tests/deriving/should_fail/drvfail015.stderr index b731032fc39f..0bf25e9e23d8 100644 --- a/testsuite/tests/deriving/should_fail/drvfail015.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail015.stderr @@ -6,7 +6,7 @@ drvfail015.hs:11:19: error: Use TypeSynonymInstances if you want to disable this.) • In the stand-alone deriving instance for ‘Eq T’ -drvfail015.hs:14:1: error: +drvfail015.hs:14:1: error: [GHC-54540] • Can't make a derived instance of ‘Eq Handle’: The data constructors of ‘Handle’ are not all in scope so you cannot derive an instance for it diff --git a/testsuite/tests/deriving/should_fail/drvfail016.stderr b/testsuite/tests/deriving/should_fail/drvfail016.stderr index 05abbf5bb934..8c9f8db7af69 100644 --- a/testsuite/tests/deriving/should_fail/drvfail016.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail016.stderr @@ -1,5 +1,5 @@ -drvfail016.hs-boot:7:14: error: +drvfail016.hs-boot:7:14: error: [GHC-30903] • Can't make a derived instance of ‘Show D’: Cannot derive instances in hs-boot files Write an instance declaration instead diff --git a/testsuite/tests/deriving/should_run/T9576.stderr b/testsuite/tests/deriving/should_run/T9576.stderr index 8a28897c6b14..78f979a54d34 100644 --- a/testsuite/tests/deriving/should_run/T9576.stderr +++ b/testsuite/tests/deriving/should_run/T9576.stderr @@ -1,4 +1,4 @@ -T9576: T9576.hs:6:31: error: +T9576.exe: T9576.hs:6:31: error: [GHC-39999] • No instance for ‘Show Foo’ arising from a use of ‘showsPrec’ • In the second argument of ‘(.)’, namely ‘(showsPrec 11 b1)’ In the second argument of ‘showParen’, namely diff --git a/testsuite/tests/driver/MultiRootsErr.stderr b/testsuite/tests/driver/MultiRootsErr.stderr index c4b11bfe84e4..0a55ee9efdc4 100644 --- a/testsuite/tests/driver/MultiRootsErr.stderr +++ b/testsuite/tests/driver/MultiRootsErr.stderr @@ -1,4 +1,4 @@ -<no location info>: error: +<no location info>: error: [GHC-29235] module ‘main:MultiRootsErr’ is defined in multiple files: MultiRootsErr.hs MultiRootsErr.hs diff --git a/testsuite/tests/driver/T10600.stderr b/testsuite/tests/driver/T10600.stderr index 4298e67dfc8b..1986c5908531 100644 --- a/testsuite/tests/driver/T10600.stderr +++ b/testsuite/tests/driver/T10600.stderr @@ -1,2 +1,3 @@ -T10600.hs:10:1: - Top-level bindings for unlifted types aren't allowed: foo = 10600# \ No newline at end of file + +T10600.hs:10:1: error: [GHC-48099] + Top-level bindings for unlifted types aren't allowed: foo = 10600# diff --git a/testsuite/tests/driver/T11429c.stderr b/testsuite/tests/driver/T11429c.stderr index 1424753e4efb..89deb221013a 100644 --- a/testsuite/tests/driver/T11429c.stderr +++ b/testsuite/tests/driver/T11429c.stderr @@ -1,3 +1,3 @@ -on the commandline: error: [-Wunrecognised-warning-flags, -Werror=unrecognised-warning-flags] +on the commandline: error: [-Wunrecognised-warning-flags, Werror=unrecognised-warning-flags] unrecognised warning flag: -Wfoobar diff --git a/testsuite/tests/driver/T12955.stderr b/testsuite/tests/driver/T12955.stderr index baa6fc60646c..d1b914035fb1 100644 --- a/testsuite/tests/driver/T12955.stderr +++ b/testsuite/tests/driver/T12955.stderr @@ -1,11 +1,11 @@ -T12955.hsig:1:11: error: +T12955.hsig:1:11: error: [GHC-66004] Unexpected signature: ‘T12955’ Suggested fix: Try passing -instantiated-with="T12955=<T12955>" replacing <T12955> as necessary. -T12955.hsig:1:11: error: +T12955.hsig:1:11: error: [GHC-66004] Unexpected signature: ‘T12955’ Suggested fix: Try adding ‘T12955’ to the ‘signatures’ field in your Cabal file. diff --git a/testsuite/tests/driver/T1372/T1372.stderr b/testsuite/tests/driver/T1372/T1372.stderr index f1024e665e49..ae8a99e59740 100644 --- a/testsuite/tests/driver/T1372/T1372.stderr +++ b/testsuite/tests/driver/T1372/T1372.stderr @@ -1,2 +1,2 @@ -Main.hs:5:5: error: Data constructor not in scope: T +Main.hs:5:5: error: [GHC-88464] Data constructor not in scope: T diff --git a/testsuite/tests/driver/T16167.stdout b/testsuite/tests/driver/T16167.stdout index 3da369eb8b48..de6efddde95c 100644 --- a/testsuite/tests/driver/T16167.stdout +++ b/testsuite/tests/driver/T16167.stdout @@ -1 +1 @@ -{"span":{"file":"T16167.hs","startLine":1,"startCol":8,"endLine":1,"endCol":9},"doc":"parse error on input \u2018f\u2019","messageClass":"MCDiagnostic SevError ErrorWithoutFlag"} +{"span":{"file":"T16167.hs","startLine":1,"startCol":8,"endLine":1,"endCol":9},"doc":"parse error on input \u2018f\u2019","messageClass":"MCDiagnostic SevError ErrorWithoutFlag Just GHC-58481"} diff --git a/testsuite/tests/driver/T21682.stderr b/testsuite/tests/driver/T21682.stderr index 7820cbc46e03..d41a1b8ca36d 100644 --- a/testsuite/tests/driver/T21682.stderr +++ b/testsuite/tests/driver/T21682.stderr @@ -1,3 +1,3 @@ -on the commandline: error: [-Wunrecognised-warning-flags, -Werror=unrecognised-warning-flags] +on the commandline: error: [-Wunrecognised-warning-flags, Werror=unrecognised-warning-flags] unrecognised warning flag: -Wfoo diff --git a/testsuite/tests/driver/T2182.stderr b/testsuite/tests/driver/T2182.stderr index 112ac847c3dc..e850b45df6e2 100644 --- a/testsuite/tests/driver/T2182.stderr +++ b/testsuite/tests/driver/T2182.stderr @@ -1,23 +1,23 @@ -T2182.hs:5:5: error: +T2182.hs:5:5: error: [GHC-39999] • No instance for ‘Show (p1 -> p1)’ arising from a use of ‘show’ (maybe you haven't applied a function to enough arguments?) • In the expression: show (\ x -> x) In an equation for ‘y’: y = show (\ x -> x) -T2182.hs:6:15: error: +T2182.hs:6:15: error: [GHC-39999] • No instance for ‘Eq (p0 -> p0)’ arising from a use of ‘==’ (maybe you haven't applied a function to enough arguments?) • In the expression: (\ x -> x) == (\ y -> y) In an equation for ‘z’: z = (\ x -> x) == (\ y -> y) -T2182.hs:5:5: error: +T2182.hs:5:5: error: [GHC-39999] • No instance for ‘Show (p1 -> p1)’ arising from a use of ‘show’ (maybe you haven't applied a function to enough arguments?) • In the expression: show (\ x -> x) In an equation for ‘y’: y = show (\ x -> x) -T2182.hs:6:15: error: +T2182.hs:6:15: error: [GHC-39999] • No instance for ‘Eq (p0 -> p0)’ arising from a use of ‘==’ (maybe you haven't applied a function to enough arguments?) • In the expression: (\ x -> x) == (\ y -> y) diff --git a/testsuite/tests/driver/T2499.stderr b/testsuite/tests/driver/T2499.stderr index ff156930a05e..86d42f03065c 100644 --- a/testsuite/tests/driver/T2499.stderr +++ b/testsuite/tests/driver/T2499.stderr @@ -1,6 +1,6 @@ -T2499.hs:1:13: error: +T2499.hs:1:13: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -package -T2499.hs:1:22: error: +T2499.hs:1:22: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: blargh diff --git a/testsuite/tests/driver/T2507.stderr b/testsuite/tests/driver/T2507.stderr index 5cb9f41bc2e2..db8fab5a37fa 100644 --- a/testsuite/tests/driver/T2507.stderr +++ b/testsuite/tests/driver/T2507.stderr @@ -1,5 +1,5 @@ -T2507.hs:5:7: error: +T2507.hs:5:7: error: [GHC-83865] * Couldn't match expected type `Int' with actual type `()' * In the expression: () In an equation for `foo': foo = () diff --git a/testsuite/tests/driver/T5147/T5147.stderr b/testsuite/tests/driver/T5147/T5147.stderr index 1e7b18229733..10aa57388f6a 100644 --- a/testsuite/tests/driver/T5147/T5147.stderr +++ b/testsuite/tests/driver/T5147/T5147.stderr @@ -1,5 +1,5 @@ -A.hs:6:15: error: +A.hs:6:15: error: [GHC-39999] • No instance for ‘Show (Fields v)’ arising from a use of ‘show’ • In the expression: show a In an equation for ‘showField’: showField a = show a diff --git a/testsuite/tests/driver/T6037.stderr b/testsuite/tests/driver/T6037.stderr index efc778c02313..b755f4d963b7 100644 --- a/testsuite/tests/driver/T6037.stderr +++ b/testsuite/tests/driver/T6037.stderr @@ -1,5 +1,5 @@ -T6037.hs:5:7: +T6037.hs:5:7: [GHC-83865] * Couldn't match expected type `Int' with actual type `()' * In the expression: () In an equation for `f?o': f?o = () diff --git a/testsuite/tests/driver/T8101.stderr b/testsuite/tests/driver/T8101.stderr index f9ede45f0b42..dc42d7057baa 100644 --- a/testsuite/tests/driver/T8101.stderr +++ b/testsuite/tests/driver/T8101.stderr @@ -1,7 +1,7 @@ -T8101.hs:7:9: warning: [-Wincomplete-patterns (in -Wextra)] +T8101.hs:7:9: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: - Patterns of type ‘ABC’ not matched: + Patterns of type ‘ABC’ not matched: B C diff --git a/testsuite/tests/driver/T8101b.stderr b/testsuite/tests/driver/T8101b.stderr index ed93a3768066..76b5031cd7c8 100644 --- a/testsuite/tests/driver/T8101b.stderr +++ b/testsuite/tests/driver/T8101b.stderr @@ -1,8 +1,8 @@ [1 of 1] Compiling A ( T8101b.hs, nothing ) -T8101b.hs:7:9: warning: [-Wincomplete-patterns (in -Wextra)] +T8101b.hs:7:9: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: - Patterns of type ‘ABC’ not matched: + Patterns of type ‘ABC’ not matched: B C diff --git a/testsuite/tests/driver/T8959a.stderr b/testsuite/tests/driver/T8959a.stderr index 96bc9dd72e5a..3ea586a08d22 100644 --- a/testsuite/tests/driver/T8959a.stderr +++ b/testsuite/tests/driver/T8959a.stderr @@ -1,5 +1,5 @@ -T8959a.hs:5:7: error: +T8959a.hs:5:7: error: [GHC-83865] * Couldn't match expected type `Int -> Int' with actual type `()' * In the expression: () In an equation for `foo': foo = () diff --git a/testsuite/tests/driver/bug1677/bug1677.stderr b/testsuite/tests/driver/bug1677/bug1677.stderr index 89524992ab7d..00e9de27c47b 100644 --- a/testsuite/tests/driver/bug1677/bug1677.stderr +++ b/testsuite/tests/driver/bug1677/bug1677.stderr @@ -1,5 +1,5 @@ -Foo.hs:1:1: +Foo.hs:1:1: error: [GHC-28623] File name does not match module name: Saw : ‘Main’ Expected: ‘Foo’ diff --git a/testsuite/tests/driver/json.stderr b/testsuite/tests/driver/json.stderr index 78a0a1ae6a18..e022f25c30a8 100644 --- a/testsuite/tests/driver/json.stderr +++ b/testsuite/tests/driver/json.stderr @@ -1 +1 @@ -{"span":{"file":"json.hs","startLine":6,"startCol":7,"endLine":6,"endCol":8},"doc":"\u2022 No instance for \u2018Num (a -> a)\u2019 arising from the literal \u20185\u2019\n (maybe you haven't applied a function to enough arguments?)\n\u2022 In the expression: 5\n In an equation for \u2018id1\u2019: id1 = 5","messageClass":"MCDiagnostic SevError ErrorWithoutFlag"} +{"span":{"file":"json.hs","startLine":6,"startCol":7,"endLine":6,"endCol":8},"doc":"\u2022 No instance for \u2018Num (a -> a)\u2019 arising from the literal \u20185\u2019\n (maybe you haven't applied a function to enough arguments?)\n\u2022 In the expression: 5\n In an equation for \u2018id1\u2019: id1 = 5","messageClass":"MCDiagnostic SevError ErrorWithoutFlag Just GHC-39999"} diff --git a/testsuite/tests/driver/multipleHomeUnits/MHU_OptionsGHC.stderr b/testsuite/tests/driver/multipleHomeUnits/MHU_OptionsGHC.stderr index 70de25714219..71fb06183401 100644 --- a/testsuite/tests/driver/multipleHomeUnits/MHU_OptionsGHC.stderr +++ b/testsuite/tests/driver/multipleHomeUnits/MHU_OptionsGHC.stderr @@ -1,12 +1,12 @@ -MHU_OptionsGHC.hs:1:17: error: +MHU_OptionsGHC.hs:1:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -working-dir=a -MHU_OptionsGHC.hs:2:17: error: +MHU_OptionsGHC.hs:2:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -hidden-module=A -MHU_OptionsGHC.hs:3:17: error: +MHU_OptionsGHC.hs:3:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -reexported-module=A -MHU_OptionsGHC.hs:4:17: error: +MHU_OptionsGHC.hs:4:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -this-package-name=pp diff --git a/testsuite/tests/driver/multipleHomeUnits/mhu-closure/mhu-closure.stderr b/testsuite/tests/driver/multipleHomeUnits/mhu-closure/mhu-closure.stderr index 115d141070ab..4d8b6445b35a 100644 --- a/testsuite/tests/driver/multipleHomeUnits/mhu-closure/mhu-closure.stderr +++ b/testsuite/tests/driver/multipleHomeUnits/mhu-closure/mhu-closure.stderr @@ -1,10 +1,10 @@ -<command line>: error: +<command line>: error: [GHC-03271] Home units are not closed. It is necessary to also load the following units: - q-0.1.0.0 -<command line>: error: +<command line>: error: [GHC-03271] Home units are not closed. It is necessary to also load the following units: - q-0.1.0.0 diff --git a/testsuite/tests/driver/recomp005/recomp005.stderr b/testsuite/tests/driver/recomp005/recomp005.stderr index 9a966f977b14..2931f272fec5 100644 --- a/testsuite/tests/driver/recomp005/recomp005.stderr +++ b/testsuite/tests/driver/recomp005/recomp005.stderr @@ -1,11 +1,8 @@ -C.hs:7:11: warning: [-Winline-rule-shadowing (in -Wdefault)] +C.hs:7:11: warning: [GHC-95396] [-Winline-rule-shadowing (in -Wdefault)] Rule "f/g" may never fire because ‘g’ might inline first - Suggested fix: - Add an INLINE[n] or NOINLINE[n] pragma for ‘g’ + Suggested fix: Add an INLINE[n] or NOINLINE[n] pragma for ‘g’ -C.hs:7:11: warning: [-Winline-rule-shadowing (in -Wdefault)] +C.hs:7:11: warning: [GHC-95396] [-Winline-rule-shadowing (in -Wdefault)] Rule "f/g" may never fire because ‘f’ might inline first - Suggested fix: - Add an INLINE[n] or NOINLINE[n] pragma for ‘f’ - + Suggested fix: Add an INLINE[n] or NOINLINE[n] pragma for ‘f’ diff --git a/testsuite/tests/driver/recomp006/recomp006.stderr b/testsuite/tests/driver/recomp006/recomp006.stderr index 84549b6e621e..5b002e84e0a8 100644 --- a/testsuite/tests/driver/recomp006/recomp006.stderr +++ b/testsuite/tests/driver/recomp006/recomp006.stderr @@ -1,6 +1,6 @@ -A.hs:8:8: - Couldn't match expected type ‘Int’ with actual type ‘(a0, b0)’ - In the expression: (2, 3) - In the expression: (1, (2, 3)) - In an equation for ‘f’: f = (1, (2, 3)) +A.hs:8:8: error: [GHC-83865] + • Couldn't match expected type ‘Int’ with actual type ‘(a0, b0)’ + • In the expression: (2, 3) + In the expression: (1, (2, 3)) + In an equation for ‘f’: f = (1, (2, 3)) diff --git a/testsuite/tests/driver/should_fail/T10895.stderr b/testsuite/tests/driver/should_fail/T10895.stderr index ff8a38080957..2710a357d21a 100644 --- a/testsuite/tests/driver/should_fail/T10895.stderr +++ b/testsuite/tests/driver/should_fail/T10895.stderr @@ -1,4 +1,4 @@ -<no location info>: error: +<no location info>: error: [GHC-95379] Output was redirected with -o, but no output will be generated. There is no module named ‘Main’. diff --git a/testsuite/tests/driver/werror.stderr b/testsuite/tests/driver/werror.stderr index c74e2e02a591..67cab2d5f9b9 100644 --- a/testsuite/tests/driver/werror.stderr +++ b/testsuite/tests/driver/werror.stderr @@ -1,28 +1,28 @@ -werror.hs:6:1: error: [-Wmissing-signatures (in -Wall), -Werror=missing-signatures] +werror.hs:6:1: error: [GHC-38417] [-Wmissing-signatures (in -Wall), Werror=missing-signatures] Top-level binding with no type signature: main :: IO () -werror.hs:7:13: error: [-Wunused-local-binds (in -Wextra, -Wunused-binds), -Werror=unused-local-binds] +werror.hs:7:13: error: [-Wunused-local-binds (in -Wextra, -Wunused-binds), Werror=unused-local-binds] Defined but not used: ‘main’ -werror.hs:7:13: error: [-Wname-shadowing (in -Wall), -Werror=name-shadowing] +werror.hs:7:13: error: [GHC-63397] [-Wname-shadowing (in -Wall), Werror=name-shadowing] This binding for ‘main’ shadows the existing binding defined at werror.hs:6:1 -werror.hs:8:1: error: [-Wtabs (in -Wdefault), -Werror=tabs] +werror.hs:8:1: error: [GHC-94817] [-Wtabs (in -Wdefault), Werror=tabs] Tab character found here. Suggested fix: Please use spaces instead. -werror.hs:10:1: error: [-Wmissing-signatures (in -Wall), -Werror=missing-signatures] +werror.hs:10:1: error: [GHC-38417] [-Wmissing-signatures (in -Wall), Werror=missing-signatures] Top-level binding with no type signature: f :: [a1] -> [a2] -werror.hs:10:1: error: [-Wunused-top-binds (in -Wextra, -Wunused-binds), -Werror=unused-top-binds] +werror.hs:10:1: error: [-Wunused-top-binds (in -Wextra, -Wunused-binds), Werror=unused-top-binds] Defined but not used: ‘f’ -werror.hs:10:1: error: [-Wincomplete-patterns (in -Wextra), -Werror=incomplete-patterns] +werror.hs:10:1: error: [GHC-62161] [-Wincomplete-patterns (in -Wextra), Werror=incomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘f’: Patterns of type ‘[a]’ not matched: (_:_) -werror.hs:11:1: error: [-Woverlapping-patterns (in -Wdefault), -Werror=overlapping-patterns] +werror.hs:11:1: error: [GHC-53633] [-Woverlapping-patterns (in -Wdefault), Werror=overlapping-patterns] Pattern match is redundant In an equation for ‘f’: f [] = ... diff --git a/testsuite/tests/ffi/should_compile/T1357.stderr b/testsuite/tests/ffi/should_compile/T1357.stderr index 9980c89e7a75..7a61e35412c2 100644 --- a/testsuite/tests/ffi/should_compile/T1357.stderr +++ b/testsuite/tests/ffi/should_compile/T1357.stderr @@ -1,5 +1,5 @@ -T1357.hs:5:1: warning: [-Wdodgy-foreign-imports (in -Wdefault)] - possible missing & in foreign import of FunPtr - When checking declaration: +T1357.hs:5:1: warning: [GHC-57989] [-Wdodgy-foreign-imports (in -Wdefault)] + • possible missing & in foreign import of FunPtr + • When checking declaration: foreign import ccall safe "f" f :: FunPtr (Int -> IO ()) diff --git a/testsuite/tests/ffi/should_fail/NonreducingFfiSignature.stderr b/testsuite/tests/ffi/should_fail/NonreducingFfiSignature.stderr index 22a6c7dc267d..880e16723262 100644 --- a/testsuite/tests/ffi/should_fail/NonreducingFfiSignature.stderr +++ b/testsuite/tests/ffi/should_fail/NonreducingFfiSignature.stderr @@ -1,6 +1,7 @@ -NonreducingFfiSignature.hs:12:1: - Unacceptable result type in foreign declaration: + +NonreducingFfiSignature.hs:12:1: error: [GHC-89401] + • Unacceptable result type in foreign declaration: ‘Foo Int’ cannot be marshalled in a foreign call - When checking declaration: + • When checking declaration: foreign import ccall safe "math.h pow" c_pow :: CDouble -> CDouble -> Foo Int diff --git a/testsuite/tests/ffi/should_fail/T10461.stderr b/testsuite/tests/ffi/should_fail/T10461.stderr index 47df47b97f61..cbdac0bb1922 100644 --- a/testsuite/tests/ffi/should_fail/T10461.stderr +++ b/testsuite/tests/ffi/should_fail/T10461.stderr @@ -1,5 +1,5 @@ -T10461.hs:6:1: error: +T10461.hs:6:1: error: [GHC-10964] • Unacceptable result type in foreign declaration: ‘Word#’ cannot be marshalled in a foreign call UnliftedFFITypes is required to marshal unlifted types diff --git a/testsuite/tests/ffi/should_fail/T16702.stderr b/testsuite/tests/ffi/should_fail/T16702.stderr index 2ab7c751d04d..e407fed1a950 100644 --- a/testsuite/tests/ffi/should_fail/T16702.stderr +++ b/testsuite/tests/ffi/should_fail/T16702.stderr @@ -1,5 +1,5 @@ -T16702.hs:12:1: error: +T16702.hs:12:1: error: [GHC-92994] • Unacceptable result type in foreign declaration: Unexpected nested forall • When checking declaration: @@ -7,21 +7,21 @@ T16702.hs:12:1: error: :: CDouble -> forall (a :: Type). CDouble -> forall (b :: Type). CDouble -T16702.hs:17:1: error: +T16702.hs:17:1: error: [GHC-92994] • Unacceptable result type in foreign declaration: Unexpected nested forall • When checking declaration: foreign import ccall safe "malloc" malloc1 :: CSize -> forall a. IO (Ptr a) -T16702.hs:20:1: error: +T16702.hs:20:1: error: [GHC-89401] • Unacceptable argument type in foreign declaration: ‘Show a’ cannot be marshalled in a foreign call • When checking declaration: foreign import ccall safe "malloc" malloc2 :: Show a => CSize -> IO (Ptr a) -T16702.hs:23:1: error: +T16702.hs:23:1: error: [GHC-89401] • Unacceptable argument type in foreign declaration: ‘Show a’ cannot be marshalled in a foreign call • When checking declaration: diff --git a/testsuite/tests/ffi/should_fail/T20116.stderr b/testsuite/tests/ffi/should_fail/T20116.stderr index dbc06bf9a07a..1c2422bcc881 100644 --- a/testsuite/tests/ffi/should_fail/T20116.stderr +++ b/testsuite/tests/ffi/should_fail/T20116.stderr @@ -1,5 +1,5 @@ -T20116.hs:8:1: error: +T20116.hs:8:1: error: [GHC-49692] • `foreign import prim' requires GHCForeignImportPrim. • When checking declaration: foreign import prim safe "test_lt" lt_s :: Int64# -> Int64# -> Int# diff --git a/testsuite/tests/ffi/should_fail/T21305_fail.stderr b/testsuite/tests/ffi/should_fail/T21305_fail.stderr index fae7053d9fd7..542d401167c2 100644 --- a/testsuite/tests/ffi/should_fail/T21305_fail.stderr +++ b/testsuite/tests/ffi/should_fail/T21305_fail.stderr @@ -1,5 +1,5 @@ -T21305_fail.hs:7:1: error: +T21305_fail.hs:7:1: error: [GHC-64097] • Unacceptable argument type in foreign declaration: Expected kind ‘Type’ or ‘UnliftedType’, but ‘Any’ has kind ‘TYPE ('BoxedRep l)’ @@ -7,7 +7,7 @@ T21305_fail.hs:7:1: error: foreign import prim safe "g" g :: forall (l :: Levity). Any @(TYPE (BoxedRep l)) -> Any -T21305_fail.hs:9:1: error: +T21305_fail.hs:9:1: error: [GHC-64097] • Unacceptable argument type in foreign declaration: Expected kind ‘Type’ or ‘UnliftedType’, but ‘Any’ has kind ‘TYPE 'IntRep’ diff --git a/testsuite/tests/ffi/should_fail/T3066.stderr b/testsuite/tests/ffi/should_fail/T3066.stderr index 280905136ad2..892316202960 100644 --- a/testsuite/tests/ffi/should_fail/T3066.stderr +++ b/testsuite/tests/ffi/should_fail/T3066.stderr @@ -1,5 +1,5 @@ -T3066.hs:7:1: error: +T3066.hs:7:1: error: [GHC-31136] • Unacceptable argument type in foreign declaration: ‘forall u. Ptr ()’ is not a data type • When checking declaration: diff --git a/testsuite/tests/ffi/should_fail/T5664.stderr b/testsuite/tests/ffi/should_fail/T5664.stderr index c1652c2288cb..9af431626f98 100644 --- a/testsuite/tests/ffi/should_fail/T5664.stderr +++ b/testsuite/tests/ffi/should_fail/T5664.stderr @@ -1,16 +1,16 @@ -T5664.hs:15:1: - Unacceptable argument type in foreign declaration: - Expected: Ptr/FunPtr (Int32 -> IO ()), - Actual: FunPtr (D -> IO ()) - When checking declaration: - foreign import ccall safe "dynamic" mkFun3 - :: FunPtr (D -> IO ()) -> CInt -> IO () +T5664.hs:15:1: error: [GHC-27555] + • Unacceptable argument type in foreign declaration: + Expected: Ptr/FunPtr (Int32 -> IO ()), + Actual: FunPtr (D -> IO ()) + • When checking declaration: + foreign import ccall safe "dynamic" mkFun3 + :: FunPtr (D -> IO ()) -> CInt -> IO () -T5664.hs:24:1: - Unacceptable result type in foreign declaration: - Expected: Ptr/FunPtr (IO Int32), - Actual: FunPtr (IO D) - When checking declaration: - foreign import ccall safe "wrapper" mkCallBack3 - :: IO CInt -> IO (FunPtr (IO D)) +T5664.hs:24:1: error: [GHC-27555] + • Unacceptable result type in foreign declaration: + Expected: Ptr/FunPtr (IO Int32), + Actual: FunPtr (IO D) + • When checking declaration: + foreign import ccall safe "wrapper" mkCallBack3 + :: IO CInt -> IO (FunPtr (IO D)) diff --git a/testsuite/tests/ffi/should_fail/T7243.stderr b/testsuite/tests/ffi/should_fail/T7243.stderr index 727ae0f653a8..c00c085d745f 100644 --- a/testsuite/tests/ffi/should_fail/T7243.stderr +++ b/testsuite/tests/ffi/should_fail/T7243.stderr @@ -1,5 +1,5 @@ -T7243.hs:4:1: - Unacceptable type in foreign declaration: One argument expected - When checking declaration: - foreign import ccall safe "wrapper" foo :: IO (FunPtr ()) +T7243.hs:4:1: error: [GHC-91490] + • Unacceptable type in foreign declaration: One argument expected + • When checking declaration: + foreign import ccall safe "wrapper" foo :: IO (FunPtr ()) diff --git a/testsuite/tests/ffi/should_fail/T7506.stderr b/testsuite/tests/ffi/should_fail/T7506.stderr index 9a1aa25a8e91..c2a70ff3450a 100644 --- a/testsuite/tests/ffi/should_fail/T7506.stderr +++ b/testsuite/tests/ffi/should_fail/T7506.stderr @@ -1,8 +1,8 @@ -T7506.hs:6:1: - Unacceptable type in foreign declaration: - ‘Int -> IO ()’ cannot be marshalled in a foreign call - A foreign-imported address (via &foo) must have type (Ptr a) or (FunPtr a) - When checking declaration: - foreign import ccall safe "stdio.h &putchar" c_putchar - :: Int -> IO () +T7506.hs:6:1: error: [GHC-26070] + • Unacceptable type in foreign declaration: + ‘Int -> IO ()’ cannot be marshalled in a foreign call + A foreign-imported address (via &foo) must have type (Ptr a) or (FunPtr a) + • When checking declaration: + foreign import ccall safe "stdio.h &putchar" c_putchar + :: Int -> IO () diff --git a/testsuite/tests/ffi/should_fail/capi_value_function.stderr b/testsuite/tests/ffi/should_fail/capi_value_function.stderr index 6732c5c2dab2..0d63ec7b4ece 100644 --- a/testsuite/tests/ffi/should_fail/capi_value_function.stderr +++ b/testsuite/tests/ffi/should_fail/capi_value_function.stderr @@ -1,5 +1,5 @@ -capi_value_function.hs:8:1: - `value' imports cannot have function types - When checking declaration: - foreign import capi safe "math.h value sqrt" f :: CInt -> CInt +capi_value_function.hs:8:1: error: [GHC-76251] + • `value' imports cannot have function types + • When checking declaration: + foreign import capi safe "math.h value sqrt" f :: CInt -> CInt diff --git a/testsuite/tests/ffi/should_fail/capi_wrapper.stderr b/testsuite/tests/ffi/should_fail/capi_wrapper.stderr index 607e228ddd96..4a763269f86a 100644 --- a/testsuite/tests/ffi/should_fail/capi_wrapper.stderr +++ b/testsuite/tests/ffi/should_fail/capi_wrapper.stderr @@ -1,3 +1,3 @@ -capi_wrapper.hs:4:21: error: +capi_wrapper.hs:4:21: error: [GHC-72744] Wrapper stubs can't be used with CApiFFI. diff --git a/testsuite/tests/ffi/should_fail/ccall_value.stderr b/testsuite/tests/ffi/should_fail/ccall_value.stderr index b7e870f0ed3f..b449d33fadd3 100644 --- a/testsuite/tests/ffi/should_fail/ccall_value.stderr +++ b/testsuite/tests/ffi/should_fail/ccall_value.stderr @@ -1,2 +1,2 @@ -ccall_value.hs:11:22: Malformed entity string +ccall_value.hs:11:22: error: [GHC-26204] Malformed entity string diff --git a/testsuite/tests/ffi/should_fail/ccfail001.stderr b/testsuite/tests/ffi/should_fail/ccfail001.stderr index 01c7ea5d151b..f160066e647d 100644 --- a/testsuite/tests/ffi/should_fail/ccfail001.stderr +++ b/testsuite/tests/ffi/should_fail/ccfail001.stderr @@ -1,6 +1,6 @@ -ccfail001.hs:10:1: - Unacceptable result type in foreign declaration: - ‘State# RealWorld’ cannot be marshalled in a foreign call - When checking declaration: - foreign import ccall safe foo :: Int -> State# RealWorld +ccfail001.hs:10:1: error: [GHC-89401] + • Unacceptable result type in foreign declaration: + ‘State# RealWorld’ cannot be marshalled in a foreign call + • When checking declaration: + foreign import ccall safe foo :: Int -> State# RealWorld diff --git a/testsuite/tests/ffi/should_fail/ccfail002.stderr b/testsuite/tests/ffi/should_fail/ccfail002.stderr index c3c04e25d59a..abe495a6c878 100644 --- a/testsuite/tests/ffi/should_fail/ccfail002.stderr +++ b/testsuite/tests/ffi/should_fail/ccfail002.stderr @@ -1,7 +1,7 @@ -ccfail002.hs:10:1: - Unacceptable result type in foreign declaration: - ‘(# Int#, Int#, Int# #)’ cannot be marshalled in a foreign call - When checking declaration: - foreign import ccall unsafe "foo" foo - :: Int# -> Int# -> Int# -> (# Int#, Int#, Int# #) +ccfail002.hs:10:1: error: [GHC-89401] + • Unacceptable result type in foreign declaration: + ‘(# Int#, Int#, Int# #)’ cannot be marshalled in a foreign call + • When checking declaration: + foreign import ccall unsafe "foo" foo + :: Int# -> Int# -> Int# -> (# Int#, Int#, Int# #) diff --git a/testsuite/tests/ffi/should_fail/ccfail003.stderr b/testsuite/tests/ffi/should_fail/ccfail003.stderr index 6afdd7678fea..9f8254219985 100644 --- a/testsuite/tests/ffi/should_fail/ccfail003.stderr +++ b/testsuite/tests/ffi/should_fail/ccfail003.stderr @@ -1,12 +1,12 @@ -ccfail003.hs:7:1: - Unacceptable argument type in foreign declaration: - ‘Int#’ cannot be marshalled in a foreign call - When checking declaration: - foreign export ccall "foo" foo :: Int# -> IO () +ccfail003.hs:7:1: error: [GHC-89401] + • Unacceptable argument type in foreign declaration: + ‘Int#’ cannot be marshalled in a foreign call + • When checking declaration: + foreign export ccall "foo" foo :: Int# -> IO () -ccfail003.hs:10:1: - Unacceptable result type in foreign declaration: - ‘Int#’ cannot be marshalled in a foreign call - When checking declaration: - foreign export ccall "bar" bar :: Int -> Int# +ccfail003.hs:10:1: error: [GHC-89401] + • Unacceptable result type in foreign declaration: + ‘Int#’ cannot be marshalled in a foreign call + • When checking declaration: + foreign export ccall "bar" bar :: Int -> Int# diff --git a/testsuite/tests/ffi/should_fail/ccfail004.stderr b/testsuite/tests/ffi/should_fail/ccfail004.stderr index f10945d5102f..b597a6d73e31 100644 --- a/testsuite/tests/ffi/should_fail/ccfail004.stderr +++ b/testsuite/tests/ffi/should_fail/ccfail004.stderr @@ -1,5 +1,5 @@ -ccfail004.hs:9:1: error: +ccfail004.hs:9:1: error: [GHC-72317] • Unacceptable argument type in foreign declaration: ‘NInt’ cannot be marshalled in a foreign call because its data constructor is not in scope @@ -7,7 +7,7 @@ ccfail004.hs:9:1: error: foreign import ccall safe f1 :: NInt -> IO Int Suggested fix: Import the data constructor to bring it into scope -ccfail004.hs:10:1: error: +ccfail004.hs:10:1: error: [GHC-72317] • Unacceptable result type in foreign declaration: ‘NInt’ cannot be marshalled in a foreign call because its data constructor is not in scope @@ -15,7 +15,7 @@ ccfail004.hs:10:1: error: foreign import ccall safe f2 :: Int -> IO NInt Suggested fix: Import the data constructor to bring it into scope -ccfail004.hs:11:1: error: +ccfail004.hs:11:1: error: [GHC-72317] • Unacceptable result type in foreign declaration: ‘NIO Int’ cannot be marshalled in a foreign call because the data constructor for ‘NIO’ is not in scope @@ -23,13 +23,13 @@ ccfail004.hs:11:1: error: foreign import ccall safe f3 :: Int -> NIO Int Suggested fix: Import the data constructor to bring it into scope -ccfail004.hs:14:1: error: +ccfail004.hs:14:1: error: [GHC-89401] • Unacceptable argument type in foreign declaration: ‘[NT]’ cannot be marshalled in a foreign call • When checking declaration: foreign import ccall safe f4 :: NT -> IO () -ccfail004.hs:15:1: error: +ccfail004.hs:15:1: error: [GHC-89401] • Unacceptable result type in foreign declaration: ‘[NT]’ cannot be marshalled in a foreign call • When checking declaration: foreign import ccall safe f5 :: IO NT diff --git a/testsuite/tests/ffi/should_fail/ccfail005.stderr b/testsuite/tests/ffi/should_fail/ccfail005.stderr index d5e2a2790181..676d2410e2c8 100644 --- a/testsuite/tests/ffi/should_fail/ccfail005.stderr +++ b/testsuite/tests/ffi/should_fail/ccfail005.stderr @@ -1,10 +1,10 @@ -ccfail005.hs:14:1: - Unacceptable argument type in foreign declaration: - ‘D’ cannot be marshalled in a foreign call - When checking declaration: foreign import ccall safe f1 :: F Bool +ccfail005.hs:14:1: error: [GHC-89401] + • Unacceptable argument type in foreign declaration: + ‘D’ cannot be marshalled in a foreign call + • When checking declaration: foreign import ccall safe f1 :: F Bool -ccfail005.hs:15:1: - Unacceptable result type in foreign declaration: - ‘D’ cannot be marshalled in a foreign call - When checking declaration: foreign import ccall safe f2 :: F Char +ccfail005.hs:15:1: error: [GHC-89401] + • Unacceptable result type in foreign declaration: + ‘D’ cannot be marshalled in a foreign call + • When checking declaration: foreign import ccall safe f2 :: F Char diff --git a/testsuite/tests/gadt/CasePrune.stderr b/testsuite/tests/gadt/CasePrune.stderr index c3d89e885c7b..ed694de04628 100644 --- a/testsuite/tests/gadt/CasePrune.stderr +++ b/testsuite/tests/gadt/CasePrune.stderr @@ -1,6 +1,6 @@ -CasePrune.hs:14:31: error: - Couldn't match type ‘Int’ with ‘A’ - arising from the coercion of the method ‘ic’ - from type ‘T Int’ to type ‘T A’ - When deriving the instance for (C A) +CasePrune.hs:14:31: error: [GHC-18872] + • Couldn't match type ‘Int’ with ‘A’ + arising from the coercion of the method ‘ic’ + from type ‘T Int’ to type ‘T A’ + • When deriving the instance for (C A) diff --git a/testsuite/tests/gadt/T12468.stderr b/testsuite/tests/gadt/T12468.stderr index 5abe87081455..e636f56592cb 100644 --- a/testsuite/tests/gadt/T12468.stderr +++ b/testsuite/tests/gadt/T12468.stderr @@ -1,5 +1,5 @@ -T12468.hs:9:7: error: +T12468.hs:9:7: error: [GHC-88464] • Found hole: _ :: Int • In an equation for ‘f’: f I = _ • Relevant bindings include f :: T a -> a (bound at T12468.hs:9:1) diff --git a/testsuite/tests/gadt/T15558.stderr b/testsuite/tests/gadt/T15558.stderr index e3223fb7a33d..3f294ca63013 100644 --- a/testsuite/tests/gadt/T15558.stderr +++ b/testsuite/tests/gadt/T15558.stderr @@ -1,5 +1,5 @@ -T15558.hs:11:15: warning: [-Winaccessible-code (in -Wdefault)] +T15558.hs:11:15: warning: [GHC-40564] [-Winaccessible-code (in -Wdefault)] • Inaccessible code in a type expected by the context: (a ~ Bool) => () diff --git a/testsuite/tests/gadt/T20485.stderr b/testsuite/tests/gadt/T20485.stderr index e140b58ad3b6..375d0540dac0 100644 --- a/testsuite/tests/gadt/T20485.stderr +++ b/testsuite/tests/gadt/T20485.stderr @@ -1,15 +1,15 @@ -T20485.hs:7:3: warning: [-Wgadt-mono-local-binds (in -Wdefault)] +T20485.hs:7:3: warning: [GHC-58008] [-Wgadt-mono-local-binds (in -Wdefault)] Pattern matching on GADTs without MonoLocalBinds is fragile. Suggested fix: Enable any of the following extensions: GADTs, TypeFamilies -T20485.hs:9:19: warning: [-Wgadt-mono-local-binds (in -Wdefault)] +T20485.hs:9:19: warning: [GHC-58008] [-Wgadt-mono-local-binds (in -Wdefault)] Pattern matching on GADTs without MonoLocalBinds is fragile. Suggested fix: Enable any of the following extensions: GADTs, TypeFamilies -T20485.hs:12:3: warning: [-Wgadt-mono-local-binds (in -Wdefault)] +T20485.hs:12:3: warning: [GHC-58008] [-Wgadt-mono-local-binds (in -Wdefault)] Pattern matching on GADTs without MonoLocalBinds is fragile. Suggested fix: Enable any of the following extensions: GADTs, TypeFamilies diff --git a/testsuite/tests/gadt/T3163.stderr b/testsuite/tests/gadt/T3163.stderr index c9b09f1fa093..47efc402ba7b 100644 --- a/testsuite/tests/gadt/T3163.stderr +++ b/testsuite/tests/gadt/T3163.stderr @@ -1,5 +1,5 @@ -T3163.hs:9:5: error: +T3163.hs:9:5: error: [GHC-91510] • Illegal polymorphic type: forall s. s • In the definition of data constructor ‘Unreached’ In the data type declaration for ‘Taker’ diff --git a/testsuite/tests/gadt/T3169.stderr b/testsuite/tests/gadt/T3169.stderr index 9ab61c872051..4bf94bccd1ce 100644 --- a/testsuite/tests/gadt/T3169.stderr +++ b/testsuite/tests/gadt/T3169.stderr @@ -1,5 +1,5 @@ -T3169.hs:13:22: error: +T3169.hs:13:22: error: [GHC-25897] • Couldn't match type ‘elt’ with ‘Map b elt’ Expected: Map a (Map b elt) Actual: Map (a, b) elt diff --git a/testsuite/tests/gadt/T3651.stderr b/testsuite/tests/gadt/T3651.stderr index cd235748bb69..b4c7a2e65d37 100644 --- a/testsuite/tests/gadt/T3651.stderr +++ b/testsuite/tests/gadt/T3651.stderr @@ -1,12 +1,12 @@ -T3651.hs:11:15: error: +T3651.hs:11:15: error: [GHC-83865] • Couldn't match type ‘()’ with ‘Bool’ Expected: a Actual: () • In the expression: () In an equation for ‘unsafe1’: unsafe1 B U = () -T3651.hs:14:15: error: +T3651.hs:14:15: error: [GHC-83865] • Couldn't match type ‘()’ with ‘Bool’ Expected: a Actual: () diff --git a/testsuite/tests/gadt/T7293.stderr b/testsuite/tests/gadt/T7293.stderr index 4546789ec2cb..deb14461270f 100644 --- a/testsuite/tests/gadt/T7293.stderr +++ b/testsuite/tests/gadt/T7293.stderr @@ -1,9 +1,9 @@ -T7293.hs:26:1: error: [-Woverlapping-patterns (in -Wdefault), -Werror=overlapping-patterns] +T7293.hs:26:1: error: [GHC-53633] [-Woverlapping-patterns (in -Wdefault), Werror=overlapping-patterns] Pattern match is redundant In an equation for ‘nth’: nth Nil _ = ... -T7293.hs:26:5: error: [-Winaccessible-code (in -Wdefault), -Werror=inaccessible-code] +T7293.hs:26:5: error: [GHC-40564] [-Winaccessible-code (in -Wdefault), Werror=inaccessible-code] • Inaccessible code in a pattern with constructor: Nil :: forall a. Vec a 'Zero, in an equation for ‘nth’ diff --git a/testsuite/tests/gadt/T7294.stderr b/testsuite/tests/gadt/T7294.stderr index 718a463e31ae..9d465fda694c 100644 --- a/testsuite/tests/gadt/T7294.stderr +++ b/testsuite/tests/gadt/T7294.stderr @@ -1,9 +1,9 @@ -T7294.hs:27:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T7294.hs:27:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘nth’: nth Nil _ = ... -T7294.hs:27:5: warning: [-Winaccessible-code (in -Wdefault)] +T7294.hs:27:5: warning: [GHC-40564] [-Winaccessible-code (in -Wdefault)] • Inaccessible code in a pattern with constructor: Nil :: forall a. Vec a 'Zero, in an equation for ‘nth’ diff --git a/testsuite/tests/gadt/T7558.stderr b/testsuite/tests/gadt/T7558.stderr index c8b9ec422384..600283670f16 100644 --- a/testsuite/tests/gadt/T7558.stderr +++ b/testsuite/tests/gadt/T7558.stderr @@ -1,5 +1,5 @@ -T7558.hs:8:18: error: +T7558.hs:8:18: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘Maybe a’ ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/gadt/gadt-escape1.stderr b/testsuite/tests/gadt/gadt-escape1.stderr index fcc562f56ea8..a1c2d4425359 100644 --- a/testsuite/tests/gadt/gadt-escape1.stderr +++ b/testsuite/tests/gadt/gadt-escape1.stderr @@ -1,5 +1,5 @@ -gadt-escape1.hs:19:58: error: +gadt-escape1.hs:19:58: error: [GHC-25897] • Could not deduce ‘p ~ ExpGADT Int’ from the context: t ~ Int bound by a pattern with constructor: ExpInt :: Int -> ExpGADT Int, diff --git a/testsuite/tests/gadt/gadt10.stderr b/testsuite/tests/gadt/gadt10.stderr index 97bd197a2a49..2bbfccf8b577 100644 --- a/testsuite/tests/gadt/gadt10.stderr +++ b/testsuite/tests/gadt/gadt10.stderr @@ -1,7 +1,7 @@ -gadt10.hs:6:24: error: - Expecting one more argument to ‘RInt’ - Expected a type, but ‘RInt’ has kind ‘k0 -> *’ - In the type ‘RInt’ - In the definition of data constructor ‘R’ - In the data declaration for ‘RInt’ +gadt10.hs:6:24: error: [GHC-83865] + • Expecting one more argument to ‘RInt’ + Expected a type, but ‘RInt’ has kind ‘k0 -> *’ + • In the type ‘RInt’ + In the definition of data constructor ‘R’ + In the data declaration for ‘RInt’ diff --git a/testsuite/tests/gadt/gadt13.stderr b/testsuite/tests/gadt/gadt13.stderr index b7eb4e9bd39e..3b23f9189b3c 100644 --- a/testsuite/tests/gadt/gadt13.stderr +++ b/testsuite/tests/gadt/gadt13.stderr @@ -1,5 +1,5 @@ -gadt13.hs:15:13: error: +gadt13.hs:15:13: error: [GHC-25897] • Could not deduce ‘p ~ (String -> [Char])’ from the context: a ~ Int bound by a pattern with constructor: I :: Int -> Term Int, diff --git a/testsuite/tests/gadt/gadt21.stderr b/testsuite/tests/gadt/gadt21.stderr index 999448bb71f8..e34b0cb46273 100644 --- a/testsuite/tests/gadt/gadt21.stderr +++ b/testsuite/tests/gadt/gadt21.stderr @@ -1,5 +1,5 @@ -gadt21.hs:21:60: error: +gadt21.hs:21:60: error: [GHC-39999] • Could not deduce ‘Ord a1’ arising from a use of ‘f’ from the context: a ~ Set a1 bound by a pattern with constructor: diff --git a/testsuite/tests/gadt/gadt7.stderr b/testsuite/tests/gadt/gadt7.stderr index f1e7237daccc..704415a3a84e 100644 --- a/testsuite/tests/gadt/gadt7.stderr +++ b/testsuite/tests/gadt/gadt7.stderr @@ -1,5 +1,5 @@ -gadt7.hs:16:38: error: +gadt7.hs:16:38: error: [GHC-25897] • Could not deduce ‘p1 ~ p2’ from the context: a ~ Int bound by a pattern with constructor: K :: T Int, diff --git a/testsuite/tests/gadt/lazypat.stderr b/testsuite/tests/gadt/lazypat.stderr index e9abf5854067..3baa2f6cc82d 100644 --- a/testsuite/tests/gadt/lazypat.stderr +++ b/testsuite/tests/gadt/lazypat.stderr @@ -1,7 +1,7 @@ -lazypat.hs:7:5: - An existential or GADT data constructor cannot be used - inside a lazy (~) pattern - In the pattern: T x f - In the pattern: ~(T x f) - In an equation for ‘f’: f ~(T x f) = f x +lazypat.hs:7:5: error: [GHC-87005] + • An existential or GADT data constructor cannot be used + inside a lazy (~) pattern + • In the pattern: T x f + In the pattern: ~(T x f) + In an equation for ‘f’: f ~(T x f) = f x diff --git a/testsuite/tests/gadt/records-fail1.stderr b/testsuite/tests/gadt/records-fail1.stderr index 9e8c80bb3b40..d83e77f64e8a 100644 --- a/testsuite/tests/gadt/records-fail1.stderr +++ b/testsuite/tests/gadt/records-fail1.stderr @@ -1,2 +1,2 @@ -records-fail1.hs:18:6: error: parse error on input ‘{’ +records-fail1.hs:18:6: error: [GHC-58481] parse error on input ‘{’ diff --git a/testsuite/tests/gadt/rw.stderr b/testsuite/tests/gadt/rw.stderr index c4221368fdba..7a5c84dd858e 100644 --- a/testsuite/tests/gadt/rw.stderr +++ b/testsuite/tests/gadt/rw.stderr @@ -1,5 +1,5 @@ -rw.hs:14:47: error: +rw.hs:14:47: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘Int’ ‘a’ is a rigid type variable bound by the type signature for: @@ -13,7 +13,7 @@ rw.hs:14:47: error: v :: T a (bound at rw.hs:13:10) writeInt :: T a -> IORef a -> IO () (bound at rw.hs:13:1) -rw.hs:19:51: error: +rw.hs:19:51: error: [GHC-25897] • Couldn't match type ‘a’ with ‘Bool’ Expected: a -> Bool Actual: Bool -> Bool diff --git a/testsuite/tests/generics/GenCannotDoRep0_0.stderr b/testsuite/tests/generics/GenCannotDoRep0_0.stderr index ced307d7c9dc..04c03697b3cb 100644 --- a/testsuite/tests/generics/GenCannotDoRep0_0.stderr +++ b/testsuite/tests/generics/GenCannotDoRep0_0.stderr @@ -2,13 +2,13 @@ GenCannotDoRep0_0.hs:6:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -GenCannotDoRep0_0.hs:13:45: error: +GenCannotDoRep0_0.hs:13:45: error: [GHC-16437] • Can't make a derived instance of ‘Generic Dynamic’: Constructor ‘Dynamic’ has existential type variables in its type • In the data declaration for ‘Dynamic’ Suggested fix: Use a standalone deriving declaration instead -GenCannotDoRep0_0.hs:28:1: error: +GenCannotDoRep0_0.hs:28:1: error: [GHC-30367] • Can't make a derived instance of ‘Generic (D Int a)’: D must not have a datatype context • In the stand-alone deriving instance for ‘Generic (D Int a)’ diff --git a/testsuite/tests/generics/GenCannotDoRep0_1.stderr b/testsuite/tests/generics/GenCannotDoRep0_1.stderr index e99240d2c657..d6167ae61b76 100644 --- a/testsuite/tests/generics/GenCannotDoRep0_1.stderr +++ b/testsuite/tests/generics/GenCannotDoRep0_1.stderr @@ -2,7 +2,7 @@ GenCannotDoRep0_1.hs:1:29: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -GenCannotDoRep0_1.hs:8:49: - Can't make a derived instance of ‘Generic (Context a)’: - Context must not have a datatype context - In the data declaration for ‘Context’ +GenCannotDoRep0_1.hs:8:49: error: [GHC-30367] + • Can't make a derived instance of ‘Generic (Context a)’: + Context must not have a datatype context + • In the data declaration for ‘Context’ diff --git a/testsuite/tests/generics/GenCannotDoRep0_2.stderr b/testsuite/tests/generics/GenCannotDoRep0_2.stderr index 9d0f7020d642..05cc0d111210 100644 --- a/testsuite/tests/generics/GenCannotDoRep0_2.stderr +++ b/testsuite/tests/generics/GenCannotDoRep0_2.stderr @@ -1,5 +1,5 @@ -GenCannotDoRep0_2.hs:13:1: - Can't make a derived instance of ‘Generic (Term a)’: - Int must be a vanilla data constructor - In the stand-alone deriving instance for ‘Generic (Term a)’ +GenCannotDoRep0_2.hs:13:1: error: [GHC-30367] + • Can't make a derived instance of ‘Generic (Term a)’: + Int must be a vanilla data constructor + • In the stand-alone deriving instance for ‘Generic (Term a)’ diff --git a/testsuite/tests/generics/GenCannotDoRep1_0.stderr b/testsuite/tests/generics/GenCannotDoRep1_0.stderr index 604ad0c14c53..a921239c1558 100644 --- a/testsuite/tests/generics/GenCannotDoRep1_0.stderr +++ b/testsuite/tests/generics/GenCannotDoRep1_0.stderr @@ -1,5 +1,5 @@ -GenCannotDoRep1_0.hs:9:49: error: +GenCannotDoRep1_0.hs:9:49: error: [GHC-16437] • Can't make a derived instance of ‘Generic1 Dynamic’: Constructor ‘Dynamic’ has existential type variables in its type • In the data declaration for ‘Dynamic’ diff --git a/testsuite/tests/generics/GenCannotDoRep1_1.stderr b/testsuite/tests/generics/GenCannotDoRep1_1.stderr index 6ed636ffc8b4..9e009398cc16 100644 --- a/testsuite/tests/generics/GenCannotDoRep1_1.stderr +++ b/testsuite/tests/generics/GenCannotDoRep1_1.stderr @@ -2,7 +2,7 @@ GenCannotDoRep1_1.hs:1:29: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -GenCannotDoRep1_1.hs:8:49: - Can't make a derived instance of ‘Generic1 Context’: - Context must not have a datatype context - In the data declaration for ‘Context’ +GenCannotDoRep1_1.hs:8:49: error: [GHC-30367] + • Can't make a derived instance of ‘Generic1 Context’: + Context must not have a datatype context + • In the data declaration for ‘Context’ diff --git a/testsuite/tests/generics/GenCannotDoRep1_2.stderr b/testsuite/tests/generics/GenCannotDoRep1_2.stderr index 17e1f5944f3c..ebf5d1bce01d 100644 --- a/testsuite/tests/generics/GenCannotDoRep1_2.stderr +++ b/testsuite/tests/generics/GenCannotDoRep1_2.stderr @@ -1,5 +1,5 @@ -GenCannotDoRep1_2.hs:13:1: - Can't make a derived instance of ‘Generic1 Term’: - Int must be a vanilla data constructor - In the stand-alone deriving instance for ‘Generic1 Term’ +GenCannotDoRep1_2.hs:13:1: error: [GHC-30367] + • Can't make a derived instance of ‘Generic1 Term’: + Int must be a vanilla data constructor + • In the stand-alone deriving instance for ‘Generic1 Term’ diff --git a/testsuite/tests/generics/GenCannotDoRep1_3.stderr b/testsuite/tests/generics/GenCannotDoRep1_3.stderr index 2b7a2809237f..3fadb4eb21f7 100644 --- a/testsuite/tests/generics/GenCannotDoRep1_3.stderr +++ b/testsuite/tests/generics/GenCannotDoRep1_3.stderr @@ -1,6 +1,6 @@ -GenCannotDoRep1_3.hs:11:33: - Can't make a derived instance of ‘Generic1 T’: - Constructor ‘T’ applies a type to an argument involving the last parameter - but the applied type is not of kind * -> * - In the data declaration for ‘T’ +GenCannotDoRep1_3.hs:11:33: error: [GHC-30367] + • Can't make a derived instance of ‘Generic1 T’: + Constructor ‘T’ applies a type to an argument involving the last parameter + but the applied type is not of kind * -> * + • In the data declaration for ‘T’ diff --git a/testsuite/tests/generics/GenCannotDoRep1_4.stderr b/testsuite/tests/generics/GenCannotDoRep1_4.stderr index 973c9b0843bd..5afa28dcc4d1 100644 --- a/testsuite/tests/generics/GenCannotDoRep1_4.stderr +++ b/testsuite/tests/generics/GenCannotDoRep1_4.stderr @@ -1,6 +1,6 @@ -GenCannotDoRep1_4.hs:8:34: - Can't make a derived instance of ‘Generic1 T’: - Constructor ‘T’ applies a type to an argument involving the last parameter - but the applied type is not of kind * -> * - In the data declaration for ‘T’ +GenCannotDoRep1_4.hs:8:34: error: [GHC-30367] + • Can't make a derived instance of ‘Generic1 T’: + Constructor ‘T’ applies a type to an argument involving the last parameter + but the applied type is not of kind * -> * + • In the data declaration for ‘T’ diff --git a/testsuite/tests/generics/GenCannotDoRep1_6.stderr b/testsuite/tests/generics/GenCannotDoRep1_6.stderr index 04d88bf90e4e..1ba8ae73c6e6 100644 --- a/testsuite/tests/generics/GenCannotDoRep1_6.stderr +++ b/testsuite/tests/generics/GenCannotDoRep1_6.stderr @@ -1,6 +1,6 @@ -GenCannotDoRep1_6.hs:9:43: - Can't make a derived instance of ‘Generic1 T’: - Constructor ‘T’ applies a type to an argument involving the last parameter - but the applied type is not of kind * -> * - In the data declaration for ‘T’ +GenCannotDoRep1_6.hs:9:43: error: [GHC-30367] + • Can't make a derived instance of ‘Generic1 T’: + Constructor ‘T’ applies a type to an argument involving the last parameter + but the applied type is not of kind * -> * + • In the data declaration for ‘T’ diff --git a/testsuite/tests/generics/GenCannotDoRep1_7.stderr b/testsuite/tests/generics/GenCannotDoRep1_7.stderr index a35df31863f2..fcdc9376999b 100644 --- a/testsuite/tests/generics/GenCannotDoRep1_7.stderr +++ b/testsuite/tests/generics/GenCannotDoRep1_7.stderr @@ -1,6 +1,6 @@ -GenCannotDoRep1_7.hs:9:32: - Can't make a derived instance of ‘Generic1 I’: - Constructor ‘I’ applies a type to an argument involving the last parameter - but the applied type is not of kind * -> * - In the data declaration for ‘I’ +GenCannotDoRep1_7.hs:9:32: error: [GHC-30367] + • Can't make a derived instance of ‘Generic1 I’: + Constructor ‘I’ applies a type to an argument involving the last parameter + but the applied type is not of kind * -> * + • In the data declaration for ‘I’ diff --git a/testsuite/tests/generics/GenCannotDoRep1_8.stderr b/testsuite/tests/generics/GenCannotDoRep1_8.stderr index 1cf9bb979407..f413c302950b 100644 --- a/testsuite/tests/generics/GenCannotDoRep1_8.stderr +++ b/testsuite/tests/generics/GenCannotDoRep1_8.stderr @@ -1,6 +1,6 @@ -GenCannotDoRep1_8.hs:12:30: - Can't make a derived instance of ‘Generic1 T’: - Constructor ‘T’ applies a type to an argument involving the last parameter - but the applied type is not of kind * -> * - In the data declaration for ‘T’ +GenCannotDoRep1_8.hs:12:30: error: [GHC-30367] + • Can't make a derived instance of ‘Generic1 T’: + Constructor ‘T’ applies a type to an argument involving the last parameter + but the applied type is not of kind * -> * + • In the data declaration for ‘T’ diff --git a/testsuite/tests/generics/GenShouldFail0.stderr b/testsuite/tests/generics/GenShouldFail0.stderr index 90fe1bf3052b..f6c7dc61f814 100644 --- a/testsuite/tests/generics/GenShouldFail0.stderr +++ b/testsuite/tests/generics/GenShouldFail0.stderr @@ -1,5 +1,5 @@ -GenShouldFail0.hs:10:1: error: +GenShouldFail0.hs:10:1: error: [GHC-86639] • Can't make a derived instance of ‘Generic X’: You need DeriveGeneric to derive an instance for this class • In the stand-alone deriving instance for ‘Generic X’ diff --git a/testsuite/tests/generics/GenShouldFail1_0.stderr b/testsuite/tests/generics/GenShouldFail1_0.stderr index 26dfa8e4056f..0b4eac539bf7 100644 --- a/testsuite/tests/generics/GenShouldFail1_0.stderr +++ b/testsuite/tests/generics/GenShouldFail1_0.stderr @@ -1,5 +1,5 @@ -GenShouldFail1_0.hs:10:1: error: +GenShouldFail1_0.hs:10:1: error: [GHC-86639] • Can't make a derived instance of ‘Generic1 X’: You need DeriveGeneric to derive an instance for this class • In the stand-alone deriving instance for ‘Generic1 X’ diff --git a/testsuite/tests/generics/T10604/T10604_bad_variable_occurrence.stderr b/testsuite/tests/generics/T10604/T10604_bad_variable_occurrence.stderr index a8ac7c747101..69208c6668f4 100644 --- a/testsuite/tests/generics/T10604/T10604_bad_variable_occurrence.stderr +++ b/testsuite/tests/generics/T10604/T10604_bad_variable_occurrence.stderr @@ -1,5 +1,5 @@ -T10604_bad_variable_occurrence.hs:9:12: error: +T10604_bad_variable_occurrence.hs:9:12: error: [GHC-30367] • Can't make a derived instance of ‘Generic1 Fix’: Constructor ‘In’ applies a type to an argument involving the last parameter but the applied type is not of kind * -> * diff --git a/testsuite/tests/generics/T10604/T10604_no_PolyKinds.stderr b/testsuite/tests/generics/T10604/T10604_no_PolyKinds.stderr index 1f1c2178f61f..85d62d22ed65 100644 --- a/testsuite/tests/generics/T10604/T10604_no_PolyKinds.stderr +++ b/testsuite/tests/generics/T10604/T10604_no_PolyKinds.stderr @@ -1,5 +1,5 @@ -T10604_no_PolyKinds.hs:8:35: error: +T10604_no_PolyKinds.hs:8:35: error: [GHC-62016] • Cannot derive well-kinded instance of form ‘Generic1 (F ...)’ Class ‘Generic1’ expects an argument of kind ‘* -> *’ • In the data declaration for ‘F’ diff --git a/testsuite/tests/generics/T5462No1.stderr b/testsuite/tests/generics/T5462No1.stderr index b4977caa2307..53d1ffa6dfc9 100644 --- a/testsuite/tests/generics/T5462No1.stderr +++ b/testsuite/tests/generics/T5462No1.stderr @@ -1,7 +1,7 @@ -[1 of 2] Compiling GFunctor ( GFunctor/GFunctor.hs, out_T5462No1/GFunctor.o ) -[2 of 2] Compiling T5462No1 ( T5462No1.hs, out_T5462No1/T5462No1.o ) +[1 of 2] Compiling GFunctor ( GFunctor\GFunctor.hs, out_T5462No1\GFunctor.o ) +[2 of 2] Compiling T5462No1 ( T5462No1.hs, out_T5462No1\T5462No1.o ) -T5462No1.hs:25:42: error: +T5462No1.hs:25:42: error: [GHC-82023] • Can't make a derived instance of ‘GFunctor F’: ‘GFunctor’ is not a stock derivable class (Eq, Show, etc.) • In the newtype declaration for ‘F’ @@ -9,13 +9,13 @@ T5462No1.hs:25:42: error: Perhaps you intended to use GeneralizedNewtypeDeriving for GHC's newtype-deriving extension -T5462No1.hs:27:23: error: +T5462No1.hs:27:23: error: [GHC-00158] • Can't make a derived instance of ‘C1 G’: ‘C1’ is not a stock derivable class (Eq, Show, etc.) • In the data declaration for ‘G’ Suggested fix: Perhaps you intended to use DeriveAnyClass -T5462No1.hs:28:23: error: +T5462No1.hs:28:23: error: [GHC-00158] • Can't make a derived instance of ‘C2 H’: ‘C2’ is not a stock derivable class (Eq, Show, etc.) • In the data declaration for ‘H’ diff --git a/testsuite/tests/generics/T8468.stderr b/testsuite/tests/generics/T8468.stderr index aaf68b9d5a67..e49eafe402eb 100644 --- a/testsuite/tests/generics/T8468.stderr +++ b/testsuite/tests/generics/T8468.stderr @@ -1,5 +1,5 @@ -T8468.hs:6:42: - Can't make a derived instance of ‘Generic1 Array’: - Array must not have exotic unlifted or polymorphic arguments - In the data declaration for ‘Array’ +T8468.hs:6:42: error: [GHC-30367] + • Can't make a derived instance of ‘Generic1 Array’: + Array must not have exotic unlifted or polymorphic arguments + • In the data declaration for ‘Array’ diff --git a/testsuite/tests/ghc-api/T10508_api.stderr b/testsuite/tests/ghc-api/T10508_api.stderr index 29533435f335..ea386c3976ef 100644 --- a/testsuite/tests/ghc-api/T10508_api.stderr +++ b/testsuite/tests/ghc-api/T10508_api.stderr @@ -1,4 +1,4 @@ <no location info>: error: not an expression: ‘’ -<interactive>:1:3: error: parse error on input ‘,’ +<interactive>:1:3: error: [GHC-58481] parse error on input ‘,’ diff --git a/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr b/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr index b8fcd66a02e0..20bd7d48a317 100644 --- a/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr +++ b/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr @@ -1,9 +1,9 @@ -B.hs:4:1: warning: [-Wmissing-signatures (in -Wall)] +B.hs:4:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: answer_to_live_the_universe_and_everything :: Int -B.hs:5:13: warning: [-Wtype-defaults (in -Wall)] +B.hs:5:13: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraints (Num a0) arising from the literal ‘1’ at B.hs:5:13 (Enum a0) @@ -12,14 +12,14 @@ B.hs:5:13: warning: [-Wtype-defaults (in -Wall)] In the first argument of ‘length’, namely ‘[1 .. 23 * 2]’ In the first argument of ‘(-)’, namely ‘length [1 .. 23 * 2]’ -A.hs:7:1: warning: [-Wmissing-signatures (in -Wall)] +A.hs:7:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: main :: IO () -B.hs:4:1: warning: [-Wmissing-signatures (in -Wall)] +B.hs:4:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: answer_to_live_the_universe_and_everything :: Int -B.hs:5:13: warning: [-Wtype-defaults (in -Wall)] +B.hs:5:13: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraints (Num a0) arising from the literal ‘1’ at B.hs:5:13 (Enum a0) @@ -28,5 +28,5 @@ B.hs:5:13: warning: [-Wtype-defaults (in -Wall)] In the first argument of ‘length’, namely ‘[1 .. 23 * 2]’ In the first argument of ‘(-)’, namely ‘length [1 .. 23 * 2]’ -A.hs:7:1: warning: [-Wmissing-signatures (in -Wall)] +A.hs:7:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: main :: IO () diff --git a/testsuite/tests/ghc-api/exactprint/Test20239.stderr b/testsuite/tests/ghc-api/exactprint/Test20239.stderr index 32f05282ffa4..8ecb791c4967 100644 --- a/testsuite/tests/ghc-api/exactprint/Test20239.stderr +++ b/testsuite/tests/ghc-api/exactprint/Test20239.stderr @@ -324,5 +324,5 @@ -Test20239.hs:4:15: error: +Test20239.hs:4:15: error: [GHC-76037] Not in scope: type constructor or class ‘Method’ diff --git a/testsuite/tests/ghc-api/target-contents/TargetContents.stderr b/testsuite/tests/ghc-api/target-contents/TargetContents.stderr index 2743f5135ed2..3fa570ca1dc1 100644 --- a/testsuite/tests/ghc-api/target-contents/TargetContents.stderr +++ b/testsuite/tests/ghc-api/target-contents/TargetContents.stderr @@ -1,19 +1,19 @@ == Error -A.hs:3:5: error: Variable not in scope: z +A.hs:3:5: error: [GHC-88464] Variable not in scope: z == CPP_D == CPP_M == Dep_DD_AB == Dep_Error_DD_AB -B.hs:3:5: error: Variable not in scope: z +B.hs:3:5: error: [GHC-88464] Variable not in scope: z == Dep_Error_DD_A -B.hs:3:5: error: Variable not in scope: z +B.hs:3:5: error: [GHC-88464] Variable not in scope: z == Dep_MM_AB == Dep_Error_MM_AB -B.hs:3:5: error: Variable not in scope: z +B.hs:3:5: error: [GHC-88464] Variable not in scope: z == Dep_Error_MM_A A.hs:3:1: error: @@ -22,7 +22,7 @@ A.hs:3:1: error: == Dep_DM_AB == Dep_Error_DM_AB -B.hs:3:5: error: Variable not in scope: z +B.hs:3:5: error: [GHC-88464] Variable not in scope: z == Dep_Error_DM_A A.hs:3:1: error: @@ -31,7 +31,7 @@ A.hs:3:1: error: == Dep_MD_AB == Dep_Error_MD_AB -B.hs:3:5: error: Variable not in scope: z +B.hs:3:5: error: [GHC-88464] Variable not in scope: z == Dep_Error_MD_A -B.hs:3:5: error: Variable not in scope: z +B.hs:3:5: error: [GHC-88464] Variable not in scope: z diff --git a/testsuite/tests/ghc-e/should_fail/T18441fail12.stderr b/testsuite/tests/ghc-e/should_fail/T18441fail12.stderr index 38ea987f38e9..fde0ff129d43 100644 --- a/testsuite/tests/ghc-e/should_fail/T18441fail12.stderr +++ b/testsuite/tests/ghc-e/should_fail/T18441fail12.stderr @@ -1,5 +1,5 @@ -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-88464] Variable not in scope: abc :: IO String Suggested fix: Perhaps use ‘abs’ (imported from Prelude) 1 diff --git a/testsuite/tests/ghc-e/should_fail/T18441fail16.stderr b/testsuite/tests/ghc-e/should_fail/T18441fail16.stderr index 2194e5f81b0a..6b5c25e251ae 100644 --- a/testsuite/tests/ghc-e/should_fail/T18441fail16.stderr +++ b/testsuite/tests/ghc-e/should_fail/T18441fail16.stderr @@ -1,4 +1,4 @@ -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) 1 diff --git a/testsuite/tests/ghc-e/should_fail/T18441fail17.stderr b/testsuite/tests/ghc-e/should_fail/T18441fail17.stderr index d0749cc83331..db934cf2fd02 100644 --- a/testsuite/tests/ghc-e/should_fail/T18441fail17.stderr +++ b/testsuite/tests/ghc-e/should_fail/T18441fail17.stderr @@ -1,3 +1,4 @@ -<interactive>:0:33: error: Variable not in scope: a :: IO a +<interactive>:0:33: error: [GHC-88464] + Variable not in scope: a :: IO a 1 diff --git a/testsuite/tests/ghc-e/should_fail/T18441fail18.stderr b/testsuite/tests/ghc-e/should_fail/T18441fail18.stderr index 9981715a3647..6a298acb5e7d 100644 --- a/testsuite/tests/ghc-e/should_fail/T18441fail18.stderr +++ b/testsuite/tests/ghc-e/should_fail/T18441fail18.stderr @@ -1,5 +1,5 @@ -<interactive>:0:53: error: +<interactive>:0:53: error: [GHC-88464] Variable not in scope: main :: IO a0 Suggested fix: Perhaps use ‘min’ (imported from Prelude) 1 diff --git a/testsuite/tests/ghc-e/should_fail/T18441fail4.stderr b/testsuite/tests/ghc-e/should_fail/T18441fail4.stderr index 91e20fe8f183..1bb42a359ce7 100644 --- a/testsuite/tests/ghc-e/should_fail/T18441fail4.stderr +++ b/testsuite/tests/ghc-e/should_fail/T18441fail4.stderr @@ -1,3 +1,4 @@ -<no location info>: error: module ‘Abcde’ cannot be found locally +<no location info>: error: [GHC-82272] + module ‘Abcde’ cannot be found locally 1 diff --git a/testsuite/tests/ghc-e/should_fail/T7962.stderr b/testsuite/tests/ghc-e/should_fail/T7962.stderr index cf1fdb92beee..e22f055d8052 100644 --- a/testsuite/tests/ghc-e/should_fail/T7962.stderr +++ b/testsuite/tests/ghc-e/should_fail/T7962.stderr @@ -1,4 +1,4 @@ -<interactive>:0:9: error: +<interactive>:0:9: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) 1 diff --git a/testsuite/tests/ghc-e/should_fail/T9905fail3.stderr b/testsuite/tests/ghc-e/should_fail/T9905fail3.stderr index de9de0b88f5b..2ac2988f0092 100644 --- a/testsuite/tests/ghc-e/should_fail/T9905fail3.stderr +++ b/testsuite/tests/ghc-e/should_fail/T9905fail3.stderr @@ -1,3 +1,3 @@ -<interactive>:0:17: error: parse error on input ‘+’ +<interactive>:0:17: error: [GHC-58481] parse error on input ‘+’ 1 diff --git a/testsuite/tests/ghc-e/should_fail/ghc-e-fail1.stderr b/testsuite/tests/ghc-e/should_fail/ghc-e-fail1.stderr index d1f2d182517f..3f5f8e398f57 100644 --- a/testsuite/tests/ghc-e/should_fail/ghc-e-fail1.stderr +++ b/testsuite/tests/ghc-e/should_fail/ghc-e-fail1.stderr @@ -1,4 +1,4 @@ -<interactive>:0:8: error: +<interactive>:0:8: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) 1 diff --git a/testsuite/tests/ghci.debugger/scripts/T14628.stderr b/testsuite/tests/ghci.debugger/scripts/T14628.stderr index 0eb90fde1f05..0cbee12ea1b3 100644 --- a/testsuite/tests/ghci.debugger/scripts/T14628.stderr +++ b/testsuite/tests/ghci.debugger/scripts/T14628.stderr @@ -1,5 +1,5 @@ -<interactive>:4:17: error: +<interactive>:4:17: error: [GHC-25897] • Couldn't match type ‘m’ with ‘(,) a0’ Expected: StateT Int ((,) a0) () Actual: StateT Int m () diff --git a/testsuite/tests/ghci.debugger/scripts/break003.stderr b/testsuite/tests/ghci.debugger/scripts/break003.stderr index a6f81eb1b048..91fdadd5edbf 100644 --- a/testsuite/tests/ghci.debugger/scripts/break003.stderr +++ b/testsuite/tests/ghci.debugger/scripts/break003.stderr @@ -1,5 +1,5 @@ -<interactive>:4:1: error: +<interactive>:4:1: error: [GHC-39999] • No instance for ‘Show (t -> a)’ arising from a use of ‘print’ (maybe you haven't applied a function to enough arguments?) • In a stmt of an interactive GHCi command: print it diff --git a/testsuite/tests/ghci.debugger/scripts/break006.stderr b/testsuite/tests/ghci.debugger/scripts/break006.stderr index 9d002cc28634..80419e9f35d2 100644 --- a/testsuite/tests/ghci.debugger/scripts/break006.stderr +++ b/testsuite/tests/ghci.debugger/scripts/break006.stderr @@ -1,5 +1,5 @@ -<interactive>:4:1: error: +<interactive>:4:1: error: [GHC-39999] • No instance for ‘Show a’ arising from a use of ‘print’ Cannot resolve unknown runtime type ‘a’ Use :print or :force to determine these types @@ -12,7 +12,7 @@ (use -fprint-potential-instances to see them all) • In a stmt of an interactive GHCi command: print it -<interactive>:6:1: error: +<interactive>:6:1: error: [GHC-39999] • No instance for ‘Show a’ arising from a use of ‘print’ Cannot resolve unknown runtime type ‘a’ Use :print or :force to determine these types diff --git a/testsuite/tests/ghci.debugger/scripts/print019.stderr b/testsuite/tests/ghci.debugger/scripts/print019.stderr index 595738618371..0febc62927ca 100644 --- a/testsuite/tests/ghci.debugger/scripts/print019.stderr +++ b/testsuite/tests/ghci.debugger/scripts/print019.stderr @@ -1,5 +1,5 @@ -<interactive>:10:1: error: +<interactive>:10:1: error: [GHC-39999] • No instance for ‘Show a1’ arising from a use of ‘print’ Cannot resolve unknown runtime type ‘a1’ Use :print or :force to determine these types diff --git a/testsuite/tests/ghci/T11827/T11827.stderr b/testsuite/tests/ghci/T11827/T11827.stderr index 84f3cead71e4..a8165d0bfe8f 100644 --- a/testsuite/tests/ghci/T11827/T11827.stderr +++ b/testsuite/tests/ghci/T11827/T11827.stderr @@ -1,2 +1,2 @@ -A.hs:6:3: error: Not in scope: data constructor ‘C’ +A.hs:6:3: error: [GHC-76037] Not in scope: data constructor ‘C’ diff --git a/testsuite/tests/ghci/prog009/ghci.prog009.stderr b/testsuite/tests/ghci/prog009/ghci.prog009.stderr index e8e5d4ab3e11..472596755806 100644 --- a/testsuite/tests/ghci/prog009/ghci.prog009.stderr +++ b/testsuite/tests/ghci/prog009/ghci.prog009.stderr @@ -1,8 +1,8 @@ -A.hs:1:16: error: parse error on input ‘where’ +A.hs:1:16: error: [GHC-58481] parse error on input ‘where’ -<interactive>:25:1: error: +<interactive>:25:1: error: [GHC-88464] Variable not in scope: yan Suggested fix: Perhaps use ‘tan’ (imported from Prelude) -A.hs:1:16: error: parse error on input ‘where’ +A.hs:1:16: error: [GHC-58481] parse error on input ‘where’ diff --git a/testsuite/tests/ghci/prog010/ghci.prog010.stderr b/testsuite/tests/ghci/prog010/ghci.prog010.stderr index 75c4fb412173..bf2a189b0058 100644 --- a/testsuite/tests/ghci/prog010/ghci.prog010.stderr +++ b/testsuite/tests/ghci/prog010/ghci.prog010.stderr @@ -1,4 +1,4 @@ -<interactive>:1:1: error: Variable not in scope: g +<interactive>:1:1: error: [GHC-88464] Variable not in scope: g module 'A' is not interpreted; try ':add *A' first module 'A' is not interpreted; try ':add *A' first diff --git a/testsuite/tests/ghci/prog012/prog012.stderr b/testsuite/tests/ghci/prog012/prog012.stderr index 71d2bd385a7e..39eacfa7ab0b 100644 --- a/testsuite/tests/ghci/prog012/prog012.stderr +++ b/testsuite/tests/ghci/prog012/prog012.stderr @@ -1,2 +1,2 @@ -Bar.hs:3:7: error: Variable not in scope: nonexistent +Bar.hs:3:7: error: [GHC-88464] Variable not in scope: nonexistent diff --git a/testsuite/tests/ghci/prog013/prog013.stderr b/testsuite/tests/ghci/prog013/prog013.stderr index a1b5651c9e49..066f9206e113 100644 --- a/testsuite/tests/ghci/prog013/prog013.stderr +++ b/testsuite/tests/ghci/prog013/prog013.stderr @@ -1,17 +1,17 @@ -Bad.hs:3:8: error: +Bad.hs:3:8: error: [GHC-21231] lexical error in string/character literal at character '\n' -Bad.hs:3:8: error: +Bad.hs:3:8: error: [GHC-21231] lexical error in string/character literal at character '\n' -Bad.hs:3:8: error: +Bad.hs:3:8: error: [GHC-21231] lexical error in string/character literal at character '\n' -<interactive>:9:1: error: parse error on input ‘+’ +<interactive>:9:1: error: [GHC-58481] parse error on input ‘+’ -Bad.hs:3:8: error: +Bad.hs:3:8: error: [GHC-21231] lexical error in string/character literal at character '\n' -Bad.hs:3:8: error: +Bad.hs:3:8: error: [GHC-21231] lexical error in string/character literal at character '\n' diff --git a/testsuite/tests/ghci/prog018/prog018.stdout b/testsuite/tests/ghci/prog018/prog018.stdout index 23323ebb4b9f..da160be432a2 100644 --- a/testsuite/tests/ghci/prog018/prog018.stdout +++ b/testsuite/tests/ghci/prog018/prog018.stdout @@ -1,6 +1,6 @@ [1 of 3] Compiling A ( A.hs, interpreted ) -A.hs:5:1: warning: [-Wincomplete-patterns (in -Wextra)] +A.hs:5:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘incompletePattern’: Patterns of type ‘Int’ not matched: p where p is not one of {0} @@ -15,9 +15,11 @@ B.hs:7:1: warning: [-Wunused-imports (in -Wextra)] To import instances alone, use: import Data.Tuple() [3 of 3] Compiling C ( C.hs, interpreted ) -C.hs:6:7: error: Variable not in scope: variableNotInScope :: () +C.hs:6:7: error: [GHC-88464] + Variable not in scope: variableNotInScope :: () Failed, two modules loaded. [3 of 3] Compiling C ( C.hs, interpreted ) -C.hs:6:7: error: Variable not in scope: variableNotInScope :: () +C.hs:6:7: error: [GHC-88464] + Variable not in scope: variableNotInScope :: () Failed, two modules loaded. diff --git a/testsuite/tests/ghci/scripts/Defer02.stderr b/testsuite/tests/ghci/scripts/Defer02.stderr index bb787b30c163..e05dccbd0866 100644 --- a/testsuite/tests/ghci/scripts/Defer02.stderr +++ b/testsuite/tests/ghci/scripts/Defer02.stderr @@ -1,5 +1,5 @@ -Defer01.hs:11:40: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer01.hs:11:40: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘Char’ with ‘[Char]’ Expected: String Actual: Char @@ -7,16 +7,16 @@ Defer01.hs:11:40: warning: [-Wdeferred-type-errors (in -Wdefault)] In the second argument of ‘(>>)’, namely ‘putStr ','’ In the expression: putStr "Hello World" >> putStr ',' -Defer01.hs:14:5: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer01.hs:14:5: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'p' In an equation for ‘a’: a = 'p' -Defer01.hs:25:1: warning: [-Woverlapping-patterns (in -Wdefault)] +Defer01.hs:25:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘c’: c (C2 x) = ... -Defer01.hs:25:4: warning: [-Winaccessible-code (in -Wdefault)] +Defer01.hs:25:4: warning: [GHC-40564] [-Winaccessible-code (in -Wdefault)] • Inaccessible code in a pattern with constructor: C2 :: Bool -> C Bool, in an equation for ‘c’ @@ -24,7 +24,7 @@ Defer01.hs:25:4: warning: [-Winaccessible-code (in -Wdefault)] • In the pattern: C2 x In an equation for ‘c’: c (C2 x) = True -Defer01.hs:31:5: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer01.hs:31:5: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Char -> t’ with actual type ‘Char’ • The function ‘e’ is applied to one value argument, but its type ‘Char’ has none @@ -32,7 +32,7 @@ Defer01.hs:31:5: warning: [-Wdeferred-type-errors (in -Wdefault)] In an equation for ‘f’: f = e 'q' • Relevant bindings include f :: t (bound at Defer01.hs:31:1) -Defer01.hs:34:8: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer01.hs:34:8: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Char’ with actual type ‘a’ ‘a’ is a rigid type variable bound by the type signature for: @@ -45,7 +45,7 @@ Defer01.hs:34:8: warning: [-Wdeferred-type-errors (in -Wdefault)] x :: a (bound at Defer01.hs:34:3) h :: a -> (Char, Char) (bound at Defer01.hs:34:1) -Defer01.hs:39:17: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer01.hs:39:17: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Bool’ with actual type ‘T a’ • In the first argument of ‘not’, namely ‘(K a)’ In the first argument of ‘seq’, namely ‘(not (K a))’ @@ -54,19 +54,19 @@ Defer01.hs:39:17: warning: [-Wdeferred-type-errors (in -Wdefault)] a :: a (bound at Defer01.hs:39:3) i :: a -> () (bound at Defer01.hs:39:1) -Defer01.hs:47:7: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer01.hs:47:7: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Bool’ with actual type ‘Int’ • In the expression: x In an equation for ‘k’: k x = x -Defer01.hs:50:5: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer01.hs:50:5: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type: IO a0 with actual type: Char -> IO () • Probable cause: ‘putChar’ is applied to too few arguments In the first argument of ‘(>>)’, namely ‘putChar’ In the expression: putChar >> putChar 'p' In an equation for ‘l’: l = putChar >> putChar 'p' -*** Exception: Defer01.hs:11:40: error: +*** Exception: Defer01.hs:11:40: error: [GHC-83865] • Couldn't match type ‘Char’ with ‘[Char]’ Expected: String Actual: Char @@ -74,31 +74,31 @@ Defer01.hs:50:5: warning: [-Wdeferred-type-errors (in -Wdefault)] In the second argument of ‘(>>)’, namely ‘putStr ','’ In the expression: putStr "Hello World" >> putStr ',' (deferred type error) -*** Exception: Defer01.hs:14:5: error: +*** Exception: Defer01.hs:14:5: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'p' In an equation for ‘a’: a = 'p' (deferred type error) -*** Exception: Defer01.hs:18:9: error: +*** Exception: Defer01.hs:18:9: error: [GHC-39999] • No instance for ‘Eq B’ arising from a use of ‘==’ • In the expression: x == x In an equation for ‘b’: b x = x == x (deferred type error) -<interactive>:10:11: error: +<interactive>:10:11: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: C Int Actual: C Bool • In the first argument of ‘c’, namely ‘(C2 True)’ In the first argument of ‘print’, namely ‘(c (C2 True))’ In the expression: print (c (C2 True)) -*** Exception: Defer01.hs:28:5: error: +*** Exception: Defer01.hs:28:5: error: [GHC-39999] • No instance for ‘Num (a -> a)’ arising from the literal ‘1’ (maybe you haven't applied a function to enough arguments?) • In the expression: 1 In an equation for ‘d’: d = 1 (deferred type error) -*** Exception: Defer01.hs:31:5: error: +*** Exception: Defer01.hs:31:5: error: [GHC-83865] • Couldn't match expected type ‘Char -> t’ with actual type ‘Char’ • The function ‘e’ is applied to one value argument, but its type ‘Char’ has none @@ -106,7 +106,7 @@ Defer01.hs:50:5: warning: [-Wdeferred-type-errors (in -Wdefault)] In an equation for ‘f’: f = e 'q' • Relevant bindings include f :: t (bound at Defer01.hs:31:1) (deferred type error) -*** Exception: Defer01.hs:34:8: error: +*** Exception: Defer01.hs:34:8: error: [GHC-25897] • Couldn't match expected type ‘Char’ with actual type ‘a’ ‘a’ is a rigid type variable bound by the type signature for: @@ -119,7 +119,7 @@ Defer01.hs:50:5: warning: [-Wdeferred-type-errors (in -Wdefault)] x :: a (bound at Defer01.hs:34:3) h :: a -> (Char, Char) (bound at Defer01.hs:34:1) (deferred type error) -*** Exception: Defer01.hs:39:17: error: +*** Exception: Defer01.hs:39:17: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘T a’ • In the first argument of ‘not’, namely ‘(K a)’ In the first argument of ‘seq’, namely ‘(not (K a))’ @@ -128,18 +128,18 @@ Defer01.hs:50:5: warning: [-Wdeferred-type-errors (in -Wdefault)] a :: a (bound at Defer01.hs:39:3) i :: a -> () (bound at Defer01.hs:39:1) (deferred type error) -*** Exception: Defer01.hs:43:5: error: +*** Exception: Defer01.hs:43:5: error: [GHC-39999] • No instance for ‘MyClass a1’ arising from a use of ‘myOp’ • In the expression: myOp 23 In an equation for ‘j’: j = myOp 23 (deferred type error) -<interactive>:16:8: error: +<interactive>:16:8: error: [GHC-18872] • Couldn't match type ‘Int’ with ‘Bool’ arising from a use of ‘k’ • In the first argument of ‘print’, namely ‘(k 2)’ In the expression: print (k 2) In an equation for ‘it’: it = print (k 2) -*** Exception: Defer01.hs:50:5: error: +*** Exception: Defer01.hs:50:5: error: [GHC-83865] • Couldn't match expected type: IO a0 with actual type: Char -> IO () • Probable cause: ‘putChar’ is applied to too few arguments diff --git a/testsuite/tests/ghci/scripts/StaticPtr.stderr b/testsuite/tests/ghci/scripts/StaticPtr.stderr index b45f64e64da2..797528321917 100644 --- a/testsuite/tests/ghci/scripts/StaticPtr.stderr +++ b/testsuite/tests/ghci/scripts/StaticPtr.stderr @@ -1,3 +1,3 @@ -<interactive>: warning: +<interactive>: warning: [GHC-77799] StaticPointers is not supported in GHCi interactive expressions. diff --git a/testsuite/tests/ghci/scripts/T10248.stderr b/testsuite/tests/ghci/scripts/T10248.stderr index b9cf45a8f636..8f5ca0ad088f 100644 --- a/testsuite/tests/ghci/scripts/T10248.stderr +++ b/testsuite/tests/ghci/scripts/T10248.stderr @@ -1,5 +1,5 @@ -<interactive>:2:10: error: +<interactive>:2:10: error: [GHC-88464] • Found hole: _ :: f a Where: ‘f’, ‘a’ are rigid type variables bound by the inferred type of it :: Functor f => f (Maybe a) diff --git a/testsuite/tests/ghci/scripts/T10249.stderr b/testsuite/tests/ghci/scripts/T10249.stderr index b7e3e07a8993..66f0c21987da 100644 --- a/testsuite/tests/ghci/scripts/T10249.stderr +++ b/testsuite/tests/ghci/scripts/T10249.stderr @@ -1,5 +1,5 @@ -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-88464] • Found hole: _ :: p Where: ‘p’ is a rigid type variable bound by the inferred type of it :: p diff --git a/testsuite/tests/ghci/scripts/T10508.stderr b/testsuite/tests/ghci/scripts/T10508.stderr index 89392b3ea8f2..815f6681d2f5 100644 --- a/testsuite/tests/ghci/scripts/T10508.stderr +++ b/testsuite/tests/ghci/scripts/T10508.stderr @@ -1,5 +1,5 @@ -<interactive>:1:15: error: +<interactive>:1:15: error: [GHC-83865] • Couldn't match type: a0 -> a0 with: [Char] Expected: Prelude.String diff --git a/testsuite/tests/ghci/scripts/T10963.stderr b/testsuite/tests/ghci/scripts/T10963.stderr index c02729750cf5..3738fc16cca0 100644 --- a/testsuite/tests/ghci/scripts/T10963.stderr +++ b/testsuite/tests/ghci/scripts/T10963.stderr @@ -1,5 +1,5 @@ -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘foo’ prevents the constraint ‘(Num a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. diff --git a/testsuite/tests/ghci/scripts/T11606.stderr b/testsuite/tests/ghci/scripts/T11606.stderr index bbfb7406c685..3b75f00ea8fa 100644 --- a/testsuite/tests/ghci/scripts/T11606.stderr +++ b/testsuite/tests/ghci/scripts/T11606.stderr @@ -1,12 +1,12 @@ -<interactive>:3:1: warning: [-Wname-shadowing (in -Wall)] +<interactive>:3:1: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘x’ shadows the existing binding defined at <interactive>:2:1 -<interactive>:4:1: warning: [-Wname-shadowing (in -Wall)] +<interactive>:4:1: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘x’ shadows the existing binding defined at <interactive>:3:1 -<interactive>:5:5: warning: [-Wname-shadowing (in -Wall)] +<interactive>:5:5: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘x’ shadows the existing binding defined at <interactive>:4:1 diff --git a/testsuite/tests/ghci/scripts/T13202.stderr b/testsuite/tests/ghci/scripts/T13202.stderr index 33c1945089d0..aa130f2d8d34 100644 --- a/testsuite/tests/ghci/scripts/T13202.stderr +++ b/testsuite/tests/ghci/scripts/T13202.stderr @@ -1,5 +1,5 @@ -<interactive>:6:22: error: +<interactive>:6:22: error: [GHC-95781] • Cannot apply expression of type ‘TypeRep a0’ to a visible type argument ‘(Maybe Int#)’ • In the first argument of ‘typeRepKind’, namely diff --git a/testsuite/tests/ghci/scripts/T13202a.stderr b/testsuite/tests/ghci/scripts/T13202a.stderr index a2a6704432e0..880c9b03ec18 100644 --- a/testsuite/tests/ghci/scripts/T13202a.stderr +++ b/testsuite/tests/ghci/scripts/T13202a.stderr @@ -1,5 +1,5 @@ -<interactive>:4:5: error: +<interactive>:4:5: error: [GHC-80003] • Non type-variable argument in the constraint: HasField "name" r a • When checking the inferred type foo :: forall {r} {a}. HasField "name" r a => r -> a diff --git a/testsuite/tests/ghci/scripts/T13466.stderr b/testsuite/tests/ghci/scripts/T13466.stderr index a31acf385b62..638f26d2954a 100644 --- a/testsuite/tests/ghci/scripts/T13466.stderr +++ b/testsuite/tests/ghci/scripts/T13466.stderr @@ -1,2 +1,3 @@ -<interactive>:1:1: error: Variable not in scope: out_of_scope +<interactive>:1:1: error: [GHC-88464] + Variable not in scope: out_of_scope diff --git a/testsuite/tests/ghci/scripts/T14969.stderr b/testsuite/tests/ghci/scripts/T14969.stderr index b44c578b2030..0dec7620b606 100644 --- a/testsuite/tests/ghci/scripts/T14969.stderr +++ b/testsuite/tests/ghci/scripts/T14969.stderr @@ -1,5 +1,5 @@ -<interactive>:2:1: error: +<interactive>:2:1: error: [GHC-80003] • Non type-variable argument in the constraint: Num (t2 -> t1 -> t3) • When checking the inferred type diff --git a/testsuite/tests/ghci/scripts/T15259.stderr b/testsuite/tests/ghci/scripts/T15259.stderr index 29a04a648713..c205f77b7bf3 100644 --- a/testsuite/tests/ghci/scripts/T15259.stderr +++ b/testsuite/tests/ghci/scripts/T15259.stderr @@ -1,2 +1,2 @@ -<interactive>:3:5: error: Variable not in scope: a +<interactive>:3:5: error: [GHC-88464] Variable not in scope: a diff --git a/testsuite/tests/ghci/scripts/T15325.stderr b/testsuite/tests/ghci/scripts/T15325.stderr index e7c6c8fc6770..15b28426c22b 100644 --- a/testsuite/tests/ghci/scripts/T15325.stderr +++ b/testsuite/tests/ghci/scripts/T15325.stderr @@ -1,10 +1,10 @@ -T15325.hs:11:7: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15325.hs:11:7: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • No instance for ‘PolyList e0’ arising from a use of ‘f’ • In the expression: f 0 In an equation for ‘plh’: plh = f 0 -T15325.hs:11:9: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15325.hs:11:9: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • Ambiguous type variable ‘e0’ arising from the literal ‘0’ prevents the constraint ‘(Num e0)’ from being solved. Probable fix: use a type annotation to specify what ‘e0’ should be. @@ -17,7 +17,7 @@ T15325.hs:11:9: warning: [-Wdeferred-type-errors (in -Wdefault)] • In the first argument of ‘f’, namely ‘0’ In the expression: f 0 In an equation for ‘plh’: plh = f 0 -*** Exception: T15325.hs:11:7: error: +*** Exception: T15325.hs:11:7: error: [GHC-39999] • No instance for ‘PolyList e0’ arising from a use of ‘f’ • In the expression: f 0 In an equation for ‘plh’: plh = f 0 diff --git a/testsuite/tests/ghci/scripts/T15898.stderr b/testsuite/tests/ghci/scripts/T15898.stderr index aeda5ba5fec7..4fd99bbccc0d 100644 --- a/testsuite/tests/ghci/scripts/T15898.stderr +++ b/testsuite/tests/ghci/scripts/T15898.stderr @@ -1,23 +1,23 @@ -<interactive>:3:14: error: +<interactive>:3:14: error: [GHC-83865] • Expected a type, but ‘'()’ has kind ‘()’ • In an expression type signature: '() In the expression: undefined :: '() In an equation for ‘it’: it = undefined :: '() -<interactive>:4:14: error: +<interactive>:4:14: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Proxy '()’ has kind ‘*’ • In an expression type signature: Proxy '() Int In the expression: undefined :: Proxy '() Int In an equation for ‘it’: it = undefined :: Proxy '() Int -<interactive>:5:14: error: +<interactive>:5:14: error: [GHC-83865] • Expected a type, but ‘[(), ()]’ has kind ‘[*]’ • In an expression type signature: [(), ()] In the expression: undefined :: [(), ()] In an equation for ‘it’: it = undefined :: [(), ()] -<interactive>:6:14: error: +<interactive>:6:14: error: [GHC-83865] • Expected a type, but ‘'( '[], '[])’ has kind ‘([k0], [k1])’ • In an expression type signature: '( '[], '[]) In the expression: undefined :: '( '[], '[]) diff --git a/testsuite/tests/ghci/scripts/T16376.stderr b/testsuite/tests/ghci/scripts/T16376.stderr index 7b345315693b..8bf27a86266c 100644 --- a/testsuite/tests/ghci/scripts/T16376.stderr +++ b/testsuite/tests/ghci/scripts/T16376.stderr @@ -1,11 +1,11 @@ -<interactive>:1:5: error: +<interactive>:1:5: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type ‘Maybe’ In the expression: id @Maybe -<interactive>:1:5: error: +<interactive>:1:5: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the first argument of ‘Id’, namely ‘Maybe’ diff --git a/testsuite/tests/ghci/scripts/T17549.stderr b/testsuite/tests/ghci/scripts/T17549.stderr index 0abf6916ec27..1e635e75dadb 100644 --- a/testsuite/tests/ghci/scripts/T17549.stderr +++ b/testsuite/tests/ghci/scripts/T17549.stderr @@ -1,3 +1,3 @@ -T17549.hs:1:7: +T17549.hs:1:7: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) diff --git a/testsuite/tests/ghci/scripts/T19158.stderr b/testsuite/tests/ghci/scripts/T19158.stderr index 9b15a102e8aa..be11b6d6dc85 100644 --- a/testsuite/tests/ghci/scripts/T19158.stderr +++ b/testsuite/tests/ghci/scripts/T19158.stderr @@ -1,5 +1,5 @@ -<interactive>:1:5: error: +<interactive>:1:5: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type ‘Maybe’ diff --git a/testsuite/tests/ghci/scripts/T19197.stderr b/testsuite/tests/ghci/scripts/T19197.stderr index 231ffd4de63a..e77ca238cb59 100644 --- a/testsuite/tests/ghci/scripts/T19197.stderr +++ b/testsuite/tests/ghci/scripts/T19197.stderr @@ -1,5 +1,5 @@ -<interactive>:1:8: error: +<interactive>:1:8: error: [GHC-83865] • Expected a type, but ‘'()’ has kind ‘()’ • In the kind ‘'()’ In the type ‘(() :: '())’ diff --git a/testsuite/tests/ghci/scripts/T20455.stderr b/testsuite/tests/ghci/scripts/T20455.stderr index 61870da12afe..db1df877e3b0 100644 --- a/testsuite/tests/ghci/scripts/T20455.stderr +++ b/testsuite/tests/ghci/scripts/T20455.stderr @@ -1,5 +1,5 @@ -<interactive>:3:1: error: +<interactive>:3:1: error: [GHC-88464] Variable not in scope: ll Suggested fix: Perhaps use one of these: diff --git a/testsuite/tests/ghci/scripts/T21110.stderr b/testsuite/tests/ghci/scripts/T21110.stderr index 931666d072f1..13fe02def1b9 100644 --- a/testsuite/tests/ghci/scripts/T21110.stderr +++ b/testsuite/tests/ghci/scripts/T21110.stderr @@ -1,5 +1,5 @@ -<no location info>: warning: [-Wunused-packages] +<no location info>: warning: [GHC-42258] [-Wunused-packages] The following packages were specified via -package or -package-id flags, but were not needed for compilation: - template-haskell-2.19.0.0 (exposed by flag -package template-haskell) diff --git a/testsuite/tests/ghci/scripts/T2182ghci.stderr b/testsuite/tests/ghci/scripts/T2182ghci.stderr index 5d28baef7429..a0db48413b45 100644 --- a/testsuite/tests/ghci/scripts/T2182ghci.stderr +++ b/testsuite/tests/ghci/scripts/T2182ghci.stderr @@ -1,25 +1,25 @@ -<interactive>:2:1: error: +<interactive>:2:1: error: [GHC-39999] • No instance for ‘Show (p0 -> p0)’ arising from a use of ‘print’ (maybe you haven't applied a function to enough arguments?) • In a stmt of an interactive GHCi command: print it -<interactive>:10:1: error: +<interactive>:10:1: error: [GHC-39999] • No instance for ‘Show (p0 -> p0)’ arising from a use of ‘print’ (maybe you haven't applied a function to enough arguments?) • In a stmt of an interactive GHCi command: print it -<interactive>:19:1: error: +<interactive>:19:1: error: [GHC-39999] • No instance for ‘Show (p0 -> p0)’ arising from a use of ‘print’ (maybe you haven't applied a function to enough arguments?) • In a stmt of an interactive GHCi command: print it -<interactive>:28:1: error: +<interactive>:28:1: error: [GHC-39999] • No instance for ‘Show (p0 -> p0)’ arising from a use of ‘print’ (maybe you haven't applied a function to enough arguments?) • In a stmt of an interactive GHCi command: print it -<interactive>:49:1: error: +<interactive>:49:1: error: [GHC-39999] • No instance for ‘Show (p0 -> p0)’ arising from a use of ‘print’ (maybe you haven't applied a function to enough arguments?) • In a stmt of an interactive GHCi command: print it diff --git a/testsuite/tests/ghci/scripts/T2182ghci2.stderr b/testsuite/tests/ghci/scripts/T2182ghci2.stderr index 8087c00af9e7..c690fc407402 100644 --- a/testsuite/tests/ghci/scripts/T2182ghci2.stderr +++ b/testsuite/tests/ghci/scripts/T2182ghci2.stderr @@ -1,10 +1,10 @@ -<interactive>:7:1: error: +<interactive>:7:1: error: [GHC-39999] • No instance for ‘GHC.Show.Show Float’ arising from a use of ‘System.IO.print’ • In a stmt of an interactive GHCi command: System.IO.print it -<interactive>:15:1: error: +<interactive>:15:1: error: [GHC-39999] • No instance for ‘GHC.Show.Show Float’ arising from a use of ‘System.IO.print’ • In a stmt of an interactive GHCi command: System.IO.print it diff --git a/testsuite/tests/ghci/scripts/T2452.stderr b/testsuite/tests/ghci/scripts/T2452.stderr index c6f37c66803e..05de0373e974 100644 --- a/testsuite/tests/ghci/scripts/T2452.stderr +++ b/testsuite/tests/ghci/scripts/T2452.stderr @@ -1,8 +1,8 @@ -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-76037] Not in scope: ‘System.IO.hPutStrLn’ NB: no module named ‘System.IO’ is imported. -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-76037] Not in scope: ‘System.IO.hPutStrLn’ NB: no module named ‘System.IO’ is imported. diff --git a/testsuite/tests/ghci/scripts/T2816.stderr b/testsuite/tests/ghci/scripts/T2816.stderr index e41f25a5d2a3..45a551f24ec2 100644 --- a/testsuite/tests/ghci/scripts/T2816.stderr +++ b/testsuite/tests/ghci/scripts/T2816.stderr @@ -1,2 +1,2 @@ -<interactive>:1:1: error: Variable not in scope: α +<interactive>:1:1: error: [GHC-88464] Variable not in scope: α diff --git a/testsuite/tests/ghci/scripts/T3263.stderr b/testsuite/tests/ghci/scripts/T3263.stderr index dd72b3f31b27..62bbf0523a47 100644 --- a/testsuite/tests/ghci/scripts/T3263.stderr +++ b/testsuite/tests/ghci/scripts/T3263.stderr @@ -1,5 +1,4 @@ -T3263.hs:8:12: warning: [-Wunused-do-bind (in -Wall)] +T3263.hs:8:12: warning: [GHC-81995] [-Wunused-do-bind (in -Wall)] A do-notation statement discarded a result of type ‘Char’ - Suggested fix: - Suppress this warning by saying ‘_ <- getChar’ + Suggested fix: Suppress this warning by saying ‘_ <- getChar’ diff --git a/testsuite/tests/ghci/scripts/T5564.stderr b/testsuite/tests/ghci/scripts/T5564.stderr index 2338e22e03cd..3b7feeb898ee 100644 --- a/testsuite/tests/ghci/scripts/T5564.stderr +++ b/testsuite/tests/ghci/scripts/T5564.stderr @@ -1,9 +1,9 @@ -<interactive>:2:1: error: +<interactive>:2:1: error: [GHC-88464] Variable not in scope: git Suggested fix: Perhaps use ‘it’ (line 1) -<interactive>:4:1: error: +<interactive>:4:1: error: [GHC-88464] Variable not in scope: fit Suggested fix: Perhaps use one of these: diff --git a/testsuite/tests/ghci/scripts/T6018ghcifail.stderr b/testsuite/tests/ghci/scripts/T6018ghcifail.stderr index 30fbb0529faa..af3d7480eb80 100644 --- a/testsuite/tests/ghci/scripts/T6018ghcifail.stderr +++ b/testsuite/tests/ghci/scripts/T6018ghcifail.stderr @@ -1,45 +1,45 @@ -<interactive>:10:15: error: +<interactive>:10:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: F Char Bool Int = Int -- Defined at <interactive>:10:15 F Bool Int Char = Int -- Defined at <interactive>:11:15 -<interactive>:16:15: error: +<interactive>:16:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: I Int Char Bool = Bool -- Defined at <interactive>:16:15 I Int Int Int = Bool -- Defined at <interactive>:17:15 -<interactive>:26:15: error: +<interactive>:26:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: IdProxy a = Id a -- Defined at <interactive>:26:15 -<interactive>:34:15: error: +<interactive>:34:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation is a bare type variable but these LHS type and kind patterns are not bare variables: ‘'Z’ P 'Z m = m -- Defined at <interactive>:34:15 -<interactive>:40:15: error: +<interactive>:40:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type variable ‘b’ cannot be inferred from the right-hand side. In the type family equation: J Int b c = Char -- Defined at <interactive>:40:15 -<interactive>:44:15: error: +<interactive>:44:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type variable ‘n’ cannot be inferred from the right-hand side. In the type family equation: K ('S n) m = 'S m -- Defined at <interactive>:44:15 -<interactive>:49:15: error: +<interactive>:49:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: L a = MaybeSyn a -- Defined at <interactive>:49:15 -<interactive>:55:41: error: +<interactive>:55:41: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variable ‘k1’ cannot be inferred from the right-hand side. @@ -47,7 +47,7 @@ PolyKindVarsF @{[k1]} @[k2] ('[] @k1) = '[] @k2 -- Defined at <interactive>:55:41 -<interactive>:60:15: error: +<interactive>:60:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variable ‘k1’ cannot be inferred from the right-hand side. @@ -55,14 +55,14 @@ PolyKindVars @[k1] @[k2] ('[] @k1) = '[] @k2 -- Defined at <interactive>:60:15 -<interactive>:64:15: error: +<interactive>:64:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variable ‘k’ cannot be inferred from the right-hand side. In the type family equation: forall {k} {a :: k} {b :: k}. Fc @k a b = Int -- Defined at <interactive>:64:15 -<interactive>:68:15: error: +<interactive>:68:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variables ‘k’, ‘a’, ‘b’ cannot be inferred from the right-hand side. @@ -70,54 +70,54 @@ forall {k} {a :: k} {b :: k}. Gc @k a b = Int -- Defined at <interactive>:68:15 -<interactive>:81:15: error: +<interactive>:81:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: F1 [a] = Maybe (GF1 a) -- Defined at <interactive>:81:15 F1 (Maybe a) = Maybe (GF2 a) -- Defined at <interactive>:82:15 -<interactive>:85:15: error: +<interactive>:85:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation is a bare type variable but these LHS type and kind patterns are not bare variables: ‘[a]’ W1 [a] = a -- Defined at <interactive>:85:15 -<interactive>:88:15: error: +<interactive>:88:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: W2 [a] = W2 a -- Defined at <interactive>:88:15 -<interactive>:92:15: error: +<interactive>:92:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: Z1 [a] = (a, a) -- Defined at <interactive>:92:15 Z1 (Maybe b) = (b, [b]) -- Defined at <interactive>:93:15 -<interactive>:96:15: error: +<interactive>:96:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: G1 [a] = [a] -- Defined at <interactive>:96:15 G1 (Maybe b) = [(b, b)] -- Defined at <interactive>:97:15 -<interactive>:100:15: error: +<interactive>:100:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: G3 a Int = (a, Int) -- Defined at <interactive>:100:15 G3 a Bool = (Bool, a) -- Defined at <interactive>:101:15 -<interactive>:104:15: error: +<interactive>:104:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type variable ‘b’ cannot be inferred from the right-hand side. In the type family equation: G4 a b = [a] -- Defined at <interactive>:104:15 -<interactive>:107:15: error: +<interactive>:107:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: G5 [a] = [GF1 a] -- Defined at <interactive>:107:15 G5 Int = [Bool] -- Defined at <interactive>:108:15 -<interactive>:111:15: error: +<interactive>:111:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type variable ‘a’ cannot be inferred from the right-hand side. In the type family equation: diff --git a/testsuite/tests/ghci/scripts/T6018ghcirnfail.stderr b/testsuite/tests/ghci/scripts/T6018ghcirnfail.stderr index 87f5a040b105..96b4dcd95d25 100644 --- a/testsuite/tests/ghci/scripts/T6018ghcirnfail.stderr +++ b/testsuite/tests/ghci/scripts/T6018ghcirnfail.stderr @@ -1,63 +1,69 @@ -<interactive>:10:23: +<interactive>:10:23: error: Incorrect type variable on the LHS of injectivity condition Expected : r Actual : a -<interactive>:11:24: +<interactive>:11:24: error: Incorrect type variable on the LHS of injectivity condition Expected : r Actual : a -<interactive>:12:37: +<interactive>:12:37: error: Incorrect type variable on the LHS of injectivity condition Expected : r Actual : a -<interactive>:15:19: +<interactive>:15:19: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -<interactive>:16:20: +<interactive>:16:20: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -<interactive>:19:20: +<interactive>:19:20: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -<interactive>:19:24: +<interactive>:19:24: error: Unknown type variable on the RHS of injectivity condition: a -<interactive>:20:21: +<interactive>:20:21: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -<interactive>:20:25: +<interactive>:20:25: error: Unknown type variable on the RHS of injectivity condition: a -<interactive>:21:35: +<interactive>:21:35: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -<interactive>:21:39: +<interactive>:21:39: error: Unknown type variable on the RHS of injectivity condition: a -<interactive>:24:1: Not in scope: type variable ‘c’ +<interactive>:24:1: error: [GHC-76037] + Not in scope: type variable ‘c’ -<interactive>:25:1: Not in scope: type variable ‘c’ +<interactive>:25:1: error: [GHC-76037] + Not in scope: type variable ‘c’ -<interactive>:26:23: Not in scope: type variable ‘c’ +<interactive>:26:23: error: [GHC-76037] + Not in scope: type variable ‘c’ -<interactive>:34:1: Not in scope: type variable ‘c’ +<interactive>:34:1: error: [GHC-76037] + Not in scope: type variable ‘c’ -<interactive>:35:1: Not in scope: type variable ‘c’ +<interactive>:35:1: error: [GHC-76037] + Not in scope: type variable ‘c’ -<interactive>:36:23: Not in scope: type variable ‘c’ +<interactive>:36:23: error: [GHC-76037] + Not in scope: type variable ‘c’ -<interactive>:39:33: +<interactive>:39:33: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -<interactive>:42:37: +<interactive>:42:37: error: Unknown type variable on the RHS of injectivity condition: b diff --git a/testsuite/tests/ghci/scripts/T7627b.stderr b/testsuite/tests/ghci/scripts/T7627b.stderr index 87997e798842..f3c83d9cfbee 100644 --- a/testsuite/tests/ghci/scripts/T7627b.stderr +++ b/testsuite/tests/ghci/scripts/T7627b.stderr @@ -1,12 +1,12 @@ -<interactive>:1:2: +<interactive>:1:2: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) -<interactive>:1:3: +<interactive>:1:3: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) -<interactive>:1:2: +<interactive>:1:2: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) -<interactive>:1:3: +<interactive>:1:3: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) diff --git a/testsuite/tests/ghci/scripts/T7873.stderr b/testsuite/tests/ghci/scripts/T7873.stderr index 8ec10322c8f0..c69f37b516a1 100644 --- a/testsuite/tests/ghci/scripts/T7873.stderr +++ b/testsuite/tests/ghci/scripts/T7873.stderr @@ -1,2 +1,3 @@ -<interactive>:2:32: error: Not in scope: type variable ‘k’ +<interactive>:2:32: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/ghci/scripts/T8353.stderr b/testsuite/tests/ghci/scripts/T8353.stderr index bf737eb3fbf7..71fd9de2d540 100644 --- a/testsuite/tests/ghci/scripts/T8353.stderr +++ b/testsuite/tests/ghci/scripts/T8353.stderr @@ -1,10 +1,10 @@ -Defer03.hs:4:5: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer03.hs:4:5: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'p' In an equation for ‘a’: a = 'p' -Defer03.hs:7:5: warning: [-Wtyped-holes (in -Wdefault)] +Defer03.hs:7:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘f’: f = _ • Relevant bindings include f :: Int (bound at Defer03.hs:7:1) @@ -20,12 +20,12 @@ Defer03.hs:7:5: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at Defer03.hs:1:8-11 (and originally defined in ‘GHC.Enum’)) -Defer03.hs:4:5: error: +Defer03.hs:4:5: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'p' In an equation for ‘a’: a = 'p' -Defer03.hs:7:5: error: +Defer03.hs:7:5: error: [GHC-88464] • Found hole: _ :: Int • In an equation for ‘f’: f = _ • Relevant bindings include f :: Int (bound at Defer03.hs:7:1) @@ -41,12 +41,12 @@ Defer03.hs:7:5: error: (imported from ‘Prelude’ at Defer03.hs:1:8-11 (and originally defined in ‘GHC.Enum’)) -Defer03.hs:4:5: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer03.hs:4:5: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'p' In an equation for ‘a’: a = 'p' -Defer03.hs:7:5: warning: [-Wtyped-holes (in -Wdefault)] +Defer03.hs:7:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘f’: f = _ • Relevant bindings include f :: Int (bound at Defer03.hs:7:1) @@ -62,12 +62,12 @@ Defer03.hs:7:5: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at Defer03.hs:1:8-11 (and originally defined in ‘GHC.Enum’)) -Defer03.hs:4:5: error: +Defer03.hs:4:5: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'p' In an equation for ‘a’: a = 'p' -Defer03.hs:7:5: error: +Defer03.hs:7:5: error: [GHC-88464] • Found hole: _ :: Int • In an equation for ‘f’: f = _ • Relevant bindings include f :: Int (bound at Defer03.hs:7:1) @@ -83,12 +83,12 @@ Defer03.hs:7:5: error: (imported from ‘Prelude’ at Defer03.hs:1:8-11 (and originally defined in ‘GHC.Enum’)) -Defer03.hs:4:5: warning: [-Wdeferred-type-errors (in -Wdefault)] +Defer03.hs:4:5: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'p' In an equation for ‘a’: a = 'p' -Defer03.hs:7:5: warning: [-Wtyped-holes (in -Wdefault)] +Defer03.hs:7:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘f’: f = _ • Relevant bindings include f :: Int (bound at Defer03.hs:7:1) diff --git a/testsuite/tests/ghci/scripts/T8485.stderr b/testsuite/tests/ghci/scripts/T8485.stderr index 8d77f82eaa4c..9746327c3999 100644 --- a/testsuite/tests/ghci/scripts/T8485.stderr +++ b/testsuite/tests/ghci/scripts/T8485.stderr @@ -1,5 +1,5 @@ -<interactive>:2:11: error: +<interactive>:2:11: error: [GHC-44432] The role annotation for ‘X’ lacks an accompanying binding Suggested fix: Move the role annotation to the declaration site of ‘X’. diff --git a/testsuite/tests/ghci/scripts/T8639.stderr b/testsuite/tests/ghci/scripts/T8639.stderr index 9764bcdf67ae..be69a84d9e54 100644 --- a/testsuite/tests/ghci/scripts/T8639.stderr +++ b/testsuite/tests/ghci/scripts/T8639.stderr @@ -1,5 +1,5 @@ -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-76037] Not in scope: ‘H.bit’ NB: no module named ‘H’ is imported. Suggested fix: Perhaps use ‘Q.bit’ (imported from T8639) diff --git a/testsuite/tests/ghci/scripts/T8649.stderr b/testsuite/tests/ghci/scripts/T8649.stderr index 96afa36a540e..19edacbc188a 100644 --- a/testsuite/tests/ghci/scripts/T8649.stderr +++ b/testsuite/tests/ghci/scripts/T8649.stderr @@ -1,5 +1,5 @@ -<interactive>:4:4: error: +<interactive>:4:4: error: [GHC-83865] • Couldn't match expected type ‘Ghci1.X’ with actual type ‘X’ NB: ‘Ghci1.X’ is defined at <interactive>:1:1-14 ‘X’ is defined at <interactive>:3:1-25 diff --git a/testsuite/tests/ghci/scripts/T8959.stderr b/testsuite/tests/ghci/scripts/T8959.stderr index fae95f7327bd..02f3215961a3 100644 --- a/testsuite/tests/ghci/scripts/T8959.stderr +++ b/testsuite/tests/ghci/scripts/T8959.stderr @@ -1,21 +1,21 @@ -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-66043] Arrow command found where an expression was expected: () >- _ -<interactive>:1:7: error: +<interactive>:1:7: error: [GHC-66043] Arrow command found where an expression was expected: () -< _ -<interactive>:1:13: error: +<interactive>:1:13: error: [GHC-66043] Arrow command found where an expression was expected: () >>- _ -<interactive>:1:20: error: +<interactive>:1:20: error: [GHC-66043] Arrow command found where an expression was expected: () -<< () -<interactive>:8:15: error: +<interactive>:8:15: error: [GHC-83865] • Couldn't match expected type ‘()’ with actual type ‘Bool’ • In the pattern: True In a stmt of a pattern guard for @@ -23,23 +23,23 @@ True <- () In an equation for ‘fun’: fun foo | True <- () = () -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-66043] Arrow command found where an expression was expected: () ⤚ _ -<interactive>:1:7: error: +<interactive>:1:7: error: [GHC-66043] Arrow command found where an expression was expected: () ⤙ _ -<interactive>:1:13: error: +<interactive>:1:13: error: [GHC-66043] Arrow command found where an expression was expected: () ⤜ _ -<interactive>:1:20: error: +<interactive>:1:20: error: [GHC-66043] Arrow command found where an expression was expected: () ⤛ () -<interactive>:15:15: error: +<interactive>:15:15: error: [GHC-83865] • Couldn't match expected type ‘()’ with actual type ‘Bool’ • In the pattern: True In a stmt of a pattern guard for @@ -47,23 +47,23 @@ True ↠() In an equation for ‘fun’: fun foo | True ↠() = () -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-66043] Arrow command found where an expression was expected: () >- _ -<interactive>:1:7: error: +<interactive>:1:7: error: [GHC-66043] Arrow command found where an expression was expected: () -< _ -<interactive>:1:13: error: +<interactive>:1:13: error: [GHC-66043] Arrow command found where an expression was expected: () >>- _ -<interactive>:1:20: error: +<interactive>:1:20: error: [GHC-66043] Arrow command found where an expression was expected: () -<< () -<interactive>:22:15: error: +<interactive>:22:15: error: [GHC-83865] • Couldn't match expected type ‘()’ with actual type ‘Bool’ • In the pattern: True In a stmt of a pattern guard for diff --git a/testsuite/tests/ghci/scripts/T8959b.stderr b/testsuite/tests/ghci/scripts/T8959b.stderr index 971261ba40f6..7878b4c15cd6 100644 --- a/testsuite/tests/ghci/scripts/T8959b.stderr +++ b/testsuite/tests/ghci/scripts/T8959b.stderr @@ -1,15 +1,15 @@ -T8959b.hs:5:7: error: +T8959b.hs:5:7: error: [GHC-83865] • Couldn't match expected type ‘Int → Int’ with actual type ‘()’ • In the expression: () In an equation for ‘foo’: foo = () -T8959b.hs:8:7: error: +T8959b.hs:8:7: error: [GHC-83865] • Couldn't match expected type ‘()’ with actual type ‘t0 → m0 t0’ • In the expression: proc x -> do return ⤙ x In an equation for ‘bar’: bar = proc x -> do return ⤙ x -T8959b.hs:10:7: error: +T8959b.hs:10:7: error: [GHC-83865] • Couldn't match expected type ‘(∀ a. a → a) → a1’ with actual type ‘()’ • In the expression: () ∷ (∀ a. a → a) → a diff --git a/testsuite/tests/ghci/scripts/T9140.stdout b/testsuite/tests/ghci/scripts/T9140.stdout index 584803afbc34..dbaa905b6f58 100644 --- a/testsuite/tests/ghci/scripts/T9140.stdout +++ b/testsuite/tests/ghci/scripts/T9140.stdout @@ -1,9 +1,9 @@ -<interactive>:2:5: error: +<interactive>:2:5: error: [GHC-20036] You can't mix polymorphic and unlifted bindings: a = (# 1 #) Suggested fix: Add a type signature. -<interactive>:3:5: error: +<interactive>:3:5: error: [GHC-20036] You can't mix polymorphic and unlifted bindings: a = (# 1, 3 #) Suggested fix: Add a type signature. diff --git a/testsuite/tests/ghci/scripts/ghci022.stderr b/testsuite/tests/ghci/scripts/ghci022.stderr index 138460c99f1d..46376f1ca62a 100644 --- a/testsuite/tests/ghci/scripts/ghci022.stderr +++ b/testsuite/tests/ghci/scripts/ghci022.stderr @@ -1,3 +1,3 @@ -ghci022.hs:2:6: +ghci022.hs:2:6: error: [GHC-21231] lexical error in string/character literal at character '\n' diff --git a/testsuite/tests/ghci/scripts/ghci036.stderr b/testsuite/tests/ghci/scripts/ghci036.stderr index 482fac7e6238..0f15f7a2a2e5 100644 --- a/testsuite/tests/ghci/scripts/ghci036.stderr +++ b/testsuite/tests/ghci/scripts/ghci036.stderr @@ -1,18 +1,18 @@ -<interactive>:1:1: error: Variable not in scope: nubBy +<interactive>:1:1: error: [GHC-88464] Variable not in scope: nubBy -<interactive>:1:1: error: Variable not in scope: nub +<interactive>:1:1: error: [GHC-88464] Variable not in scope: nub -<interactive>:1:1: error: Variable not in scope: nubBy +<interactive>:1:1: error: [GHC-88464] Variable not in scope: nubBy -<interactive>:1:1: error: Variable not in scope: nub +<interactive>:1:1: error: [GHC-88464] Variable not in scope: nub -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-88464] Variable not in scope: nub Suggested fix: Perhaps use ‘L.nub’ (imported from Data.List) -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-76037] Not in scope: ‘L.nub’ NB: no module named ‘L’ is imported. -<interactive>:1:1: error: Variable not in scope: nub +<interactive>:1:1: error: [GHC-88464] Variable not in scope: nub diff --git a/testsuite/tests/ghci/scripts/ghci038.stderr b/testsuite/tests/ghci/scripts/ghci038.stderr index ebd699a68ffe..c5009d23023f 100644 --- a/testsuite/tests/ghci/scripts/ghci038.stderr +++ b/testsuite/tests/ghci/scripts/ghci038.stderr @@ -1,4 +1,4 @@ -<interactive>:1:1: error: Variable not in scope: map +<interactive>:1:1: error: [GHC-88464] Variable not in scope: map -<interactive>:1:1: error: Variable not in scope: x +<interactive>:1:1: error: [GHC-88464] Variable not in scope: x diff --git a/testsuite/tests/ghci/scripts/ghci044.stderr b/testsuite/tests/ghci/scripts/ghci044.stderr index 668388dea833..a066fed1f8cb 100644 --- a/testsuite/tests/ghci/scripts/ghci044.stderr +++ b/testsuite/tests/ghci/scripts/ghci044.stderr @@ -1,5 +1,5 @@ -<interactive>:9:1: error: +<interactive>:9:1: error: [GHC-43085] • Overlapping instances for C [Int] arising from a use of ‘f’ Matching instances: instance [safe] C a => C [a] -- Defined at <interactive>:8:10 diff --git a/testsuite/tests/ghci/scripts/ghci046.stderr b/testsuite/tests/ghci/scripts/ghci046.stderr index e6a2bd0bfdc8..c31102b1521f 100644 --- a/testsuite/tests/ghci/scripts/ghci046.stderr +++ b/testsuite/tests/ghci/scripts/ghci046.stderr @@ -1,5 +1,5 @@ -<interactive>:7:15: error: +<interactive>:7:15: error: [GHC-34447] Conflicting family instance declarations: AND HTrue HTrue = HTrue -- Defined at <interactive>:7:15 AND HTrue HTrue = HFalse -- Defined at <interactive>:20:15 diff --git a/testsuite/tests/ghci/scripts/ghci047.stderr b/testsuite/tests/ghci/scripts/ghci047.stderr index 90a9bb7c60b1..9a4efc189027 100644 --- a/testsuite/tests/ghci/scripts/ghci047.stderr +++ b/testsuite/tests/ghci/scripts/ghci047.stderr @@ -1,12 +1,12 @@ -<interactive>:40:1: error: +<interactive>:40:1: error: [GHC-18872] • Couldn't match type ‘HFalse’ with ‘HTrue’ arising from a use of ‘f’ • In the first argument of ‘($)’, namely ‘f’ In the expression: f $ Baz 'a' In an equation for ‘it’: it = f $ Baz 'a' -<interactive>:41:1: error: +<interactive>:41:1: error: [GHC-18872] • Couldn't match type ‘HFalse’ with ‘HTrue’ arising from a use of ‘f’ • In the first argument of ‘($)’, namely ‘f’ diff --git a/testsuite/tests/ghci/scripts/ghci050.stderr b/testsuite/tests/ghci/scripts/ghci050.stderr index 25a05071995a..9e58fcdc502f 100644 --- a/testsuite/tests/ghci/scripts/ghci050.stderr +++ b/testsuite/tests/ghci/scripts/ghci050.stderr @@ -1,5 +1,5 @@ -<interactive>:6:49: error: +<interactive>:6:49: error: [GHC-25897] • Couldn't match expected type ‘ListableElem (a, a)’ with actual type ‘a’ ‘a’ is a rigid type variable bound by diff --git a/testsuite/tests/ghci/scripts/ghci051.stderr b/testsuite/tests/ghci/scripts/ghci051.stderr index 9407837580d7..cbbc9e053917 100644 --- a/testsuite/tests/ghci/scripts/ghci051.stderr +++ b/testsuite/tests/ghci/scripts/ghci051.stderr @@ -1,5 +1,5 @@ -<interactive>:6:9: error: +<interactive>:6:9: error: [GHC-83865] • Couldn't match type ‘T’ with ‘Ghci1.T’ Expected: T' Actual: T diff --git a/testsuite/tests/ghci/scripts/ghci052.stderr b/testsuite/tests/ghci/scripts/ghci052.stderr index 047ab5e96668..1cdd5597753e 100644 --- a/testsuite/tests/ghci/scripts/ghci052.stderr +++ b/testsuite/tests/ghci/scripts/ghci052.stderr @@ -1,5 +1,5 @@ -<interactive>:8:4: error: +<interactive>:8:4: error: [GHC-83865] • Couldn't match expected type ‘Ghci1.Planet’ with actual type ‘Planet’ NB: ‘Ghci1.Planet’ is defined at <interactive>:4:1-37 @@ -8,7 +8,7 @@ In the expression: pn Mercury In an equation for ‘it’: it = pn Mercury -<interactive>:9:4: error: +<interactive>:9:4: error: [GHC-83865] • Couldn't match expected type ‘Ghci1.Planet’ with actual type ‘Planet’ NB: ‘Ghci1.Planet’ is defined at <interactive>:4:1-37 @@ -17,7 +17,7 @@ In the expression: pn Venus In an equation for ‘it’: it = pn Venus -<interactive>:10:4: error: +<interactive>:10:4: error: [GHC-83865] • Couldn't match expected type ‘Ghci1.Planet’ with actual type ‘Planet’ NB: ‘Ghci1.Planet’ is defined at <interactive>:4:1-37 @@ -26,7 +26,7 @@ In the expression: pn Mars In an equation for ‘it’: it = pn Mars -<interactive>:12:44: error: +<interactive>:12:44: error: [GHC-83865] • Couldn't match expected type ‘Planet’ with actual type ‘Ghci1.Planet’ NB: ‘Planet’ is defined at <interactive>:7:1-36 diff --git a/testsuite/tests/ghci/scripts/ghci053.stderr b/testsuite/tests/ghci/scripts/ghci053.stderr index d2cd0a6a6839..7cf1a64b88c0 100644 --- a/testsuite/tests/ghci/scripts/ghci053.stderr +++ b/testsuite/tests/ghci/scripts/ghci053.stderr @@ -1,5 +1,5 @@ -<interactive>:9:12: error: +<interactive>:9:12: error: [GHC-83865] • Couldn't match expected type ‘Ghci1.Planet’ with actual type ‘Planet’ NB: ‘Ghci1.Planet’ is defined at <interactive>:4:1-49 @@ -8,7 +8,7 @@ In the expression: mercury == Mercury In an equation for ‘it’: it = mercury == Mercury -<interactive>:11:10: error: +<interactive>:11:10: error: [GHC-83865] • Couldn't match expected type ‘Planet’ with actual type ‘Ghci1.Planet’ NB: ‘Planet’ is defined at <interactive>:7:1-41 diff --git a/testsuite/tests/ghci/scripts/ghci061.stderr b/testsuite/tests/ghci/scripts/ghci061.stderr index 27dac2cb77bc..74f701f0e02b 100644 --- a/testsuite/tests/ghci/scripts/ghci061.stderr +++ b/testsuite/tests/ghci/scripts/ghci061.stderr @@ -1,5 +1,5 @@ -<interactive>:1:2: error: +<interactive>:1:2: error: [GHC-83865] • Couldn't match type: IO String with: Int -> IO String Expected: [String] -> Int -> IO String @@ -8,7 +8,7 @@ In an equation for ‘_compileParsedExpr’: _compileParsedExpr = (two_args) :: [String] -> Int -> IO String -<interactive>:1:2: error: +<interactive>:1:2: error: [GHC-83865] • Couldn't match type: IO String with: Int -> IO String Expected: [String] -> Int -> IO String diff --git a/testsuite/tests/ghci/scripts/ghci063.stderr b/testsuite/tests/ghci/scripts/ghci063.stderr index cc357499a250..2c3fcd8aebbf 100644 --- a/testsuite/tests/ghci/scripts/ghci063.stderr +++ b/testsuite/tests/ghci/scripts/ghci063.stderr @@ -1,2 +1,2 @@ -B.hs:1:1: error: parse error on input ‘***’ +B.hs:1:1: error: [GHC-58481] parse error on input ‘***’ diff --git a/testsuite/tests/ghci/should_fail/T16287.stderr b/testsuite/tests/ghci/should_fail/T16287.stderr index df162c1b1bf0..cadd4e3d4075 100644 --- a/testsuite/tests/ghci/should_fail/T16287.stderr +++ b/testsuite/tests/ghci/should_fail/T16287.stderr @@ -2,7 +2,7 @@ <interactive>:1:1: error: The type synonym ‘F1’ should have 1 argument, but has been given none -<interactive>:1:4: error: +<interactive>:1:4: error: [GHC-91028] • Expected kind ‘forall k. k’, but ‘F2’ has kind ‘k0’ Cannot instantiate unification variable ‘k0’ with a kind involving polytypes: forall k. k @@ -12,7 +12,7 @@ <interactive>:1:1: error: The type synonym ‘F1’ should have 1 argument, but has been given none -<interactive>:1:11: error: +<interactive>:1:11: error: [GHC-91028] • Expected kind ‘forall k. k’, but ‘F2’ has kind ‘k0’ Cannot instantiate unification variable ‘k0’ with a kind involving polytypes: forall k. k diff --git a/testsuite/tests/ghci/should_run/T15007.stderr b/testsuite/tests/ghci/should_run/T15007.stderr index 4a54f43e89c4..70967e4d000e 100644 --- a/testsuite/tests/ghci/should_run/T15007.stderr +++ b/testsuite/tests/ghci/should_run/T15007.stderr @@ -1,5 +1,5 @@ -<interactive>:3:1: error: +<interactive>:3:1: error: [GHC-88464] • Found hole: _ :: p Where: ‘p’ is a rigid type variable bound by the inferred type of it :: p diff --git a/testsuite/tests/ghci/should_run/T15806.stderr b/testsuite/tests/ghci/should_run/T15806.stderr index 2c9bc177fdbf..f96c14f20f09 100644 --- a/testsuite/tests/ghci/should_run/T15806.stderr +++ b/testsuite/tests/ghci/should_run/T15806.stderr @@ -1,4 +1,4 @@ -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-91510] Illegal polymorphic type: forall a. a -> a Suggested fix: Perhaps you intended to use ImpredicativeTypes diff --git a/testsuite/tests/ghci/should_run/T7253.stderr b/testsuite/tests/ghci/should_run/T7253.stderr index 17a3393ac8db..5478ad817f4b 100644 --- a/testsuite/tests/ghci/should_run/T7253.stderr +++ b/testsuite/tests/ghci/should_run/T7253.stderr @@ -1,5 +1,5 @@ -<interactive>:19:1: warning: [-Wunrecognised-pragmas (in -Wdefault)] +<interactive>:19:1: warning: [GHC-42044] [-Wunrecognised-pragmas (in -Wdefault)] Unrecognised pragma: FOO <interactive>:61:1: error: diff --git a/testsuite/tests/haddock/haddock_examples/haddock.Test.stderr b/testsuite/tests/haddock/haddock_examples/haddock.Test.stderr index 22dad49b1acf..3f194aed68ce 100644 --- a/testsuite/tests/haddock/haddock_examples/haddock.Test.stderr +++ b/testsuite/tests/haddock/haddock_examples/haddock.Test.stderr @@ -226,14 +226,14 @@ m = undefined -Test.hs:33:9: warning: [-Wduplicate-exports (in -Wdefault)] +Test.hs:33:9: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘p’ is exported by ‘p’ and ‘R(..)’ -Test.hs:33:12: warning: [-Wduplicate-exports (in -Wdefault)] +Test.hs:33:12: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘q’ is exported by ‘q’ and ‘R(..)’ -Test.hs:33:15: warning: [-Wduplicate-exports (in -Wdefault)] +Test.hs:33:15: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘u’ is exported by ‘u’ and ‘R(..)’ -Test.hs:39:9: warning: [-Wduplicate-exports (in -Wdefault)] +Test.hs:39:9: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘a’ is exported by ‘a’ and ‘C(a, b)’ diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/T17544.stderr b/testsuite/tests/haddock/should_compile_flag_haddock/T17544.stderr index de7d9e6f67c6..82a2640f3465 100644 --- a/testsuite/tests/haddock/should_compile_flag_haddock/T17544.stderr +++ b/testsuite/tests/haddock/should_compile_flag_haddock/T17544.stderr @@ -2252,20 +2252,20 @@ -T17544.hs:19:1: warning: [-Winvalid-haddock] +T17544.hs:19:1: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. -T17544.hs:26:6: warning: [-Winvalid-haddock] +T17544.hs:26:6: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. -T17544.hs:32:5: warning: [-Winvalid-haddock] +T17544.hs:32:5: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. -T17544.hs:38:4: warning: [-Winvalid-haddock] +T17544.hs:38:4: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. -T17544.hs:44:3: warning: [-Winvalid-haddock] +T17544.hs:44:3: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. -T17544.hs:50:2: warning: [-Winvalid-haddock] +T17544.hs:50:2: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/T8944.stderr b/testsuite/tests/haddock/should_compile_flag_haddock/T8944.stderr index 2591afcbced5..383507dd06ff 100644 --- a/testsuite/tests/haddock/should_compile_flag_haddock/T8944.stderr +++ b/testsuite/tests/haddock/should_compile_flag_haddock/T8944.stderr @@ -9,5 +9,5 @@ data F -T8944.hs:4:1: warning: [-Winvalid-haddock] +T8944.hs:4:1: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA022.stderr b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA022.stderr index 010ec9c069d4..24bea15449e3 100644 --- a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA022.stderr +++ b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA022.stderr @@ -9,11 +9,11 @@ main -haddockA022.hs:4:5: warning: [-Winvalid-haddock] +haddockA022.hs:4:5: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. -haddockA022.hs:6:5: warning: [-Winvalid-haddock] +haddockA022.hs:6:5: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. -haddockA022.hs:10:5: warning: [-Winvalid-haddock] +haddockA022.hs:10:5: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA030.stderr b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA030.stderr index cd8c2eaa9fa7..77646a42fb09 100644 --- a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA030.stderr +++ b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA030.stderr @@ -12,6 +12,6 @@ data A -haddockA030.hs:7:5: warning: [-Winvalid-haddock] +haddockA030.hs:7:5: warning: [GHC-05641] [-Winvalid-haddock] Multiple Haddock comments for a single entity are not allowed. The extraneous comment will be ignored. diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA033.stderr b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA033.stderr index e3df0ec16f77..33efbbfb2b49 100644 --- a/testsuite/tests/haddock/should_compile_flag_haddock/haddockA033.stderr +++ b/testsuite/tests/haddock/should_compile_flag_haddock/haddockA033.stderr @@ -10,8 +10,8 @@ f 3 = 6 -haddockA033.hs:5:1: warning: [-Winvalid-haddock] +haddockA033.hs:5:1: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. -haddockA033.hs:7:1: warning: [-Winvalid-haddock] +haddockA033.hs:7:1: warning: [GHC-94458] [-Winvalid-haddock] A Haddock comment cannot appear in this position and will be ignored. diff --git a/testsuite/tests/haddock/should_compile_flag_haddock/haddockExtraDocs.stderr b/testsuite/tests/haddock/should_compile_flag_haddock/haddockExtraDocs.stderr index b1e6cb55657d..e263fe60e59b 100644 --- a/testsuite/tests/haddock/should_compile_flag_haddock/haddockExtraDocs.stderr +++ b/testsuite/tests/haddock/should_compile_flag_haddock/haddockExtraDocs.stderr @@ -1,16 +1,16 @@ -haddockExtraDocs.hs:9:5: warning: [-Winvalid-haddock] +haddockExtraDocs.hs:9:5: warning: [GHC-05641] [-Winvalid-haddock] Multiple Haddock comments for a single entity are not allowed. The extraneous comment will be ignored. -haddockExtraDocs.hs:15:5: warning: [-Winvalid-haddock] +haddockExtraDocs.hs:15:5: warning: [GHC-05641] [-Winvalid-haddock] Multiple Haddock comments for a single entity are not allowed. The extraneous comment will be ignored. -haddockExtraDocs.hs:20:3: warning: [-Winvalid-haddock] +haddockExtraDocs.hs:20:3: warning: [GHC-05641] [-Winvalid-haddock] Multiple Haddock comments for a single entity are not allowed. The extraneous comment will be ignored. -haddockExtraDocs.hs:25:3: warning: [-Winvalid-haddock] +haddockExtraDocs.hs:25:3: warning: [GHC-05641] [-Winvalid-haddock] Multiple Haddock comments for a single entity are not allowed. The extraneous comment will be ignored. diff --git a/testsuite/tests/haddock/should_compile_noflag_haddock/haddockSimplUtilsBug.stderr b/testsuite/tests/haddock/should_compile_noflag_haddock/haddockSimplUtilsBug.stderr index 2d3393b24988..64bfed94168c 100644 --- a/testsuite/tests/haddock/should_compile_noflag_haddock/haddockSimplUtilsBug.stderr +++ b/testsuite/tests/haddock/should_compile_noflag_haddock/haddockSimplUtilsBug.stderr @@ -1,4 +1,4 @@ -haddockSimplUtilsBug.hs:28:7: warning: [-Woverlapping-patterns (in -Wdefault)] +haddockSimplUtilsBug.hs:28:7: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: _ -> ... diff --git a/testsuite/tests/impredicative/T17332.stderr b/testsuite/tests/impredicative/T17332.stderr index 2cff6c433d34..5fb876b8c536 100644 --- a/testsuite/tests/impredicative/T17332.stderr +++ b/testsuite/tests/impredicative/T17332.stderr @@ -1,5 +1,5 @@ -T17332.hs:13:7: error: +T17332.hs:13:7: error: [GHC-05617] • Could not solve: ‘a’ arising from a use of ‘MkDict’ • In the expression: MkDict In an equation for ‘aux’: aux = MkDict diff --git a/testsuite/tests/impredicative/icfp20-fail.stderr b/testsuite/tests/impredicative/icfp20-fail.stderr index ebe54ba6e355..a2fb0cad243c 100644 --- a/testsuite/tests/impredicative/icfp20-fail.stderr +++ b/testsuite/tests/impredicative/icfp20-fail.stderr @@ -1,5 +1,5 @@ -icfp20-fail.hs:20:10: error: +icfp20-fail.hs:20:10: error: [GHC-83865] • Couldn't match type: forall a. a -> a with: b -> b Expected: SId -> b -> b @@ -9,7 +9,7 @@ icfp20-fail.hs:20:10: error: • Relevant bindings include auto'1 :: SId -> b -> b (bound at icfp20-fail.hs:20:1) -icfp20-fail.hs:23:9: error: +icfp20-fail.hs:23:9: error: [GHC-91028] • Couldn't match expected type ‘a’ with actual type ‘SId -> b0 -> b0’ Cannot equate type variable ‘a’ @@ -22,7 +22,7 @@ icfp20-fail.hs:23:9: error: In an equation for ‘a6’: a6 = id auto'2 • Relevant bindings include a6 :: a (bound at icfp20-fail.hs:23:1) -icfp20-fail.hs:26:16: error: +icfp20-fail.hs:26:16: error: [GHC-83865] • Couldn't match type ‘SId’ with ‘b -> b’ Expected: (b -> b) -> b -> b Actual: SId -> b -> b @@ -32,7 +32,7 @@ icfp20-fail.hs:26:16: error: • Relevant bindings include a8 :: (b -> b) -> b -> b (bound at icfp20-fail.hs:26:1) -icfp20-fail.hs:30:12: error: +icfp20-fail.hs:30:12: error: [GHC-83865] • Couldn't match type: forall s. ST s a with: ST s0 a Expected: ST s0 a -> a diff --git a/testsuite/tests/indexed-types/should_compile/GivenCheck.stderr b/testsuite/tests/indexed-types/should_compile/GivenCheck.stderr index 8f50bf5058b2..1adc5ac14073 100644 --- a/testsuite/tests/indexed-types/should_compile/GivenCheck.stderr +++ b/testsuite/tests/indexed-types/should_compile/GivenCheck.stderr @@ -1,4 +1,4 @@ -GivenCheck.hs:11:9: warning: [-Woverlapping-patterns (in -Wdefault)] +GivenCheck.hs:11:9: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g y | False = ... diff --git a/testsuite/tests/indexed-types/should_compile/GivenCheckSwap.stderr b/testsuite/tests/indexed-types/should_compile/GivenCheckSwap.stderr index 2ef17fd6d99f..8b91fb04c411 100644 --- a/testsuite/tests/indexed-types/should_compile/GivenCheckSwap.stderr +++ b/testsuite/tests/indexed-types/should_compile/GivenCheckSwap.stderr @@ -1,4 +1,4 @@ -GivenCheckSwap.hs:11:9: warning: [-Woverlapping-patterns (in -Wdefault)] +GivenCheckSwap.hs:11:9: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g y | False = ... diff --git a/testsuite/tests/indexed-types/should_compile/PushedInAsGivens.stderr b/testsuite/tests/indexed-types/should_compile/PushedInAsGivens.stderr index 1a11c1f996de..2589c03f71c6 100644 --- a/testsuite/tests/indexed-types/should_compile/PushedInAsGivens.stderr +++ b/testsuite/tests/indexed-types/should_compile/PushedInAsGivens.stderr @@ -1,11 +1,11 @@ -PushedInAsGivens.hs:10:31: error: +PushedInAsGivens.hs:10:31: error: [GHC-46956] • Couldn't match expected type ‘a’ with actual type ‘a0’ - because type variable ‘a’ would escape its scope - This (rigid, skolem) type variable is bound by - the type signature for: - foo :: forall a. (F Int ~ [a]) => a -> Int - at PushedInAsGivens.hs:9:13-44 + • because type variable ‘a’ would escape its scope + This (rigid, skolem) type variable is bound by + the type signature for: + foo :: forall a. (F Int ~ [a]) => a -> Int + at PushedInAsGivens.hs:9:13-44 • In the expression: y In the first argument of ‘length’, namely ‘[x, y]’ In the expression: length [x, y] @@ -15,7 +15,7 @@ PushedInAsGivens.hs:10:31: error: y :: a0 (bound at PushedInAsGivens.hs:9:5) bar :: a0 -> (a0, Int) (bound at PushedInAsGivens.hs:9:1) -PushedInAsGivens.hs:11:15: error: +PushedInAsGivens.hs:11:15: error: [GHC-18872] • Couldn't match type: F Int with: [a0] arising from a use of ‘foo’ diff --git a/testsuite/tests/indexed-types/should_compile/Simple14.stderr b/testsuite/tests/indexed-types/should_compile/Simple14.stderr index c9c83b6434e5..50a708440fec 100644 --- a/testsuite/tests/indexed-types/should_compile/Simple14.stderr +++ b/testsuite/tests/indexed-types/should_compile/Simple14.stderr @@ -1,17 +1,12 @@ -Simple14.hs:22:27: error: +Simple14.hs:22:27: error: [GHC-83865] • Couldn't match type ‘z0’ with ‘n’ Expected: EQ_ z0 z0 Actual: EQ_ m n - • ‘z0’ is untouchable - inside the constraints: Maybe m ~ Maybe n - bound by a type expected by the context: - (Maybe m ~ Maybe n) => EQ_ z0 z0 - at Simple14.hs:22:26-41 - ‘n’ is a rigid type variable bound by - the type signature for: - foo :: forall m n. EQ_ (Maybe m) (Maybe n) - at Simple14.hs:21:1-42 + ‘n’ is a rigid type variable bound by + the type signature for: + foo :: forall m n. EQ_ (Maybe m) (Maybe n) + at Simple14.hs:21:1-42 • In the second argument of ‘eqE’, namely ‘(eqI :: EQ_ m n)’ In the expression: x `eqE` (eqI :: EQ_ m n) In the first argument of ‘ntI’, namely diff --git a/testsuite/tests/indexed-types/should_compile/Simple2.stderr b/testsuite/tests/indexed-types/should_compile/Simple2.stderr index 8c1235ffc7dd..70d825dbf681 100644 --- a/testsuite/tests/indexed-types/should_compile/Simple2.stderr +++ b/testsuite/tests/indexed-types/should_compile/Simple2.stderr @@ -1,5 +1,5 @@ -Simple2.hs:21:1: warning: [-Wmissing-methods (in -Wdefault)] +Simple2.hs:21:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘S3n’ • In the instance declaration for ‘C3 Char’ @@ -8,7 +8,7 @@ Simple2.hs:21:10: warning: [-Wmissing-methods (in -Wdefault)] ‘foo3n’ and ‘bar3n’ • In the instance declaration for ‘C3 Char’ -Simple2.hs:29:1: warning: [-Wmissing-methods (in -Wdefault)] +Simple2.hs:29:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘S3n’ • In the instance declaration for ‘C3 Bool’ @@ -17,11 +17,11 @@ Simple2.hs:29:10: warning: [-Wmissing-methods (in -Wdefault)] ‘foo3n’ and ‘bar3n’ • In the instance declaration for ‘C3 Bool’ -Simple2.hs:39:1: warning: [-Wmissing-methods (in -Wdefault)] +Simple2.hs:39:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘S3n’ • In the instance declaration for ‘C3 Float’ -Simple2.hs:39:1: warning: [-Wmissing-methods (in -Wdefault)] +Simple2.hs:39:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘S3’ • In the instance declaration for ‘C3 Float’ diff --git a/testsuite/tests/indexed-types/should_compile/T10806.stderr b/testsuite/tests/indexed-types/should_compile/T10806.stderr index 96284e6c7518..e718787275a0 100644 --- a/testsuite/tests/indexed-types/should_compile/T10806.stderr +++ b/testsuite/tests/indexed-types/should_compile/T10806.stderr @@ -1,5 +1,5 @@ -T10806.hs:11:32: error: +T10806.hs:11:32: error: [GHC-83865] • Couldn't match expected type: Char -> Bool with actual type: IO () • The function ‘print’ is applied to two value arguments, diff --git a/testsuite/tests/indexed-types/should_compile/T12538.stderr b/testsuite/tests/indexed-types/should_compile/T12538.stderr index f4dcb4392be1..fc9fcda2d440 100644 --- a/testsuite/tests/indexed-types/should_compile/T12538.stderr +++ b/testsuite/tests/indexed-types/should_compile/T12538.stderr @@ -1,5 +1,5 @@ -T12538.hs:37:8: error: +T12538.hs:37:8: error: [GHC-25897] • Could not deduce ‘a' ~ Tagged Int a’ from the context: (TagImpl a a', b ~ DF a') bound by the instance declaration at T12538.hs:36:10-46 diff --git a/testsuite/tests/indexed-types/should_compile/T15322a.stderr b/testsuite/tests/indexed-types/should_compile/T15322a.stderr index d6e483f7d3f6..696a23effc28 100644 --- a/testsuite/tests/indexed-types/should_compile/T15322a.stderr +++ b/testsuite/tests/indexed-types/should_compile/T15322a.stderr @@ -1,5 +1,5 @@ -T15322a.hs:12:7: error: +T15322a.hs:12:7: error: [GHC-39999] • Could not deduce ‘KnownNat (n + 1)’ arising from a use of ‘typeRep’ from the context: KnownNat n diff --git a/testsuite/tests/indexed-types/should_compile/T19336.stderr b/testsuite/tests/indexed-types/should_compile/T19336.stderr index f841f796289e..d4ecc690a3a6 100644 --- a/testsuite/tests/indexed-types/should_compile/T19336.stderr +++ b/testsuite/tests/indexed-types/should_compile/T19336.stderr @@ -1,4 +1,4 @@ -T19336.hs:43:1: warning: [-Wmissing-signatures (in -Wall)] +T19336.hs:43:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: oops :: (X a (F a), Poly a) => a -> F a diff --git a/testsuite/tests/indexed-types/should_compile/T3023.stderr b/testsuite/tests/indexed-types/should_compile/T3023.stderr index 95fee97355d4..2a51c7df6426 100644 --- a/testsuite/tests/indexed-types/should_compile/T3023.stderr +++ b/testsuite/tests/indexed-types/should_compile/T3023.stderr @@ -1,3 +1,3 @@ -T3023.hs:18:1: warning: [-Wmissing-signatures (in -Wall)] +T3023.hs:18:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: bar :: Bool -> Bool diff --git a/testsuite/tests/indexed-types/should_compile/T3208b.stderr b/testsuite/tests/indexed-types/should_compile/T3208b.stderr index c9c1be88b6fa..45a3b9b74cd2 100644 --- a/testsuite/tests/indexed-types/should_compile/T3208b.stderr +++ b/testsuite/tests/indexed-types/should_compile/T3208b.stderr @@ -1,5 +1,5 @@ -T3208b.hs:15:10: error: +T3208b.hs:15:10: error: [GHC-05617] • Could not deduce ‘OTerm o0 ~ STerm a’ arising from a use of ‘fce’ from the context: (OTerm a ~ STerm a, OBJECT a, SUBST a) bound by the type signature for: @@ -14,7 +14,7 @@ T3208b.hs:15:10: error: f :: a (bound at T3208b.hs:15:6) fce' :: a -> c (bound at T3208b.hs:15:1) -T3208b.hs:15:15: error: +T3208b.hs:15:15: error: [GHC-05617] • Could not deduce ‘STerm o0 ~ STerm a’ arising from a use of ‘apply’ from the context: (OTerm a ~ STerm a, OBJECT a, SUBST a) diff --git a/testsuite/tests/indexed-types/should_compile/T8889.stderr b/testsuite/tests/indexed-types/should_compile/T8889.stderr index 551ced73a070..4b0e380dd914 100644 --- a/testsuite/tests/indexed-types/should_compile/T8889.stderr +++ b/testsuite/tests/indexed-types/should_compile/T8889.stderr @@ -1,4 +1,4 @@ -T8889.hs:12:1: warning: [-Wmissing-signatures (in -Wall)] +T8889.hs:12:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: f :: (C_fmap f a, C f) => (a -> b) -> f a -> f b diff --git a/testsuite/tests/indexed-types/should_fail/DerivUnsatFam.stderr b/testsuite/tests/indexed-types/should_fail/DerivUnsatFam.stderr index cdd7206f415c..a81eb065b6e4 100644 --- a/testsuite/tests/indexed-types/should_fail/DerivUnsatFam.stderr +++ b/testsuite/tests/indexed-types/should_fail/DerivUnsatFam.stderr @@ -1,5 +1,5 @@ -DerivUnsatFam.hs:8:1: error: +DerivUnsatFam.hs:8:1: error: [GHC-82614] • Can't make a derived instance of ‘Functor T’: No family instance for ‘T’ • In the stand-alone deriving instance for ‘Functor T’ diff --git a/testsuite/tests/indexed-types/should_fail/ExpandTFs.stderr b/testsuite/tests/indexed-types/should_fail/ExpandTFs.stderr index ff2daf734f61..bee1dbc87d7d 100644 --- a/testsuite/tests/indexed-types/should_fail/ExpandTFs.stderr +++ b/testsuite/tests/indexed-types/should_fail/ExpandTFs.stderr @@ -1,5 +1,5 @@ -ExpandTFs.hs:9:52: error: +ExpandTFs.hs:9:52: error: [GHC-83865] • Couldn't match kind ‘()’ with ‘Maybe String’ Expected kind ‘Maybe (Foo Int)’, but ‘'()’ has kind ‘()’ • In the type ‘'()’ diff --git a/testsuite/tests/indexed-types/should_fail/ExplicitForAllFams3.stderr b/testsuite/tests/indexed-types/should_fail/ExplicitForAllFams3.stderr index 92e0b1df6445..91c4ac9372a8 100644 --- a/testsuite/tests/indexed-types/should_fail/ExplicitForAllFams3.stderr +++ b/testsuite/tests/indexed-types/should_fail/ExplicitForAllFams3.stderr @@ -1,17 +1,18 @@ -ExplicitForAllFams3.hs:7:28: error: Not in scope: type variable ‘b’ +ExplicitForAllFams3.hs:7:28: error: [GHC-76037] + Not in scope: type variable ‘b’ -ExplicitForAllFams3.hs:10:33: error: +ExplicitForAllFams3.hs:10:33: error: [GHC-76037] Not in scope: type variable ‘b’ -ExplicitForAllFams3.hs:13:33: error: +ExplicitForAllFams3.hs:13:33: error: [GHC-76037] Not in scope: type variable ‘b’ -ExplicitForAllFams3.hs:16:36: error: +ExplicitForAllFams3.hs:16:36: error: [GHC-76037] Not in scope: type variable ‘b’ -ExplicitForAllFams3.hs:22:34: error: +ExplicitForAllFams3.hs:22:34: error: [GHC-76037] Not in scope: type variable ‘b’ -ExplicitForAllFams3.hs:23:34: error: +ExplicitForAllFams3.hs:23:34: error: [GHC-76037] Not in scope: type variable ‘b’ diff --git a/testsuite/tests/indexed-types/should_fail/ExplicitForAllFams4b.stderr b/testsuite/tests/indexed-types/should_fail/ExplicitForAllFams4b.stderr index c12678c32aba..320592e8bbc6 100644 --- a/testsuite/tests/indexed-types/should_fail/ExplicitForAllFams4b.stderr +++ b/testsuite/tests/indexed-types/should_fail/ExplicitForAllFams4b.stderr @@ -4,7 +4,7 @@ ExplicitForAllFams4b.hs:8:24: error: but not used in the family instance • In the type instance declaration for ‘J’ -ExplicitForAllFams4b.hs:8:27: error: +ExplicitForAllFams4b.hs:8:27: error: [GHC-34447] Conflicting family instance declarations: J [a] = Float -- Defined at ExplicitForAllFams4b.hs:8:27 J _ = Maybe b -- Defined at ExplicitForAllFams4b.hs:9:27 @@ -19,7 +19,7 @@ ExplicitForAllFams4b.hs:12:24: error: but not bound on the LHS of the family instance • In the data instance declaration for ‘K’ -ExplicitForAllFams4b.hs:12:27: error: +ExplicitForAllFams4b.hs:12:27: error: [GHC-34447] Conflicting family instance declarations: K (a, Bool) -- Defined at ExplicitForAllFams4b.hs:12:27 K _ -- Defined at ExplicitForAllFams4b.hs:13:27 @@ -34,7 +34,7 @@ ExplicitForAllFams4b.hs:16:27: error: but not bound on the LHS of the family instance • In the newtype instance declaration for ‘L’ -ExplicitForAllFams4b.hs:16:30: error: +ExplicitForAllFams4b.hs:16:30: error: [GHC-34447] Conflicting family instance declarations: L (a, Bool) -- Defined at ExplicitForAllFams4b.hs:16:30 L _ -- Defined at ExplicitForAllFams4b.hs:17:30 diff --git a/testsuite/tests/indexed-types/should_fail/ExtraTcsUntch.stderr b/testsuite/tests/indexed-types/should_fail/ExtraTcsUntch.stderr index e3ff20d973ec..6d761cc35de4 100644 --- a/testsuite/tests/indexed-types/should_fail/ExtraTcsUntch.stderr +++ b/testsuite/tests/indexed-types/should_fail/ExtraTcsUntch.stderr @@ -1,5 +1,5 @@ -ExtraTcsUntch.hs:23:18: error: +ExtraTcsUntch.hs:23:18: error: [GHC-83865] • Couldn't match expected type: F Int with actual type: [[a0]] • In the first argument of ‘h’, namely ‘[x]’ @@ -9,7 +9,7 @@ ExtraTcsUntch.hs:23:18: error: x :: [a0] (bound at ExtraTcsUntch.hs:21:3) f :: [a0] -> ((), ((), ())) (bound at ExtraTcsUntch.hs:21:1) -ExtraTcsUntch.hs:25:53: error: +ExtraTcsUntch.hs:25:53: error: [GHC-46956] • Couldn't match type ‘a0’ with ‘a’ arising from a functional dependency between: constraint ‘C [a0] [a]’ arising from a use of ‘op’ diff --git a/testsuite/tests/indexed-types/should_fail/GADTwrong1.stderr b/testsuite/tests/indexed-types/should_fail/GADTwrong1.stderr index 46d8c43ddc45..db54d54e25c2 100644 --- a/testsuite/tests/indexed-types/should_fail/GADTwrong1.stderr +++ b/testsuite/tests/indexed-types/should_fail/GADTwrong1.stderr @@ -1,5 +1,5 @@ -GADTwrong1.hs:12:21: error: +GADTwrong1.hs:12:21: error: [GHC-25897] • Couldn't match expected type ‘b’ with actual type ‘c’ ‘c’ is a rigid type variable bound by a pattern with constructor: T :: forall c. c -> T (Const c), diff --git a/testsuite/tests/indexed-types/should_fail/NoGood.stderr b/testsuite/tests/indexed-types/should_fail/NoGood.stderr index c4adb9ae9d32..79a4c81b8ef6 100644 --- a/testsuite/tests/indexed-types/should_fail/NoGood.stderr +++ b/testsuite/tests/indexed-types/should_fail/NoGood.stderr @@ -1,5 +1,5 @@ -NoGood.hs:4:15: +NoGood.hs:4:15: error: [GHC-34447] Conflicting family instance declarations: F a a = Int -- Defined at NoGood.hs:4:15 F [a] a = Bool -- Defined at NoGood.hs:5:15 diff --git a/testsuite/tests/indexed-types/should_fail/NoMatchErr.stderr b/testsuite/tests/indexed-types/should_fail/NoMatchErr.stderr index 1f155bbea00b..fe9520345fb0 100644 --- a/testsuite/tests/indexed-types/should_fail/NoMatchErr.stderr +++ b/testsuite/tests/indexed-types/should_fail/NoMatchErr.stderr @@ -1,11 +1,11 @@ -NoMatchErr.hs:19:7: error: +NoMatchErr.hs:19:7: error: [GHC-83865] • Couldn't match type: Memo d0 with: Memo d Expected: Memo d a -> Memo d a Actual: Memo d0 a -> Memo d0 a - NB: ‘Memo’ is a non-injective type family - The type variable ‘d0’ is ambiguous + NB: ‘Memo’ is a non-injective type family + The type variable ‘d0’ is ambiguous • In the ambiguity check for ‘f’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes In the type signature: f :: (Fun d) => Memo d a -> Memo d a diff --git a/testsuite/tests/indexed-types/should_fail/Over.stderr b/testsuite/tests/indexed-types/should_fail/Over.stderr index c53dcb9e06c0..e8ec20e772a3 100644 --- a/testsuite/tests/indexed-types/should_fail/Over.stderr +++ b/testsuite/tests/indexed-types/should_fail/Over.stderr @@ -1,10 +1,10 @@ -OverD.hs:1:1: error: +OverD.hs:1:1: error: [GHC-34447] Conflicting family instance declarations: OverA.D [Int] [a] = Int -- Defined in module OverB OverA.D [a] [Int] = Char -- Defined in module OverC -OverD.hs:1:1: error: +OverD.hs:1:1: error: [GHC-34447] Conflicting family instance declarations: C [Int] [a] -- Defined in module OverB C [a] [Int] -- Defined in module OverC diff --git a/testsuite/tests/indexed-types/should_fail/OverDirectThisMod.stderr b/testsuite/tests/indexed-types/should_fail/OverDirectThisMod.stderr index e58159ac6030..46b73dad6f6b 100644 --- a/testsuite/tests/indexed-types/should_fail/OverDirectThisMod.stderr +++ b/testsuite/tests/indexed-types/should_fail/OverDirectThisMod.stderr @@ -1,10 +1,10 @@ -OverDirectThisModC.hs:1:1: error: +OverDirectThisModC.hs:1:1: error: [GHC-34447] Conflicting family instance declarations: D [Int] [a] = Int -- Defined in module OverDirectThisModB D [a] [Int] = Char -- Defined at OverDirectThisModC.hs:12:15 -OverDirectThisModC.hs:1:1: error: +OverDirectThisModC.hs:1:1: error: [GHC-34447] Conflicting family instance declarations: C [Int] [a] -- Defined in module OverDirectThisModB C [a] [Int] -- Defined at OverDirectThisModC.hs:10:15 diff --git a/testsuite/tests/indexed-types/should_fail/OverIndirectThisMod.stderr b/testsuite/tests/indexed-types/should_fail/OverIndirectThisMod.stderr index c413a7903834..13bb275c795e 100644 --- a/testsuite/tests/indexed-types/should_fail/OverIndirectThisMod.stderr +++ b/testsuite/tests/indexed-types/should_fail/OverIndirectThisMod.stderr @@ -1,10 +1,10 @@ -OverIndirectThisModD.hs:1:1: error: +OverIndirectThisModD.hs:1:1: error: [GHC-34447] Conflicting family instance declarations: D [Int] [a] = Int -- Defined in module OverIndirectThisModB D [a] [Int] = Char -- Defined at OverIndirectThisModD.hs:13:15 -OverIndirectThisModD.hs:1:1: error: +OverIndirectThisModD.hs:1:1: error: [GHC-34447] Conflicting family instance declarations: C [Int] [a] -- Defined in module OverIndirectThisModB C [a] [Int] -- Defined at OverIndirectThisModD.hs:11:15 diff --git a/testsuite/tests/indexed-types/should_fail/Overlap10.stderr b/testsuite/tests/indexed-types/should_fail/Overlap10.stderr index b6ad5772fe82..bc20a805b826 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap10.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap10.stderr @@ -1,8 +1,8 @@ -Overlap10.hs:10:7: - Couldn't match expected type ‘F a Bool’ with actual type ‘Bool’ - In the expression: False - In an equation for ‘g’: g x = False - Relevant bindings include - x :: a (bound at Overlap10.hs:10:3) - g :: a -> F a Bool (bound at Overlap10.hs:10:1) +Overlap10.hs:10:7: error: [GHC-83865] + • Couldn't match expected type ‘F a Bool’ with actual type ‘Bool’ + • In the expression: False + In an equation for ‘g’: g x = False + • Relevant bindings include + x :: a (bound at Overlap10.hs:10:3) + g :: a -> F a Bool (bound at Overlap10.hs:10:1) diff --git a/testsuite/tests/indexed-types/should_fail/Overlap11.stderr b/testsuite/tests/indexed-types/should_fail/Overlap11.stderr index f07c35b1b89a..240f4f8f44e9 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap11.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap11.stderr @@ -1,5 +1,5 @@ -Overlap11.hs:10:8: error: +Overlap11.hs:10:8: error: [GHC-83865] • Couldn't match expected type ‘F a Int’ with actual type ‘Int’ • In the expression: 5 :: Int In an equation for ‘g’: g x = (5 :: Int) diff --git a/testsuite/tests/indexed-types/should_fail/Overlap15.stderr b/testsuite/tests/indexed-types/should_fail/Overlap15.stderr index b06751c575e0..b9a2343411a0 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap15.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap15.stderr @@ -1,5 +1,5 @@ -Overlap15.hs:16:9: error: +Overlap15.hs:16:9: error: [GHC-83865] • Couldn't match expected type ‘F b [b] Bool’ with actual type ‘Bool’ • In the expression: False diff --git a/testsuite/tests/indexed-types/should_fail/Overlap6.stderr b/testsuite/tests/indexed-types/should_fail/Overlap6.stderr index b1aaea25b15c..cf7d1d05911d 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap6.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap6.stderr @@ -1,5 +1,5 @@ -Overlap6.hs:15:7: error: +Overlap6.hs:15:7: error: [GHC-25897] • Couldn't match type ‘x’ with ‘And x 'True’ Expected: Proxy (And x 'True) Actual: Proxy x diff --git a/testsuite/tests/indexed-types/should_fail/Overlap9.stderr b/testsuite/tests/indexed-types/should_fail/Overlap9.stderr index 11b73c52f9ba..ca911b95331c 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap9.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap9.stderr @@ -1,8 +1,8 @@ -Overlap9.hs:10:7: - Couldn't match expected type ‘F a’ with actual type ‘Int’ - In the expression: length (show x) - In an equation for ‘g’: g x = length (show x) - Relevant bindings include - x :: a (bound at Overlap9.hs:10:3) - g :: a -> F a (bound at Overlap9.hs:10:1) +Overlap9.hs:10:7: error: [GHC-83865] + • Couldn't match expected type ‘F a’ with actual type ‘Int’ + • In the expression: length (show x) + In an equation for ‘g’: g x = length (show x) + • Relevant bindings include + x :: a (bound at Overlap9.hs:10:3) + g :: a -> F a (bound at Overlap9.hs:10:1) diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail11a.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail11a.stderr index 41ed865dfb65..026fecb35cab 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail11a.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail11a.stderr @@ -1,10 +1,10 @@ -SimpleFail11a.hs:6:15: error: +SimpleFail11a.hs:6:15: error: [GHC-34447] Conflicting family instance declarations: C9 Int Int -- Defined at SimpleFail11a.hs:6:15 C9 Int Int -- Defined at SimpleFail11a.hs:8:15 -SimpleFail11a.hs:11:15: error: +SimpleFail11a.hs:11:15: error: [GHC-34447] Conflicting family instance declarations: D9 Int Int = Char -- Defined at SimpleFail11a.hs:11:15 D9 Int Int = Int -- Defined at SimpleFail11a.hs:13:15 diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail11b.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail11b.stderr index bd05039dc8de..94ad291a19d8 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail11b.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail11b.stderr @@ -1,10 +1,10 @@ -SimpleFail11b.hs:7:15: error: +SimpleFail11b.hs:7:15: error: [GHC-34447] Conflicting family instance declarations: C9 [a] Int -- Defined at SimpleFail11b.hs:7:15 C9 [a] Int -- Defined at SimpleFail11b.hs:9:15 -SimpleFail11b.hs:13:15: error: +SimpleFail11b.hs:13:15: error: [GHC-34447] Conflicting family instance declarations: D9 [a] Int = [a] -- Defined at SimpleFail11b.hs:13:15 D9 [a] Int = Maybe a -- Defined at SimpleFail11b.hs:15:15 diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail11c.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail11c.stderr index cbb457933bfa..8655beddd565 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail11c.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail11c.stderr @@ -1,10 +1,10 @@ -SimpleFail11c.hs:7:15: error: +SimpleFail11c.hs:7:15: error: [GHC-34447] Conflicting family instance declarations: C9 [a] Int -- Defined at SimpleFail11c.hs:7:15 C9 [Int] Int -- Defined at SimpleFail11c.hs:9:15 -SimpleFail11c.hs:13:15: error: +SimpleFail11c.hs:13:15: error: [GHC-34447] Conflicting family instance declarations: D9 [a] Int = [a] -- Defined at SimpleFail11c.hs:13:15 D9 [Int] Int = [Bool] -- Defined at SimpleFail11c.hs:15:15 diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail11d.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail11d.stderr index 48d3c33fef55..13c1af8aa248 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail11d.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail11d.stderr @@ -1,5 +1,5 @@ -SimpleFail11d.hs:8:15: error: +SimpleFail11d.hs:8:15: error: [GHC-34447] Conflicting family instance declarations: C9 [Int] [a] -- Defined at SimpleFail11d.hs:8:15 C9 [a] [Int] -- Defined at SimpleFail11d.hs:10:15 diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr index ca6c11b6a319..8640400f87f5 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr @@ -1,4 +1,4 @@ -SimpleFail12.hs:8:15: error: +SimpleFail12.hs:8:15: error: [GHC-91510] • Illegal polymorphic type: forall a. [a] • In the type instance declaration for ‘C’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail14.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail14.stderr index f18894df8515..3f5d7ec570a6 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail14.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail14.stderr @@ -1,5 +1,5 @@ -SimpleFail14.hs:5:15: error: +SimpleFail14.hs:5:15: error: [GHC-83865] • Expected a type, but ‘a ~ a’ has kind ‘Constraint’ • In the type ‘(a ~ a)’ In the definition of data constructor ‘T’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr index 133ab2c2886c..4ae7d99ede83 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr @@ -1,5 +1,5 @@ -SimpleFail15.hs:6:8: error: +SimpleFail15.hs:6:8: error: [GHC-91510] • Illegal qualified type: (a ~ b) => t • In the type signature: foo :: (a, b) -> (a ~ b => t) -> (a, b) Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail16.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail16.stderr index d33d2f9535e6..bc59e8dd593f 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail16.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail16.stderr @@ -1,5 +1,5 @@ -SimpleFail16.hs:10:12: error: +SimpleFail16.hs:10:12: error: [GHC-83865] • Couldn't match expected type: p0 a0 with actual type: F () • In the first argument of ‘foo’, namely ‘(undefined :: F ())’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail1a.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail1a.stderr index 8637eaa8920a..e98233e7e916 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail1a.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail1a.stderr @@ -1,5 +1,5 @@ -SimpleFail1a.hs:4:1: error: +SimpleFail1a.hs:4:1: error: [GHC-83865] • Expecting one more argument to ‘T1 Int’ Expected a type, but ‘T1 Int’ has kind ‘* -> *’ • In the data instance declaration for ‘T1’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail1b.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail1b.stderr index 32303ecccbea..f156c46987ba 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail1b.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail1b.stderr @@ -1,4 +1,4 @@ -SimpleFail1b.hs:4:1: error: +SimpleFail1b.hs:4:1: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘T1 Int Bool’ has kind ‘*’ • In the data instance declaration for ‘T1’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail2a.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail2a.stderr index ebe0e53c1e6c..4a5fa6daf017 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail2a.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail2a.stderr @@ -6,7 +6,7 @@ SimpleFail2a.hs:11:3: error: • In the data instance declaration for ‘Sd’ In the instance declaration for ‘C Int’ -SimpleFail2a.hs:11:11: error: +SimpleFail2a.hs:11:11: error: [GHC-34447] Conflicting family instance declarations: Sd a -- Defined at SimpleFail2a.hs:11:11 Sd Int -- Defined at SimpleFail2a.hs:12:11 diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail2b.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail2b.stderr index 88fdfe127c57..44a0c95bd584 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail2b.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail2b.stderr @@ -1,5 +1,5 @@ -SimpleFail2b.hs:9:11: error: +SimpleFail2b.hs:9:11: error: [GHC-34447] Conflicting family instance declarations: Sd Int -- Defined at SimpleFail2b.hs:9:11 Sd Int -- Defined at SimpleFail2b.hs:10:11 diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr index c437d955015d..526e9acb997e 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr @@ -1,5 +1,5 @@ -SimpleFail5a.hs:31:11: error: +SimpleFail5a.hs:31:11: error: [GHC-25897] • Couldn't match type ‘a’ with ‘Int’ Expected: S3 a Actual: S3 Int diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail5b.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail5b.stderr index 7398ef0fe814..a01cf3538da5 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail5b.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail5b.stderr @@ -1,5 +1,5 @@ -SimpleFail5b.hs:31:12: error: +SimpleFail5b.hs:31:12: error: [GHC-83865] • Couldn't match type ‘Char’ with ‘Int’ Expected: S3 Int Actual: S3 Char diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail8.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail8.stderr index ea54a4a862fb..09e913e2d324 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail8.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail8.stderr @@ -1,6 +1,6 @@ -SimpleFail8.hs:9:8: +SimpleFail8.hs:9:8: error: [GHC-54721] ‘Map’ is not a (visible) associated type of class ‘C6’ -SimpleFail8.hs:10:8: +SimpleFail8.hs:10:8: error: [GHC-54721] ‘S3’ is not a (visible) associated type of class ‘C6’ diff --git a/testsuite/tests/indexed-types/should_fail/T10141.stderr b/testsuite/tests/indexed-types/should_fail/T10141.stderr index 79c964c71d1c..69212d5a1fc1 100644 --- a/testsuite/tests/indexed-types/should_fail/T10141.stderr +++ b/testsuite/tests/indexed-types/should_fail/T10141.stderr @@ -1,5 +1,5 @@ -T10141.hs:6:6: error: - Expected kind ‘k’, but ‘Int’ has kind ‘*’ - In the first argument of ‘G’, namely ‘Int’ - In the type family declaration for ‘G’ +T10141.hs:6:6: error: [GHC-25897] + • Expected kind ‘k’, but ‘Int’ has kind ‘*’ + • In the first argument of ‘G’, namely ‘Int’ + In the type family declaration for ‘G’ diff --git a/testsuite/tests/indexed-types/should_fail/T10899.stderr b/testsuite/tests/indexed-types/should_fail/T10899.stderr index ef0bd1b3f435..ae2d1756c819 100644 --- a/testsuite/tests/indexed-types/should_fail/T10899.stderr +++ b/testsuite/tests/indexed-types/should_fail/T10899.stderr @@ -1,5 +1,5 @@ -T10899.hs:8:3: error: +T10899.hs:8:3: error: [GHC-91510] • Illegal polymorphic type: forall (m :: * -> *). m a • In the default type instance declaration for ‘F’ In the class declaration for ‘C’ diff --git a/testsuite/tests/indexed-types/should_fail/T12522a.stderr b/testsuite/tests/indexed-types/should_fail/T12522a.stderr index cfde80b0b46c..5a10c33bb703 100644 --- a/testsuite/tests/indexed-types/should_fail/T12522a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T12522a.stderr @@ -1,5 +1,5 @@ -T12522a.hs:23:26: error: +T12522a.hs:23:26: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘show’ prevents the constraint ‘(Show a0)’ from being solved. Relevant bindings include diff --git a/testsuite/tests/indexed-types/should_fail/T12867.stderr b/testsuite/tests/indexed-types/should_fail/T12867.stderr index 501da2090784..892f9c9d7662 100644 --- a/testsuite/tests/indexed-types/should_fail/T12867.stderr +++ b/testsuite/tests/indexed-types/should_fail/T12867.stderr @@ -1,5 +1,5 @@ -T12867.hs:8:21: error: +T12867.hs:8:21: error: [GHC-83865] • Expected kind ‘k0 -> *’, but ‘TestM’ has kind ‘*’ • In the first argument of ‘Eq’, namely ‘(TestM a)’ In the type ‘(Eq (TestM a))’ diff --git a/testsuite/tests/indexed-types/should_fail/T13092/T13092.stderr b/testsuite/tests/indexed-types/should_fail/T13092/T13092.stderr index c13bde5ad84a..88eab9cbbe7f 100644 --- a/testsuite/tests/indexed-types/should_fail/T13092/T13092.stderr +++ b/testsuite/tests/indexed-types/should_fail/T13092/T13092.stderr @@ -1,5 +1,5 @@ -Main.hs:10:15: error: +Main.hs:10:15: error: [GHC-34447] Conflicting family instance declarations: A (a, Y) = Bool -- Defined at Main.hs:10:15 A (B.X, b) = () -- Defined in module B diff --git a/testsuite/tests/indexed-types/should_fail/T13092c/T13092c.stderr b/testsuite/tests/indexed-types/should_fail/T13092c/T13092c.stderr index ab714e3ecc1d..3cdf86f26ce3 100644 --- a/testsuite/tests/indexed-types/should_fail/T13092c/T13092c.stderr +++ b/testsuite/tests/indexed-types/should_fail/T13092c/T13092c.stderr @@ -1,5 +1,5 @@ -T13092c_4.hs:7:15: error: +T13092c_4.hs:7:15: error: [GHC-34447] Conflicting family instance declarations: F (a, Char) = String -- Defined at T13092c_4.hs:7:15 F (T13092c_2.X, b) = Bool -- Defined in module T13092c_2 diff --git a/testsuite/tests/indexed-types/should_fail/T13271.stderr b/testsuite/tests/indexed-types/should_fail/T13271.stderr index 5899110be490..4a8e7ebd2031 100644 --- a/testsuite/tests/indexed-types/should_fail/T13271.stderr +++ b/testsuite/tests/indexed-types/should_fail/T13271.stderr @@ -1,5 +1,5 @@ -T13271.hs:12:3: error: +T13271.hs:12:3: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: X 1 = T1 -- Defined at T13271.hs:12:3 @@ -7,7 +7,7 @@ T13271.hs:12:3: error: • In the equations for closed type family ‘X’ In the type family declaration for ‘X’ -T13271.hs:13:3: error: +T13271.hs:13:3: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: X 2 = T2 -- Defined at T13271.hs:13:3 diff --git a/testsuite/tests/indexed-types/should_fail/T13674.stderr b/testsuite/tests/indexed-types/should_fail/T13674.stderr index 55798b1189d0..9ab9fc795f0e 100644 --- a/testsuite/tests/indexed-types/should_fail/T13674.stderr +++ b/testsuite/tests/indexed-types/should_fail/T13674.stderr @@ -1,5 +1,5 @@ -T13674.hs:56:21: error: +T13674.hs:56:21: error: [GHC-25897] • Couldn't match type ‘m’ with ‘Lcm m m’ Expected: GF m Actual: GF (Lcm m m) @@ -18,7 +18,7 @@ T13674.hs:56:21: error: x :: GF m (bound at T13674.hs:56:6) bar :: GF m -> GF m -> GF m (bound at T13674.hs:56:1) -T13674.hs:56:31: error: +T13674.hs:56:31: error: [GHC-25897] • Couldn't match type ‘m’ with ‘Lcm m m’ Expected: GF m Actual: GF (Lcm m m) diff --git a/testsuite/tests/indexed-types/should_fail/T13784.stderr b/testsuite/tests/indexed-types/should_fail/T13784.stderr index 04156ccdc98b..d868bcfdc355 100644 --- a/testsuite/tests/indexed-types/should_fail/T13784.stderr +++ b/testsuite/tests/indexed-types/should_fail/T13784.stderr @@ -1,5 +1,5 @@ -T13784.hs:29:28: error: +T13784.hs:29:28: error: [GHC-25897] • Couldn't match type ‘as’ with ‘a : Divide a as’ Expected: Product (Divide a (a : as)) Actual: Product as1 @@ -13,7 +13,7 @@ T13784.hs:29:28: error: divide :: Product (a : as) -> (a, Product (Divide a (a : as))) (bound at T13784.hs:29:5) -T13784.hs:33:24: error: +T13784.hs:33:24: error: [GHC-83865] • Couldn't match type: Product (a : as0) with: (b, Product (a : Divide b as)) Expected: (b, Product (Divide b (a : as))) @@ -25,7 +25,7 @@ T13784.hs:33:24: error: divide :: Product (a : as) -> (b, Product (Divide b (a : as))) (bound at T13784.hs:33:5) -T13784.hs:33:29: error: +T13784.hs:33:29: error: [GHC-83865] • Couldn't match type: (a0, Product (Divide a0 as)) with: Product as0 Expected: Product as0 diff --git a/testsuite/tests/indexed-types/should_fail/T13877.stderr b/testsuite/tests/indexed-types/should_fail/T13877.stderr index fdbc89ab1ec6..d0c99376d202 100644 --- a/testsuite/tests/indexed-types/should_fail/T13877.stderr +++ b/testsuite/tests/indexed-types/should_fail/T13877.stderr @@ -1,5 +1,5 @@ -T13877.hs:65:41: error: +T13877.hs:65:41: error: [GHC-83865] • Expecting one more argument to ‘p’ Expected kind ‘(-?>) [a] (*) (':->)’, but ‘p’ has kind ‘[a] ~> *’ • In the type ‘p’ diff --git a/testsuite/tests/indexed-types/should_fail/T14175.stderr b/testsuite/tests/indexed-types/should_fail/T14175.stderr index e177036e9e9e..4eb6312a341f 100644 --- a/testsuite/tests/indexed-types/should_fail/T14175.stderr +++ b/testsuite/tests/indexed-types/should_fail/T14175.stderr @@ -1,5 +1,5 @@ -T14175.hs:7:42: error: +T14175.hs:7:42: error: [GHC-83865] • Expecting one more argument to ‘k’ Expected a type, but ‘k’ has kind ‘j -> *’ • In the kind ‘k’ diff --git a/testsuite/tests/indexed-types/should_fail/T14179.stderr b/testsuite/tests/indexed-types/should_fail/T14179.stderr index bb956c7b51ef..f8eb9aaf9394 100644 --- a/testsuite/tests/indexed-types/should_fail/T14179.stderr +++ b/testsuite/tests/indexed-types/should_fail/T14179.stderr @@ -1,15 +1,15 @@ -T14179.hs:7:15: error: +T14179.hs:7:15: error: [GHC-34447] Conflicting family instance declarations: Foo1 a -- Defined at T14179.hs:7:15 Foo1 a -- Defined at T14179.hs:8:15 -T14179.hs:11:15: error: +T14179.hs:11:15: error: [GHC-34447] Conflicting family instance declarations: Foo2 -- Defined at T14179.hs:11:15 Foo2 -- Defined at T14179.hs:12:15 -T14179.hs:15:15: error: +T14179.hs:15:15: error: [GHC-34447] Conflicting family instance declarations: Foo3 [a] -- Defined at T14179.hs:15:15 Foo3 [a] -- Defined at T14179.hs:18:15 diff --git a/testsuite/tests/indexed-types/should_fail/T14246.stderr b/testsuite/tests/indexed-types/should_fail/T14246.stderr index 292c49fb2583..3374308a8f0e 100644 --- a/testsuite/tests/indexed-types/should_fail/T14246.stderr +++ b/testsuite/tests/indexed-types/should_fail/T14246.stderr @@ -1,10 +1,10 @@ -T14246.hs:19:5: error: +T14246.hs:19:5: error: [GHC-91510] • Illegal polymorphic type: forall (t :: v). f t • In the equations for closed type family ‘KLN’ In the type family declaration for ‘KLN’ -T14246.hs:23:27: error: +T14246.hs:23:27: error: [GHC-83865] • Couldn't match kind ‘*’ with ‘L’ Expected kind ‘Vect (KLN f) L’, but ‘Cons (Label (t :: v)) l’ has kind ‘Vect ('S (KLN (f t))) (*)’ @@ -12,7 +12,7 @@ T14246.hs:23:27: error: ‘(Cons (Label (t :: v)) l)’ In the type family declaration for ‘Reveal’ -T14246.hs:23:67: error: +T14246.hs:23:67: error: [GHC-83865] • Couldn't match kind ‘*’ with ‘L’ Expected kind ‘Vect (KLN (f t)) L’, but ‘l’ has kind ‘Vect (KLN (f t)) (*)’ @@ -20,7 +20,7 @@ T14246.hs:23:67: error: In the type ‘Reveal (f t) l’ In the type family declaration for ‘Reveal’ -T14246.hs:24:24: error: +T14246.hs:24:24: error: [GHC-83865] • Couldn't match kind ‘'Z’ with ‘KLN a’ Expected kind ‘Vect (KLN a) L’, but ‘Nil’ has kind ‘Vect 'Z L’ • In the second argument of ‘Reveal’, namely ‘Nil’ diff --git a/testsuite/tests/indexed-types/should_fail/T14369.stderr b/testsuite/tests/indexed-types/should_fail/T14369.stderr index 9ab572afcd12..8dcf45bd3060 100644 --- a/testsuite/tests/indexed-types/should_fail/T14369.stderr +++ b/testsuite/tests/indexed-types/should_fail/T14369.stderr @@ -1,5 +1,5 @@ -T14369.hs:29:5: error: +T14369.hs:29:5: error: [GHC-25897] • Couldn't match type ‘a1’ with ‘a2’ Expected: Sing x -> Maybe (Demote a2) Actual: Sing x -> Demote (Maybe a1) diff --git a/testsuite/tests/indexed-types/should_fail/T14904.stderr b/testsuite/tests/indexed-types/should_fail/T14904.stderr index 8a7142d350f1..13ca9f9ee0fa 100644 --- a/testsuite/tests/indexed-types/should_fail/T14904.stderr +++ b/testsuite/tests/indexed-types/should_fail/T14904.stderr @@ -1,5 +1,5 @@ -T14904.hs:8:8: error: +T14904.hs:8:8: error: [GHC-91028] • Expected kind ‘forall (a :: k1). g a’, but ‘f’ has kind ‘k0’ Cannot instantiate unification variable ‘k0’ with a kind involving polytypes: forall (a :: k1). g a diff --git a/testsuite/tests/indexed-types/should_fail/T15740.stderr b/testsuite/tests/indexed-types/should_fail/T15740.stderr index 9d7cdcfee7b4..8549b6ac9e12 100644 --- a/testsuite/tests/indexed-types/should_fail/T15740.stderr +++ b/testsuite/tests/indexed-types/should_fail/T15740.stderr @@ -1,11 +1,11 @@ -T15740.hs:11:20: error: +T15740.hs:11:20: error: [GHC-83865] • Expected kind ‘forall k. k -> *’, but ‘SBool’ has kind ‘Bool -> *’ • In the type ‘SBool’ In the type instance declaration for ‘F2’ -T15740.hs:12:20: error: +T15740.hs:12:20: error: [GHC-83865] • Expected kind ‘forall k. k -> *’, but ‘SNat’ has kind ‘Nat -> *’ • In the type ‘SNat’ In the type instance declaration for ‘F2’ diff --git a/testsuite/tests/indexed-types/should_fail/T15870.stderr b/testsuite/tests/indexed-types/should_fail/T15870.stderr index 54a2ea87e95d..ced646a27608 100644 --- a/testsuite/tests/indexed-types/should_fail/T15870.stderr +++ b/testsuite/tests/indexed-types/should_fail/T15870.stderr @@ -1,5 +1,5 @@ -T15870.hs:32:34: error: +T15870.hs:32:34: error: [GHC-25897] • Couldn't match kind ‘k’ with ‘*’ Expected kind ‘Optic @{k} a’, but ‘g2’ has kind ‘Optic @{*} b’ ‘k’ is a rigid type variable bound by diff --git a/testsuite/tests/indexed-types/should_fail/T16110_Fail1.stderr b/testsuite/tests/indexed-types/should_fail/T16110_Fail1.stderr index 2381655876aa..a20bada9207c 100644 --- a/testsuite/tests/indexed-types/should_fail/T16110_Fail1.stderr +++ b/testsuite/tests/indexed-types/should_fail/T16110_Fail1.stderr @@ -1,11 +1,15 @@ -T16110_Fail1.hs:10:19: error: Not in scope: type variable ‘a’ +T16110_Fail1.hs:10:19: error: [GHC-76037] + Not in scope: type variable ‘a’ -T16110_Fail1.hs:10:21: error: Not in scope: type variable ‘b’ +T16110_Fail1.hs:10:21: error: [GHC-76037] + Not in scope: type variable ‘b’ -T16110_Fail1.hs:10:32: error: Not in scope: type variable ‘a’ +T16110_Fail1.hs:10:32: error: [GHC-76037] + Not in scope: type variable ‘a’ -T16110_Fail1.hs:10:34: error: Not in scope: type variable ‘b’ +T16110_Fail1.hs:10:34: error: [GHC-76037] + Not in scope: type variable ‘b’ T16110_Fail1.hs:13:15: error: Conflicting definitions for ‘dup’ @@ -13,6 +17,8 @@ T16110_Fail1.hs:13:15: error: T16110_Fail1.hs:13:19-21 T16110_Fail1.hs:13:23-25 -T16110_Fail1.hs:16:21: error: Not in scope: type variable ‘a’ +T16110_Fail1.hs:16:21: error: [GHC-76037] + Not in scope: type variable ‘a’ -T16110_Fail1.hs:19:21: error: Not in scope: type variable ‘k’ +T16110_Fail1.hs:19:21: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/indexed-types/should_fail/T16356_Fail3.stderr b/testsuite/tests/indexed-types/should_fail/T16356_Fail3.stderr index 7dcc5defea37..876a380e1bf7 100644 --- a/testsuite/tests/indexed-types/should_fail/T16356_Fail3.stderr +++ b/testsuite/tests/indexed-types/should_fail/T16356_Fail3.stderr @@ -1,5 +1,5 @@ -T16356_Fail3.hs:10:3: error: +T16356_Fail3.hs:10:3: error: [GHC-20967] • Cannot apply function of kind ‘* -> *’ to visible kind argument ‘Type’ • In the default type instance declaration for ‘T1’ diff --git a/testsuite/tests/indexed-types/should_fail/T1897b.stderr b/testsuite/tests/indexed-types/should_fail/T1897b.stderr index 9048b59770e3..ef291b87ce2e 100644 --- a/testsuite/tests/indexed-types/should_fail/T1897b.stderr +++ b/testsuite/tests/indexed-types/should_fail/T1897b.stderr @@ -1,11 +1,11 @@ -T1897b.hs:16:1: error: +T1897b.hs:16:1: error: [GHC-83865] • Couldn't match type: Depend a0 with: Depend a Expected: t (Depend a) -> Bool Actual: t (Depend a0) -> Bool - NB: ‘Depend’ is a non-injective type family - The type variable ‘a0’ is ambiguous + NB: ‘Depend’ is a non-injective type family + The type variable ‘a0’ is ambiguous • In the ambiguity check for the inferred type for ‘isValid’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the inferred type diff --git a/testsuite/tests/indexed-types/should_fail/T1900.stderr b/testsuite/tests/indexed-types/should_fail/T1900.stderr index bb4a160d49e7..8b245af562d9 100644 --- a/testsuite/tests/indexed-types/should_fail/T1900.stderr +++ b/testsuite/tests/indexed-types/should_fail/T1900.stderr @@ -1,11 +1,11 @@ -T1900.hs:8:3: error: +T1900.hs:8:3: error: [GHC-83865] • Couldn't match type: Depend s0 with: Depend s Expected: Depend s -> Depend s Actual: Depend s0 -> Depend s0 - NB: ‘Depend’ is a non-injective type family - The type variable ‘s0’ is ambiguous + NB: ‘Depend’ is a non-injective type family + The type variable ‘s0’ is ambiguous • In the ambiguity check for ‘trans’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the class method: diff --git a/testsuite/tests/indexed-types/should_fail/T20465.stderr b/testsuite/tests/indexed-types/should_fail/T20465.stderr index 90e90c9f5747..00762b2027a8 100644 --- a/testsuite/tests/indexed-types/should_fail/T20465.stderr +++ b/testsuite/tests/indexed-types/should_fail/T20465.stderr @@ -1,5 +1,5 @@ -T20465.hs:17:7: error: +T20465.hs:17:7: error: [GHC-43085] • Overlapping instances for Cls Proxy arising from a use of ‘foo’ Matching instances: instance Cls a -- Defined at T20465.hs:12:10 diff --git a/testsuite/tests/indexed-types/should_fail/T20466.stderr b/testsuite/tests/indexed-types/should_fail/T20466.stderr index be526681aef1..97a161990b83 100644 --- a/testsuite/tests/indexed-types/should_fail/T20466.stderr +++ b/testsuite/tests/indexed-types/should_fail/T20466.stderr @@ -1,5 +1,5 @@ -T20466.hs:28:7: error: +T20466.hs:28:7: error: [GHC-43085] • Overlapping instances for Cls (Either a (F (Either (G a) (G b)))) arising from a use of ‘foo’ Matching instance: @@ -13,7 +13,7 @@ T20466.hs:28:7: error: • In the expression: foo In an equation for ‘bar’: bar = foo -T20466.hs:34:8: error: +T20466.hs:34:8: error: [GHC-43085] • Overlapping instances for Cls (Either Int (F Bool)) arising from a use of ‘foo'’ Matching instance: diff --git a/testsuite/tests/indexed-types/should_fail/T20521.stderr b/testsuite/tests/indexed-types/should_fail/T20521.stderr index 2909a9c89253..eb72ca19b1c0 100644 --- a/testsuite/tests/indexed-types/should_fail/T20521.stderr +++ b/testsuite/tests/indexed-types/should_fail/T20521.stderr @@ -1,5 +1,5 @@ -T20521.hs:19:9: error: +T20521.hs:19:9: error: [GHC-83865] • Couldn't match type ‘XFam Constraint (*) (XFam (*) Constraint Float)’ with ‘Float’ diff --git a/testsuite/tests/indexed-types/should_fail/T21092.stderr b/testsuite/tests/indexed-types/should_fail/T21092.stderr index b5b211cb3881..de628a19c00d 100644 --- a/testsuite/tests/indexed-types/should_fail/T21092.stderr +++ b/testsuite/tests/indexed-types/should_fail/T21092.stderr @@ -1,5 +1,5 @@ -T21092.hs:8:15: error: +T21092.hs:8:15: error: [GHC-34447] Conflicting family instance declarations: F (*) = Int -- Defined at T21092.hs:8:15 F Constraint = Bool -- Defined at T21092.hs:9:15 diff --git a/testsuite/tests/indexed-types/should_fail/T21896.stderr b/testsuite/tests/indexed-types/should_fail/T21896.stderr index 971c220171e3..b75aab8803a3 100644 --- a/testsuite/tests/indexed-types/should_fail/T21896.stderr +++ b/testsuite/tests/indexed-types/should_fail/T21896.stderr @@ -1,5 +1,5 @@ -T21896.hs:8:5: error: +T21896.hs:8:5: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: forall {k} {r :: k}. F 'Foo r = r -- Defined at T21896.hs:8:5 @@ -7,7 +7,7 @@ T21896.hs:8:5: error: • In the equations for closed type family ‘F’ In the type family declaration for ‘F’ -T21896.hs:8:5: error: +T21896.hs:8:5: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. RHS of injective type family equation is a bare type variable but these LHS type and kind patterns are not bare variables: ‘'Foo’ @@ -15,7 +15,7 @@ T21896.hs:8:5: error: • In the equations for closed type family ‘F’ In the type family declaration for ‘F’ -T21896.hs:9:5: error: +T21896.hs:9:5: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. RHS of injective type family equation is a bare type variable but these LHS type and kind patterns are not bare variables: ‘'Bar’ diff --git a/testsuite/tests/indexed-types/should_fail/T2334A.stderr b/testsuite/tests/indexed-types/should_fail/T2334A.stderr index a5bc0a0e7861..d4cd3285c2ca 100644 --- a/testsuite/tests/indexed-types/should_fail/T2334A.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2334A.stderr @@ -11,7 +11,7 @@ T2334A.hs:10:27: error: • In the definition of data constructor ‘H’ In the newtype instance declaration for ‘F’ -T2334A.hs:12:15: error: +T2334A.hs:12:15: error: [GHC-34447] Conflicting family instance declarations: F Bool -- Defined at T2334A.hs:12:15 F Bool -- Defined at T2334A.hs:13:15 diff --git a/testsuite/tests/indexed-types/should_fail/T2544.stderr b/testsuite/tests/indexed-types/should_fail/T2544.stderr index be58f59e05b1..1f0d70f90457 100644 --- a/testsuite/tests/indexed-types/should_fail/T2544.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2544.stderr @@ -1,24 +1,24 @@ -T2544.hs:19:18: error: +T2544.hs:19:18: error: [GHC-83865] • Couldn't match type: IxMap i0 with: IxMap l Expected: IxMap l [Int] Actual: IxMap i0 [Int] - NB: ‘IxMap’ is a non-injective type family - The type variable ‘i0’ is ambiguous + NB: ‘IxMap’ is a non-injective type family + The type variable ‘i0’ is ambiguous • In the first argument of ‘BiApp’, namely ‘empty’ In the expression: BiApp empty empty In an equation for ‘empty’: empty = BiApp empty empty • Relevant bindings include empty :: IxMap (l :|: r) [Int] (bound at T2544.hs:19:4) -T2544.hs:19:24: error: +T2544.hs:19:24: error: [GHC-83865] • Couldn't match type: IxMap i1 with: IxMap r Expected: IxMap r [Int] Actual: IxMap i1 [Int] - NB: ‘IxMap’ is a non-injective type family - The type variable ‘i1’ is ambiguous + NB: ‘IxMap’ is a non-injective type family + The type variable ‘i1’ is ambiguous • In the second argument of ‘BiApp’, namely ‘empty’ In the expression: BiApp empty empty In an equation for ‘empty’: empty = BiApp empty empty diff --git a/testsuite/tests/indexed-types/should_fail/T2627b.stderr b/testsuite/tests/indexed-types/should_fail/T2627b.stderr index cf25ba5918e0..266ab6d766d1 100644 --- a/testsuite/tests/indexed-types/should_fail/T2627b.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2627b.stderr @@ -1,5 +1,5 @@ -T2627b.hs:20:24: error: +T2627b.hs:20:24: error: [GHC-27958] • Could not deduce ‘Dual (Dual a0) ~ a0’ arising from a use of ‘conn’ from the context: (Dual a ~ b, Dual b ~ a) diff --git a/testsuite/tests/indexed-types/should_fail/T2664.stderr b/testsuite/tests/indexed-types/should_fail/T2664.stderr index 80bddc7f7867..a697c98f1fc8 100644 --- a/testsuite/tests/indexed-types/should_fail/T2664.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2664.stderr @@ -1,5 +1,5 @@ -T2664.hs:32:52: error: +T2664.hs:32:52: error: [GHC-25897] • Could not deduce ‘b ~ a’ arising from a use of ‘newPChan’ from the context: ((a :*: b) ~ Dual c, c ~ Dual (a :*: b)) bound by the type signature for: diff --git a/testsuite/tests/indexed-types/should_fail/T2677.stderr b/testsuite/tests/indexed-types/should_fail/T2677.stderr index 1f08b366b123..0ecea2e69c4d 100644 --- a/testsuite/tests/indexed-types/should_fail/T2677.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2677.stderr @@ -1,5 +1,5 @@ -T2677.hs:6:15: +T2677.hs:6:15: error: [GHC-34447] Conflicting family instance declarations: A a = Bool -- Defined at T2677.hs:6:15 A Int = Char -- Defined at T2677.hs:7:15 diff --git a/testsuite/tests/indexed-types/should_fail/T2693.stderr b/testsuite/tests/indexed-types/should_fail/T2693.stderr index f07905b57082..1f34d6b34b10 100644 --- a/testsuite/tests/indexed-types/should_fail/T2693.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2693.stderr @@ -1,46 +1,46 @@ -T2693.hs:12:15: error: +T2693.hs:12:15: error: [GHC-83865] • Couldn't match expected type: (a8, b1) with actual type: TFn a6 - The type variable ‘a6’ is ambiguous + The type variable ‘a6’ is ambiguous • In the first argument of ‘fst’, namely ‘x’ In the first argument of ‘(+)’, namely ‘fst x’ In the expression: fst x + fst x • Relevant bindings include n :: a8 (bound at T2693.hs:12:7) -T2693.hs:12:23: error: +T2693.hs:12:23: error: [GHC-83865] • Couldn't match expected type: (a8, b2) with actual type: TFn a7 - The type variable ‘a7’ is ambiguous + The type variable ‘a7’ is ambiguous • In the first argument of ‘fst’, namely ‘x’ In the second argument of ‘(+)’, namely ‘fst x’ In the expression: fst x + fst x • Relevant bindings include n :: a8 (bound at T2693.hs:12:7) -T2693.hs:19:15: error: +T2693.hs:19:15: error: [GHC-83865] • Couldn't match expected type: (a5, b0) with actual type: TFn a2 - The type variable ‘a2’ is ambiguous + The type variable ‘a2’ is ambiguous • In the first argument of ‘fst’, namely ‘x’ In the first argument of ‘(+)’, namely ‘fst x’ In the expression: fst x + snd x • Relevant bindings include n :: a5 (bound at T2693.hs:19:7) -T2693.hs:19:23: error: +T2693.hs:19:23: error: [GHC-83865] • Couldn't match expected type: (a4, a5) with actual type: TFn a3 - The type variable ‘a3’ is ambiguous + The type variable ‘a3’ is ambiguous • In the first argument of ‘snd’, namely ‘x’ In the second argument of ‘(+)’, namely ‘snd x’ In the expression: fst x + snd x • Relevant bindings include n :: a5 (bound at T2693.hs:19:7) -T2693.hs:29:20: error: +T2693.hs:29:20: error: [GHC-83865] • Couldn't match type: TFn a0 with: PVR a1 Expected: () -> Maybe (PVR a1) Actual: () -> Maybe (TFn a0) - The type variable ‘a0’ is ambiguous + The type variable ‘a0’ is ambiguous • In the first argument of ‘mapM’, namely ‘g’ In a stmt of a 'do' block: pvs <- mapM g undefined In the expression: diff --git a/testsuite/tests/indexed-types/should_fail/T3330a.stderr b/testsuite/tests/indexed-types/should_fail/T3330a.stderr index 1fba198ab79c..c65763c6c3e9 100644 --- a/testsuite/tests/indexed-types/should_fail/T3330a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T3330a.stderr @@ -1,5 +1,5 @@ -T3330a.hs:19:34: error: +T3330a.hs:19:34: error: [GHC-25897] • Couldn't match type ‘ix’ with ‘r ix1 -> Writer [AnyF s] (r'0 ix1)’ Expected: (s0 ix0 -> ix1) -> r ix1 -> Writer [AnyF s] (r'0 ix1) @@ -17,7 +17,7 @@ T3330a.hs:19:34: error: p :: s ix (bound at T3330a.hs:19:10) children :: s ix -> PF s r ix -> [AnyF s] (bound at T3330a.hs:19:1) -T3330a.hs:19:44: error: +T3330a.hs:19:44: error: [GHC-25897] • Couldn't match type ‘ix’ with ‘r0 ix0 -> Writer [AnyF s0] (r0 ix0)’ Expected: PF s r (r0 ix0 -> Writer [AnyF s0] (r0 ix0)) diff --git a/testsuite/tests/indexed-types/should_fail/T3330b.stderr b/testsuite/tests/indexed-types/should_fail/T3330b.stderr index faa5d1a1a7b6..6827abf90664 100644 --- a/testsuite/tests/indexed-types/should_fail/T3330b.stderr +++ b/testsuite/tests/indexed-types/should_fail/T3330b.stderr @@ -1,5 +1,5 @@ -T3330b.hs:14:10: +T3330b.hs:14:10: error: [GHC-34447] Conflicting family instance declarations: Res c a b = b -- Defined at T3330b.hs:14:10 Res [c] a b = [b] -- Defined at T3330b.hs:18:10 diff --git a/testsuite/tests/indexed-types/should_fail/T3330c.stderr b/testsuite/tests/indexed-types/should_fail/T3330c.stderr index b66119365561..be6103ace1aa 100644 --- a/testsuite/tests/indexed-types/should_fail/T3330c.stderr +++ b/testsuite/tests/indexed-types/should_fail/T3330c.stderr @@ -1,5 +1,5 @@ -T3330c.hs:25:43: error: +T3330c.hs:25:43: error: [GHC-18872] • Couldn't match kind ‘*’ with ‘* -> *’ When matching types f1 :: * -> * diff --git a/testsuite/tests/indexed-types/should_fail/T4093a.stderr b/testsuite/tests/indexed-types/should_fail/T4093a.stderr index bd1102145472..76493a963718 100644 --- a/testsuite/tests/indexed-types/should_fail/T4093a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4093a.stderr @@ -1,5 +1,5 @@ -T4093a.hs:8:8: error: +T4093a.hs:8:8: error: [GHC-25897] • Could not deduce ‘e ~ ()’ from the context: Foo e ~ Maybe e bound by the type signature for: diff --git a/testsuite/tests/indexed-types/should_fail/T4093b.stderr b/testsuite/tests/indexed-types/should_fail/T4093b.stderr index 318070836544..774e08094f0c 100644 --- a/testsuite/tests/indexed-types/should_fail/T4093b.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4093b.stderr @@ -1,5 +1,5 @@ -T4093b.hs:31:13: error: +T4093b.hs:31:13: error: [GHC-25897] • Could not deduce ‘e ~ C’ from the context: (EitherCO e (A C O n) (A O O n) ~ A e O n, EitherCO x (A C C n) (A C O n) ~ A C x n) diff --git a/testsuite/tests/indexed-types/should_fail/T4099.stderr b/testsuite/tests/indexed-types/should_fail/T4099.stderr index 5ed4d366402e..9f0f528cc103 100644 --- a/testsuite/tests/indexed-types/should_fail/T4099.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4099.stderr @@ -1,9 +1,9 @@ -T4099.hs:11:30: error: +T4099.hs:11:30: error: [GHC-83865] • Couldn't match expected type: T a0 with actual type: T b - NB: ‘T’ is a non-injective type family - The type variable ‘a0’ is ambiguous + NB: ‘T’ is a non-injective type family + The type variable ‘a0’ is ambiguous • In the second argument of ‘foo’, namely ‘x’ In the expression: foo (error "urk") x In an equation for ‘bar1’: bar1 a x = foo (error "urk") x @@ -12,10 +12,10 @@ T4099.hs:11:30: error: a :: b (bound at T4099.hs:11:6) bar1 :: b -> T b -> Int (bound at T4099.hs:11:1) -T4099.hs:14:30: error: +T4099.hs:14:30: error: [GHC-83865] • Couldn't match expected type: T a1 with actual type: Maybe b - The type variable ‘a1’ is ambiguous + The type variable ‘a1’ is ambiguous • In the second argument of ‘foo’, namely ‘x’ In the expression: foo (error "urk") x In an equation for ‘bar2’: bar2 a x = foo (error "urk") x diff --git a/testsuite/tests/indexed-types/should_fail/T4174.stderr b/testsuite/tests/indexed-types/should_fail/T4174.stderr index a33dcf7222ca..c2802c060415 100644 --- a/testsuite/tests/indexed-types/should_fail/T4174.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4174.stderr @@ -1,5 +1,5 @@ -T4174.hs:45:12: error: +T4174.hs:45:12: error: [GHC-18872] • Couldn't match type ‘False’ with ‘True’ arising from a use of ‘sync_large_objects’ • In the expression: sync_large_objects diff --git a/testsuite/tests/indexed-types/should_fail/T4179.stderr b/testsuite/tests/indexed-types/should_fail/T4179.stderr index 545c03754d20..3f88289e2314 100644 --- a/testsuite/tests/indexed-types/should_fail/T4179.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4179.stderr @@ -1,5 +1,5 @@ -T4179.hs:26:16: error: +T4179.hs:26:16: error: [GHC-83865] • Couldn't match type: A3 (x (A2 (FCon x) -> A3 (FCon x))) with: A3 (FCon x) Expected: x (A2 (FCon x) -> A3 (FCon x)) @@ -7,7 +7,7 @@ T4179.hs:26:16: error: Actual: x (A2 (FCon x) -> A3 (FCon x)) -> A2 (x (A2 (FCon x) -> A3 (FCon x))) -> A3 (x (A2 (FCon x) -> A3 (FCon x))) - NB: ‘A3’ is a non-injective type family + NB: ‘A3’ is a non-injective type family • In the first argument of ‘foldDoC’, namely ‘op’ In the expression: foldDoC op In an equation for ‘fCon’: fCon = foldDoC op diff --git a/testsuite/tests/indexed-types/should_fail/T4246.stderr b/testsuite/tests/indexed-types/should_fail/T4246.stderr index f2bf56b214b9..af603d69d6d8 100644 --- a/testsuite/tests/indexed-types/should_fail/T4246.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4246.stderr @@ -1,10 +1,10 @@ -T4246.hs:9:9: error: +T4246.hs:9:9: error: [GHC-34447] Conflicting family instance declarations: F a = a -- Defined at T4246.hs:9:9 F Int = Bool -- Defined at T4246.hs:12:9 -T4246.hs:15:15: error: +T4246.hs:15:15: error: [GHC-34447] Conflicting family instance declarations: G Int = Int -- Defined at T4246.hs:15:15 G Int = Bool -- Defined at T4246.hs:16:15 diff --git a/testsuite/tests/indexed-types/should_fail/T4254b.stderr b/testsuite/tests/indexed-types/should_fail/T4254b.stderr index d45d0ccdafe2..551978715c22 100644 --- a/testsuite/tests/indexed-types/should_fail/T4254b.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4254b.stderr @@ -1,5 +1,5 @@ -T4254b.hs:10:10: error: +T4254b.hs:10:10: error: [GHC-25897] • Couldn't match type ‘b’ with ‘Bool’ arising from a functional dependency between constraints: ‘FD Int Bool’ diff --git a/testsuite/tests/indexed-types/should_fail/T4272.stderr b/testsuite/tests/indexed-types/should_fail/T4272.stderr index 69df514c0f1f..8a2feeb00f1b 100644 --- a/testsuite/tests/indexed-types/should_fail/T4272.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4272.stderr @@ -1,5 +1,5 @@ -T4272.hs:15:26: error: +T4272.hs:15:26: error: [GHC-25897] • Couldn't match type ‘a’ with ‘TermFamily a a’ Expected: TermFamily a (TermFamily a a) Actual: TermFamily a a diff --git a/testsuite/tests/indexed-types/should_fail/T4485.stderr b/testsuite/tests/indexed-types/should_fail/T4485.stderr index 71251b70f6a2..3c501554f820 100644 --- a/testsuite/tests/indexed-types/should_fail/T4485.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4485.stderr @@ -1,5 +1,5 @@ -T4485.hs:51:15: error: +T4485.hs:51:15: error: [GHC-43085] • Overlapping instances for EmbedAsChild (IdentityT IO) (XMLGenT m0 (XML m0)) arising from a use of ‘asChild’ @@ -20,7 +20,7 @@ T4485.hs:51:15: error: In an equation for ‘asChild’: asChild b = asChild $ (genElement "foo") -T4485.hs:51:26: error: +T4485.hs:51:26: error: [GHC-39999] • Ambiguous type variable ‘m0’ arising from a use of ‘genElement’ prevents the constraint ‘(XMLGen m0)’ from being solved. Probable fix: use a type annotation to specify what ‘m0’ should be. diff --git a/testsuite/tests/indexed-types/should_fail/T5439.stderr b/testsuite/tests/indexed-types/should_fail/T5439.stderr index fb38d71112c9..be0c6810c386 100644 --- a/testsuite/tests/indexed-types/should_fail/T5439.stderr +++ b/testsuite/tests/indexed-types/should_fail/T5439.stderr @@ -1,5 +1,5 @@ -T5439.hs:83:33: error: +T5439.hs:83:33: error: [GHC-83865] • Couldn't match expected type: Attempt (HElemOf rs) with actual type: Attempt (HHead (HDrop n0 l0)) -> Attempt (HElemOf l0) @@ -21,7 +21,7 @@ T5439.hs:83:33: error: -> f (Attempt (WaitOpResult (WaitOps rs))) -> IO Bool (bound at T5439.hs:62:3) -T5439.hs:83:39: error: +T5439.hs:83:39: error: [GHC-83865] • Couldn't match expected type: Peano n0 with actual type: Attempt α0 • In the second argument of ‘($)’, namely diff --git a/testsuite/tests/indexed-types/should_fail/T5934.stderr b/testsuite/tests/indexed-types/should_fail/T5934.stderr index 9024f516b87b..b15f5d0d0420 100644 --- a/testsuite/tests/indexed-types/should_fail/T5934.stderr +++ b/testsuite/tests/indexed-types/should_fail/T5934.stderr @@ -1,5 +1,5 @@ -T5934.hs:12:7: error: +T5934.hs:12:7: error: [GHC-91028] • Couldn't match type ‘a0’ with ‘(forall s. Gen (PrimState (ST s))) -> Int’ Expected: (forall s. GenST s) -> Int diff --git a/testsuite/tests/indexed-types/should_fail/T6123.stderr b/testsuite/tests/indexed-types/should_fail/T6123.stderr index eafd27c45454..c20ec3e5dcd3 100644 --- a/testsuite/tests/indexed-types/should_fail/T6123.stderr +++ b/testsuite/tests/indexed-types/should_fail/T6123.stderr @@ -1,5 +1,5 @@ -T6123.hs:10:14: error: +T6123.hs:10:14: error: [GHC-27958] • Couldn't match type ‘a0’ with ‘Id a0’ arising from a use of ‘cid’ The type variable ‘a0’ is ambiguous • In the expression: cid undefined diff --git a/testsuite/tests/indexed-types/should_fail/T7010.stderr b/testsuite/tests/indexed-types/should_fail/T7010.stderr index 12f443df7d54..65d8e3d6e1a2 100644 --- a/testsuite/tests/indexed-types/should_fail/T7010.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7010.stderr @@ -1,5 +1,5 @@ -T7010.hs:53:27: error: +T7010.hs:53:27: error: [GHC-83865] • Couldn't match type: IO Float with: Serial (IO Float) Expected: (Float, ValueTuple Vector) diff --git a/testsuite/tests/indexed-types/should_fail/T7102a.stderr b/testsuite/tests/indexed-types/should_fail/T7102a.stderr index 8dd542391b0f..5af87cfb2871 100644 --- a/testsuite/tests/indexed-types/should_fail/T7102a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7102a.stderr @@ -1,5 +1,5 @@ -<interactive>:3:15: error: +<interactive>:3:15: error: [GHC-34447] Conflicting family instance declarations: A Int = () -- Defined at <interactive>:3:15 A Int = Bool -- Defined at <interactive>:4:15 diff --git a/testsuite/tests/indexed-types/should_fail/T7194.stderr b/testsuite/tests/indexed-types/should_fail/T7194.stderr index d509f9fac977..b6427a5429ce 100644 --- a/testsuite/tests/indexed-types/should_fail/T7194.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7194.stderr @@ -1,11 +1,11 @@ -T7194.hs:18:35: error: +T7194.hs:18:35: error: [GHC-46956] • Couldn't match expected type ‘b0’ with actual type ‘F a’ - because type variable ‘a’ would escape its scope - This (rigid, skolem) type variable is bound by - the type signature for: - g :: forall a. C (F a) => a -> Int - at T7194.hs:17:18-41 + • because type variable ‘a’ would escape its scope + This (rigid, skolem) type variable is bound by + the type signature for: + g :: forall a. C (F a) => a -> Int + at T7194.hs:17:18-41 • In the expression: foo y In the first argument of ‘length’, namely ‘[x, foo y]’ In the expression: length [x, foo y] diff --git a/testsuite/tests/indexed-types/should_fail/T7354.stderr b/testsuite/tests/indexed-types/should_fail/T7354.stderr index e2dfbedf280c..1d8be26b5a03 100644 --- a/testsuite/tests/indexed-types/should_fail/T7354.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7354.stderr @@ -1,5 +1,5 @@ -T7354.hs:28:11: error: +T7354.hs:28:11: error: [GHC-25897] • Couldn't match type ‘a’ with ‘Base t (Prim [a] a)’ Expected: Prim [a] a -> Base t (Prim [a] a) Actual: Prim [a] a -> a diff --git a/testsuite/tests/indexed-types/should_fail/T7354a.stderr b/testsuite/tests/indexed-types/should_fail/T7354a.stderr index a5ec40630e7c..1eaa65f6c46b 100644 --- a/testsuite/tests/indexed-types/should_fail/T7354a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7354a.stderr @@ -1,5 +1,5 @@ -T7354a.hs:5:13: error: +T7354a.hs:5:13: error: [GHC-83865] • Couldn't match expected type ‘Base t t’ with actual type ‘()’ • In the first argument of ‘embed’, namely ‘()’ In the expression: embed () diff --git a/testsuite/tests/indexed-types/should_fail/T7729.stderr b/testsuite/tests/indexed-types/should_fail/T7729.stderr index 8973e8690ec0..532e2a21bd43 100644 --- a/testsuite/tests/indexed-types/should_fail/T7729.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7729.stderr @@ -1,5 +1,5 @@ -T7729.hs:36:14: error: +T7729.hs:36:14: error: [GHC-83865] • Couldn't match type: BasePrimMonad m with: t0 (BasePrimMonad m) Expected: t0 (BasePrimMonad m) a -> Rand m a diff --git a/testsuite/tests/indexed-types/should_fail/T7729a.stderr b/testsuite/tests/indexed-types/should_fail/T7729a.stderr index 34ef48e17947..41aa1a057fcc 100644 --- a/testsuite/tests/indexed-types/should_fail/T7729a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7729a.stderr @@ -1,5 +1,5 @@ -T7729a.hs:36:26: error: +T7729a.hs:36:26: error: [GHC-83865] • Couldn't match type: BasePrimMonad m with: t0 m0 Expected: BasePrimMonad (Rand m) a diff --git a/testsuite/tests/indexed-types/should_fail/T7938.stderr b/testsuite/tests/indexed-types/should_fail/T7938.stderr index 5751c4e99264..1b79fb8e7e90 100644 --- a/testsuite/tests/indexed-types/should_fail/T7938.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7938.stderr @@ -1,5 +1,5 @@ -T7938.hs:12:17: error: +T7938.hs:12:17: error: [GHC-83865] • Expected a type, but ‘KP :: KProxy k2’ has kind ‘KProxy k2’ • In the type ‘(KP :: KProxy k2)’ In the type instance declaration for ‘Bar’ diff --git a/testsuite/tests/indexed-types/should_fail/T7967.stderr b/testsuite/tests/indexed-types/should_fail/T7967.stderr index 8a7e419a5d0b..bd14d79780f3 100644 --- a/testsuite/tests/indexed-types/should_fail/T7967.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7967.stderr @@ -1,5 +1,5 @@ -T7967.hs:33:26: error: +T7967.hs:33:26: error: [GHC-83865] • Couldn't match type: h0 : t0 with: '[] Expected: Index n l diff --git a/testsuite/tests/indexed-types/should_fail/T8155.stderr b/testsuite/tests/indexed-types/should_fail/T8155.stderr index 771bb4fc5818..6851d57b26f4 100644 --- a/testsuite/tests/indexed-types/should_fail/T8155.stderr +++ b/testsuite/tests/indexed-types/should_fail/T8155.stderr @@ -1,5 +1,5 @@ -T8155.hs:26:14: error: +T8155.hs:26:14: error: [GHC-39999] • Could not deduce ‘Integral (BoundsOf (a -> a))’ arising from a use of ‘buildV’ from the context: Num a diff --git a/testsuite/tests/indexed-types/should_fail/T8227.stderr b/testsuite/tests/indexed-types/should_fail/T8227.stderr index e82135643046..64792ae0e987 100644 --- a/testsuite/tests/indexed-types/should_fail/T8227.stderr +++ b/testsuite/tests/indexed-types/should_fail/T8227.stderr @@ -1,5 +1,5 @@ -T8227.hs:24:27: error: +T8227.hs:24:27: error: [GHC-83865] • Couldn't match type: Scalar (V a) with: t0 -> t0 Expected: Scalar (V a) @@ -13,7 +13,7 @@ T8227.hs:24:27: error: absoluteToParam :: Scalar (V a) -> a -> Scalar (V a) (bound at T8227.hs:24:1) -T8227.hs:24:48: error: +T8227.hs:24:48: error: [GHC-27958] • Couldn't match type ‘t0’ with ‘Scalar (V t0)’ arising from a type equality Scalar (V a) ~ t0 -> t0 The type variable ‘t0’ is ambiguous diff --git a/testsuite/tests/indexed-types/should_fail/T8368.stderr b/testsuite/tests/indexed-types/should_fail/T8368.stderr index 8cd5e71bac84..2d79b2deea8d 100644 --- a/testsuite/tests/indexed-types/should_fail/T8368.stderr +++ b/testsuite/tests/indexed-types/should_fail/T8368.stderr @@ -1,5 +1,5 @@ -T8368.hs:9:3: error: +T8368.hs:9:3: error: [GHC-83865] • Couldn't match expected type ‘Fam a0’ with actual type ‘Foo’ • In the result type of data constructor ‘MkFam’ In the data instance declaration for ‘Fam’ diff --git a/testsuite/tests/indexed-types/should_fail/T8368a.stderr b/testsuite/tests/indexed-types/should_fail/T8368a.stderr index a3d01dc47ffd..3530b81c491e 100644 --- a/testsuite/tests/indexed-types/should_fail/T8368a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T8368a.stderr @@ -1,5 +1,5 @@ -T8368a.hs:7:3: error: +T8368a.hs:7:3: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: Fam Int b Actual: Fam Bool b diff --git a/testsuite/tests/indexed-types/should_fail/T8518.stderr b/testsuite/tests/indexed-types/should_fail/T8518.stderr index 044991ff5b39..e2284caa3732 100644 --- a/testsuite/tests/indexed-types/should_fail/T8518.stderr +++ b/testsuite/tests/indexed-types/should_fail/T8518.stderr @@ -1,5 +1,5 @@ -T8518.hs:14:18: error: +T8518.hs:14:18: error: [GHC-83865] • Couldn't match expected type: Z c -> B c -> t0 with actual type: F c • The function ‘rpt’ is applied to four value arguments, @@ -17,7 +17,7 @@ T8518.hs:14:18: error: c :: c (bound at T8518.hs:14:10) callCont :: c -> Z c -> B c -> Maybe (F c) (bound at T8518.hs:14:1) -T8518.hs:17:9: error: +T8518.hs:17:9: error: [GHC-83865] • Couldn't match type: F t2 with: Z t2 -> B t2 -> F t2 Expected: t1 -> t2 -> F t2 diff --git a/testsuite/tests/indexed-types/should_fail/T9036.stderr b/testsuite/tests/indexed-types/should_fail/T9036.stderr index 0f783738bac5..bb1143891667 100644 --- a/testsuite/tests/indexed-types/should_fail/T9036.stderr +++ b/testsuite/tests/indexed-types/should_fail/T9036.stderr @@ -1,11 +1,11 @@ -T9036.hs:18:17: error: +T9036.hs:18:17: error: [GHC-83865] • Couldn't match type: GetMonad t0 with: GetMonad t Expected: Maybe (GetMonad t after) -> Curried t [t] Actual: Maybe (GetMonad t0 after) -> Curried t0 [t0] - NB: ‘GetMonad’ is a non-injective type family - The type variable ‘t0’ is ambiguous + NB: ‘GetMonad’ is a non-injective type family + The type variable ‘t0’ is ambiguous • In the ambiguity check for ‘simpleLogger’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes In the type signature: diff --git a/testsuite/tests/indexed-types/should_fail/T9171.stderr b/testsuite/tests/indexed-types/should_fail/T9171.stderr index 6922be8ade59..7d93c7aa8e33 100644 --- a/testsuite/tests/indexed-types/should_fail/T9171.stderr +++ b/testsuite/tests/indexed-types/should_fail/T9171.stderr @@ -1,11 +1,11 @@ -T9171.hs:10:20: error: +T9171.hs:10:20: error: [GHC-83865] • Couldn't match expected type: GetParam @(*) @k2 @(*) Base (GetParam @(*) @(*) @k2 Base Int) with actual type: GetParam @(*) @k20 @(*) Base (GetParam @(*) @(*) @k20 Base Int) - NB: ‘GetParam’ is a non-injective type family - The type variable ‘k20’ is ambiguous + NB: ‘GetParam’ is a non-injective type family + The type variable ‘k20’ is ambiguous • In the ambiguity check for an expression type signature To defer the ambiguity check to use sites, enable AllowAmbiguousTypes In an expression type signature: GetParam Base (GetParam Base Int) diff --git a/testsuite/tests/indexed-types/should_fail/T9357.stderr b/testsuite/tests/indexed-types/should_fail/T9357.stderr index 3cda558e9e89..7c06fd5bb45e 100644 --- a/testsuite/tests/indexed-types/should_fail/T9357.stderr +++ b/testsuite/tests/indexed-types/should_fail/T9357.stderr @@ -1,4 +1,4 @@ -T9357.hs:12:15: error: +T9357.hs:12:15: error: [GHC-91510] • Illegal polymorphic type: forall (a :: TYPE t). a -> a • In the type instance declaration for ‘F’ diff --git a/testsuite/tests/indexed-types/should_fail/T9371.stderr b/testsuite/tests/indexed-types/should_fail/T9371.stderr index 9207ac5ae2d2..fe4c32ba29df 100644 --- a/testsuite/tests/indexed-types/should_fail/T9371.stderr +++ b/testsuite/tests/indexed-types/should_fail/T9371.stderr @@ -1,5 +1,5 @@ -T9371.hs:14:10: error: +T9371.hs:14:10: error: [GHC-34447] Conflicting family instance declarations: D x -- Defined at T9371.hs:14:10 D (x, y) -- Defined at T9371.hs:18:10 diff --git a/testsuite/tests/indexed-types/should_fail/T9580.stderr b/testsuite/tests/indexed-types/should_fail/T9580.stderr index 5612906f8492..76206882ede8 100644 --- a/testsuite/tests/indexed-types/should_fail/T9580.stderr +++ b/testsuite/tests/indexed-types/should_fail/T9580.stderr @@ -1,11 +1,11 @@ [1 of 2] Compiling T9580a ( T9580a.hs, T9580a.o ) [2 of 2] Compiling T9580 ( T9580.hs, T9580.o ) -T9580.hs:7:9: error: - Couldn't match representation of type ‘Dimensional Int Double’ - with that of ‘Double’ - arising from a use of ‘coerce’ - The data constructor ‘T9580a.Quantity'’ - of newtype ‘Dimensional Int v’ is not in scope - In the expression: coerce x - In an equation for ‘foo’: foo x = coerce x +T9580.hs:7:9: error: [GHC-18872] + • Couldn't match representation of type ‘Dimensional Int Double’ + with that of ‘Double’ + arising from a use of ‘coerce’ + The data constructor ‘T9580a.Quantity'’ + of newtype ‘Dimensional Int v’ is not in scope + • In the expression: coerce x + In an equation for ‘foo’: foo x = coerce x diff --git a/testsuite/tests/indexed-types/should_fail/T9662.stderr b/testsuite/tests/indexed-types/should_fail/T9662.stderr index 958431163602..20e0084aa261 100644 --- a/testsuite/tests/indexed-types/should_fail/T9662.stderr +++ b/testsuite/tests/indexed-types/should_fail/T9662.stderr @@ -1,5 +1,5 @@ -T9662.hs:49:8: error: +T9662.hs:49:8: error: [GHC-25897] • Couldn't match type ‘k’ with ‘Int’ Expected: Exp (((sh :. k) :. m) :. n) -> Exp (((sh :. m) :. n) :. k) diff --git a/testsuite/tests/layout/layout001.stdout b/testsuite/tests/layout/layout001.stdout index a8b197667309..8d4ee0d1be55 100644 --- a/testsuite/tests/layout/layout001.stdout +++ b/testsuite/tests/layout/layout001.stdout @@ -1,9 +1,9 @@ Running with -XNoAlternativeLayoutRule Running with -XAlternativeLayoutRule -layout001.hs:6:3: error: parse error on input ‘where’ +layout001.hs:6:3: error: [GHC-58481] parse error on input ‘where’ Running with -XAlternativeLayoutRule -XAlternativeLayoutRuleTransitional -layout001.hs:6:3: warning: [-Walternative-layout-rule-transitional (in -Wdefault)] +layout001.hs:6:3: warning: [GHC-93617] [-Walternative-layout-rule-transitional (in -Wdefault)] transitional layout will not be accepted in the future: `where' clause at the same depth as implicit layout block diff --git a/testsuite/tests/layout/layout003.stdout b/testsuite/tests/layout/layout003.stdout index 927fe884c79b..2a9d2c57cf6c 100644 --- a/testsuite/tests/layout/layout003.stdout +++ b/testsuite/tests/layout/layout003.stdout @@ -1,9 +1,9 @@ Running with -XNoAlternativeLayoutRule Running with -XAlternativeLayoutRule -layout003.hs:11:4: error: parse error on input ‘|’ +layout003.hs:11:4: error: [GHC-58481] parse error on input ‘|’ Running with -XAlternativeLayoutRule -XAlternativeLayoutRuleTransitional -layout003.hs:11:4: warning: [-Walternative-layout-rule-transitional (in -Wdefault)] +layout003.hs:11:4: warning: [GHC-93617] [-Walternative-layout-rule-transitional (in -Wdefault)] transitional layout will not be accepted in the future: `|' at the same depth as implicit layout block diff --git a/testsuite/tests/layout/layout004.stdout b/testsuite/tests/layout/layout004.stdout index 264606f13cf6..e300472205ff 100644 --- a/testsuite/tests/layout/layout004.stdout +++ b/testsuite/tests/layout/layout004.stdout @@ -1,7 +1,7 @@ Running with -XNoAlternativeLayoutRule Running with -XAlternativeLayoutRule -layout004.hs:7:14: parse error on input ‘,’ +layout004.hs:7:14: error: [GHC-58481] parse error on input ‘,’ Running with -XAlternativeLayoutRule -XAlternativeLayoutRuleTransitional -layout004.hs:7:14: parse error on input ‘,’ +layout004.hs:7:14: error: [GHC-58481] parse error on input ‘,’ diff --git a/testsuite/tests/layout/layout006.stdout b/testsuite/tests/layout/layout006.stdout index 8037c234c563..bb6ac2531163 100644 --- a/testsuite/tests/layout/layout006.stdout +++ b/testsuite/tests/layout/layout006.stdout @@ -1,17 +1,17 @@ Running with -XNoAlternativeLayoutRule -layout006.hs:12:4: warning: [-Woverlapping-patterns (in -Wdefault)] +layout006.hs:12:4: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f | True = ... Running with -XAlternativeLayoutRule -layout006.hs:12:2: error: parse error on input ‘|’ +layout006.hs:12:2: error: [GHC-58481] parse error on input ‘|’ Running with -XAlternativeLayoutRule -XAlternativeLayoutRuleTransitional -layout006.hs:12:2: warning: [-Walternative-layout-rule-transitional (in -Wdefault)] +layout006.hs:12:2: warning: [GHC-93617] [-Walternative-layout-rule-transitional (in -Wdefault)] transitional layout will not be accepted in the future: `|' at the same depth as implicit layout block -layout006.hs:12:4: warning: [-Woverlapping-patterns (in -Wdefault)] +layout006.hs:12:4: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f | True = ... diff --git a/testsuite/tests/linear/should_fail/Linear1.stderr b/testsuite/tests/linear/should_fail/Linear1.stderr index c549d75be33e..8d68aff47958 100644 --- a/testsuite/tests/linear/should_fail/Linear1.stderr +++ b/testsuite/tests/linear/should_fail/Linear1.stderr @@ -1,10 +1,10 @@ -Linear1.hs:10:14: error: +Linear1.hs:10:14: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘incorrectDup’: incorrectDup x = (x, x) -Linear1.hs:14:15: error: +Linear1.hs:14:15: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘incorrectDrop’: incorrectDrop x = () diff --git a/testsuite/tests/linear/should_fail/Linear11.stderr b/testsuite/tests/linear/should_fail/Linear11.stderr index cb52fa16f4e3..2ab0f3f162a3 100644 --- a/testsuite/tests/linear/should_fail/Linear11.stderr +++ b/testsuite/tests/linear/should_fail/Linear11.stderr @@ -1,11 +1,11 @@ -Linear11.hs:9:23: error: +Linear11.hs:9:23: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘a’ • In an equation for ‘incorrectUnrestricted’: incorrectUnrestricted a = Unrestricted a -Linear11.hs:14:43: error: +Linear11.hs:14:43: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘a’ • In the pattern: NotUnrestricted a diff --git a/testsuite/tests/linear/should_fail/Linear13.stderr b/testsuite/tests/linear/should_fail/Linear13.stderr index 4e8603c3e37d..62c0097b68b5 100644 --- a/testsuite/tests/linear/should_fail/Linear13.stderr +++ b/testsuite/tests/linear/should_fail/Linear13.stderr @@ -1,11 +1,11 @@ -Linear13.hs:6:14: error: +Linear13.hs:6:14: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘a’ • In an equation for ‘incorrectLet’: incorrectLet a = let x = a in () -Linear13.hs:9:27: error: +Linear13.hs:9:27: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘incorrectLetWithSignature’: @@ -15,13 +15,13 @@ Linear13.hs:9:27: error: y = x in () -Linear13.hs:12:20: error: +Linear13.hs:12:20: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘incorrectLazyMatch’: incorrectLazyMatch x = let (a, b) = x in b -Linear13.hs:15:24: error: +Linear13.hs:15:24: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘incorrectCasePromotion’: diff --git a/testsuite/tests/linear/should_fail/Linear17.stderr b/testsuite/tests/linear/should_fail/Linear17.stderr index 12193e115b41..1329db16e3f4 100644 --- a/testsuite/tests/linear/should_fail/Linear17.stderr +++ b/testsuite/tests/linear/should_fail/Linear17.stderr @@ -1,5 +1,5 @@ -Linear17.hs:17:3: error: +Linear17.hs:17:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In a stmt of a 'do' block: x <- () @@ -16,7 +16,7 @@ Linear17.hs:17:3: error: () <- y .... -Linear17.hs:25:6: error: +Linear17.hs:25:6: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘z’ • In the pattern: (y, z) @@ -27,7 +27,7 @@ Linear17.hs:25:6: error: () <- y () -Linear17.hs:30:3: error: +Linear17.hs:30:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In a stmt of a 'do' block: x <- () diff --git a/testsuite/tests/linear/should_fail/Linear2.stderr b/testsuite/tests/linear/should_fail/Linear2.stderr index eec52922a01e..b659915b9a8a 100644 --- a/testsuite/tests/linear/should_fail/Linear2.stderr +++ b/testsuite/tests/linear/should_fail/Linear2.stderr @@ -1,15 +1,15 @@ -Linear2.hs:9:15: error: +Linear2.hs:9:15: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘incorrectApp1’: incorrectApp1 x = dup (x, 0) -Linear2.hs:12:17: error: +Linear2.hs:12:17: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘incorrectApp2’: incorrectApp2 f x = f x -Linear2.hs:15:15: error: +Linear2.hs:15:15: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘n’ • In an equation for ‘incorrectIf’: diff --git a/testsuite/tests/linear/should_fail/Linear5.stderr b/testsuite/tests/linear/should_fail/Linear5.stderr index 4de49fb9d961..d6856c117404 100644 --- a/testsuite/tests/linear/should_fail/Linear5.stderr +++ b/testsuite/tests/linear/should_fail/Linear5.stderr @@ -1,5 +1,5 @@ -Linear5.hs:7:20: error: +Linear5.hs:7:20: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘n’ • In an equation for ‘incorrectEqn’: incorrectEqn False n = 0 diff --git a/testsuite/tests/linear/should_fail/Linear7.stderr b/testsuite/tests/linear/should_fail/Linear7.stderr index 9dc596477de4..fe7b58ac6a42 100644 --- a/testsuite/tests/linear/should_fail/Linear7.stderr +++ b/testsuite/tests/linear/should_fail/Linear7.stderr @@ -1,5 +1,5 @@ -Linear7.hs:7:16: error: +Linear7.hs:7:16: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘n’ • In an equation for ‘incorrectLCase’: diff --git a/testsuite/tests/linear/should_fail/Linear9.stderr b/testsuite/tests/linear/should_fail/Linear9.stderr index ab13270ee35b..34148b58178e 100644 --- a/testsuite/tests/linear/should_fail/Linear9.stderr +++ b/testsuite/tests/linear/should_fail/Linear9.stderr @@ -1,32 +1,32 @@ -Linear9.hs:9:17: error: +Linear9.hs:9:17: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In the pattern: _ In the pattern: (a, _) In an equation for ‘incorrectFst’: incorrectFst (a, _) = a -Linear9.hs:12:20: error: +Linear9.hs:12:20: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘b’ • In the pattern: (a, b) In an equation for ‘incorrectFstVar’: incorrectFstVar (a, b) = a -Linear9.hs:15:20: error: +Linear9.hs:15:20: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘a’ • In the pattern: (a, b) In an equation for ‘incorrectFirstDup’: incorrectFirstDup (a, b) = ((a, a), b) -Linear9.hs:18:21: error: +Linear9.hs:18:21: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In the pattern: _ In the pattern: (a, _) In the pattern: ((a, _), _) -Linear9.hs:18:24: error: +Linear9.hs:18:24: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In the pattern: _ @@ -34,7 +34,7 @@ Linear9.hs:18:24: error: In an equation for ‘incorrectFstFst’: incorrectFstFst ((a, _), _) = a -Linear9.hs:25:25: error: +Linear9.hs:25:25: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In the pattern: _ diff --git a/testsuite/tests/linear/should_fail/LinearAsPat.stderr b/testsuite/tests/linear/should_fail/LinearAsPat.stderr index 7d6cc245cf12..ef1338907418 100644 --- a/testsuite/tests/linear/should_fail/LinearAsPat.stderr +++ b/testsuite/tests/linear/should_fail/LinearAsPat.stderr @@ -1,5 +1,5 @@ -LinearAsPat.hs:6:12: error: +LinearAsPat.hs:6:12: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In an equation for ‘shouldFail’: shouldFail x@True = x diff --git a/testsuite/tests/linear/should_fail/LinearBottomMult.stderr b/testsuite/tests/linear/should_fail/LinearBottomMult.stderr index 11ee3d10fddc..aa6dab87d932 100644 --- a/testsuite/tests/linear/should_fail/LinearBottomMult.stderr +++ b/testsuite/tests/linear/should_fail/LinearBottomMult.stderr @@ -1,5 +1,5 @@ -LinearBottomMult.hs:13:3: error: +LinearBottomMult.hs:13:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘f’: diff --git a/testsuite/tests/linear/should_fail/LinearConfusedDollar.stderr b/testsuite/tests/linear/should_fail/LinearConfusedDollar.stderr index 51dc7cdd9165..55022acd61d6 100644 --- a/testsuite/tests/linear/should_fail/LinearConfusedDollar.stderr +++ b/testsuite/tests/linear/should_fail/LinearConfusedDollar.stderr @@ -1,5 +1,5 @@ -LinearConfusedDollar.hs:12:7: error: +LinearConfusedDollar.hs:12:7: error: [GHC-83865] • Couldn't match type ‘'One’ with ‘'Many’ Expected: a -> a Actual: a %1 -> a diff --git a/testsuite/tests/linear/should_fail/LinearErrOrigin.stderr b/testsuite/tests/linear/should_fail/LinearErrOrigin.stderr index 7bd7222618a5..dd7e04d9362d 100644 --- a/testsuite/tests/linear/should_fail/LinearErrOrigin.stderr +++ b/testsuite/tests/linear/should_fail/LinearErrOrigin.stderr @@ -1,5 +1,5 @@ -LinearErrOrigin.hs:7:7: error: +LinearErrOrigin.hs:7:7: error: [GHC-25897] • Couldn't match type ‘p’ with ‘q’ arising from multiplicity of ‘x’ ‘p’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/linear/should_fail/LinearFFI.stderr b/testsuite/tests/linear/should_fail/LinearFFI.stderr index 6d0707252e78..8473ad0425e3 100644 --- a/testsuite/tests/linear/should_fail/LinearFFI.stderr +++ b/testsuite/tests/linear/should_fail/LinearFFI.stderr @@ -1,18 +1,18 @@ -LinearFFI.hs:6:1: error: +LinearFFI.hs:6:1: error: [GHC-57396] • Unacceptable argument type in foreign declaration: Linear types are not supported in FFI declarations, see #18472 • When checking declaration: foreign import ccall safe "exp" c_exp :: Double %1 -> Double -LinearFFI.hs:7:1: error: +LinearFFI.hs:7:1: error: [GHC-57396] • Unacceptable argument type in foreign declaration: Linear types are not supported in FFI declarations, see #18472 • When checking declaration: foreign import stdcall safe "dynamic" d8 :: FunPtr (IO Int) %1 -> IO Int -LinearFFI.hs:8:1: error: +LinearFFI.hs:8:1: error: [GHC-57396] • Unacceptable argument type in foreign declaration: Linear types are not supported in FFI declarations, see #18472 • When checking declaration: diff --git a/testsuite/tests/linear/should_fail/LinearIf.stderr b/testsuite/tests/linear/should_fail/LinearIf.stderr index c34bec5f4dc0..122d1f9a8e7e 100644 --- a/testsuite/tests/linear/should_fail/LinearIf.stderr +++ b/testsuite/tests/linear/should_fail/LinearIf.stderr @@ -1,15 +1,15 @@ -LinearIf.hs:13:3: error: +LinearIf.hs:13:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘b’ • In an equation for ‘f’: f b x y = if b then x else y -LinearIf.hs:13:5: error: +LinearIf.hs:13:5: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘f’: f b x y = if b then x else y -LinearIf.hs:13:7: error: +LinearIf.hs:13:7: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘y’ • In an equation for ‘f’: f b x y = if b then x else y diff --git a/testsuite/tests/linear/should_fail/LinearKind.stderr b/testsuite/tests/linear/should_fail/LinearKind.stderr index c70e90a1b52a..c3efe4d3cecc 100644 --- a/testsuite/tests/linear/should_fail/LinearKind.stderr +++ b/testsuite/tests/linear/should_fail/LinearKind.stderr @@ -1,4 +1,4 @@ -LinearKind.hs:4:1: error: +LinearKind.hs:4:1: error: [GHC-13218] • Illegal linear function in a kind: * %1 -> * • In the data type declaration for ‘A’ diff --git a/testsuite/tests/linear/should_fail/LinearKind2.stderr b/testsuite/tests/linear/should_fail/LinearKind2.stderr index 0bdf1b0d19ed..2426e1cf8014 100644 --- a/testsuite/tests/linear/should_fail/LinearKind2.stderr +++ b/testsuite/tests/linear/should_fail/LinearKind2.stderr @@ -1,4 +1,4 @@ -LinearKind2.hs:7:1: error: +LinearKind2.hs:7:1: error: [GHC-13218] • Illegal linear function in a kind: * %1 -> * • In the data type declaration for ‘Two’ diff --git a/testsuite/tests/linear/should_fail/LinearKind3.stderr b/testsuite/tests/linear/should_fail/LinearKind3.stderr index 8e16996baf42..8f55a8ab3786 100644 --- a/testsuite/tests/linear/should_fail/LinearKind3.stderr +++ b/testsuite/tests/linear/should_fail/LinearKind3.stderr @@ -1,5 +1,5 @@ -LinearKind3.hs:8:1: error: +LinearKind3.hs:8:1: error: [GHC-13218] • Illegal linear function in a kind: * %1 -> * • In the expansion of type synonym ‘K’ In the data type declaration for ‘T’ diff --git a/testsuite/tests/linear/should_fail/LinearLazyPat.stderr b/testsuite/tests/linear/should_fail/LinearLazyPat.stderr index 1893d1041718..cb923f9416fd 100644 --- a/testsuite/tests/linear/should_fail/LinearLazyPat.stderr +++ b/testsuite/tests/linear/should_fail/LinearLazyPat.stderr @@ -1,5 +1,5 @@ -LinearLazyPat.hs:5:3: error: +LinearLazyPat.hs:5:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In the pattern: ~(x, y) diff --git a/testsuite/tests/linear/should_fail/LinearLet.stderr b/testsuite/tests/linear/should_fail/LinearLet.stderr index 3b94833d7ea5..de1771f89fc4 100644 --- a/testsuite/tests/linear/should_fail/LinearLet.stderr +++ b/testsuite/tests/linear/should_fail/LinearLet.stderr @@ -1,5 +1,5 @@ -LinearLet.hs:5:3: error: +LinearLet.hs:5:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘f’: f x = let y = x in (y, y) diff --git a/testsuite/tests/linear/should_fail/LinearNoExt.stderr b/testsuite/tests/linear/should_fail/LinearNoExt.stderr index 6bcb5425edbe..21bbc6181e36 100644 --- a/testsuite/tests/linear/should_fail/LinearNoExt.stderr +++ b/testsuite/tests/linear/should_fail/LinearNoExt.stderr @@ -1,4 +1,4 @@ -LinearNoExt.hs:3:14: error: +LinearNoExt.hs:3:14: error: [GHC-31574] Illegal use of linear functions Suggested fix: Perhaps you intended to use LinearTypes diff --git a/testsuite/tests/linear/should_fail/LinearNoExtU.stderr b/testsuite/tests/linear/should_fail/LinearNoExtU.stderr index 4c6e3a9065e9..ae769e762687 100644 --- a/testsuite/tests/linear/should_fail/LinearNoExtU.stderr +++ b/testsuite/tests/linear/should_fail/LinearNoExtU.stderr @@ -1,4 +1,4 @@ -LinearNoExtU.hs:4:14: error: +LinearNoExtU.hs:4:14: error: [GHC-31574] Illegal use of linear functions Suggested fix: Perhaps you intended to use LinearTypes diff --git a/testsuite/tests/linear/should_fail/LinearPartialSig.stderr b/testsuite/tests/linear/should_fail/LinearPartialSig.stderr index cc302ec4b605..405e6df2befc 100644 --- a/testsuite/tests/linear/should_fail/LinearPartialSig.stderr +++ b/testsuite/tests/linear/should_fail/LinearPartialSig.stderr @@ -1,5 +1,5 @@ -LinearPartialSig.hs:5:9: error: +LinearPartialSig.hs:5:9: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘'Many :: GHC.Types.Multiplicity’ To use the inferred type, enable PartialTypeSignatures diff --git a/testsuite/tests/linear/should_fail/LinearPatSyn.stderr b/testsuite/tests/linear/should_fail/LinearPatSyn.stderr index 95d18396aa30..bda38f77651b 100644 --- a/testsuite/tests/linear/should_fail/LinearPatSyn.stderr +++ b/testsuite/tests/linear/should_fail/LinearPatSyn.stderr @@ -1,5 +1,5 @@ -LinearPatSyn.hs:13:4: error: +LinearPatSyn.hs:13:4: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In the pattern: P y x diff --git a/testsuite/tests/linear/should_fail/LinearPatSyn2.stderr b/testsuite/tests/linear/should_fail/LinearPatSyn2.stderr index 78b3ee52f629..c0acb225bd9a 100644 --- a/testsuite/tests/linear/should_fail/LinearPatSyn2.stderr +++ b/testsuite/tests/linear/should_fail/LinearPatSyn2.stderr @@ -1,5 +1,5 @@ -LinearPatSyn2.hs:6:1: error: +LinearPatSyn2.hs:6:1: error: [GHC-15172] • Pattern synonyms do not support linear fields (GHC #18806): x %1 -> Maybe x • In the declaration for pattern synonym ‘J’ diff --git a/testsuite/tests/linear/should_fail/LinearPatternGuardWildcard.stderr b/testsuite/tests/linear/should_fail/LinearPatternGuardWildcard.stderr index 466ad4186217..05aea0087b55 100644 --- a/testsuite/tests/linear/should_fail/LinearPatternGuardWildcard.stderr +++ b/testsuite/tests/linear/should_fail/LinearPatternGuardWildcard.stderr @@ -1,5 +1,5 @@ -LinearPatternGuardWildcard.hs:7:15: error: +LinearPatternGuardWildcard.hs:7:15: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘unsafeConsume’: unsafeConsume x | _ <- x = () diff --git a/testsuite/tests/linear/should_fail/LinearPolyType.stderr b/testsuite/tests/linear/should_fail/LinearPolyType.stderr index 22d8013aedc2..5988dc53a157 100644 --- a/testsuite/tests/linear/should_fail/LinearPolyType.stderr +++ b/testsuite/tests/linear/should_fail/LinearPolyType.stderr @@ -1,6 +1,6 @@ -LinearPolyType.hs:15:1: error: +LinearPolyType.hs:15:1: error: [GHC-59840] GHC bug #19517: GHC currently does not support programs using GADTs or type families to witness equality of multiplicities -LinearPolyType.hs:15:1: error: +LinearPolyType.hs:15:1: error: [GHC-59840] GHC bug #19517: GHC currently does not support programs using GADTs or type families to witness equality of multiplicities diff --git a/testsuite/tests/linear/should_fail/LinearRecordUpdate.stderr b/testsuite/tests/linear/should_fail/LinearRecordUpdate.stderr index aa32a9db685f..faf82f690e43 100644 --- a/testsuite/tests/linear/should_fail/LinearRecordUpdate.stderr +++ b/testsuite/tests/linear/should_fail/LinearRecordUpdate.stderr @@ -1,5 +1,5 @@ -LinearRecordUpdate.hs:8:12: error: +LinearRecordUpdate.hs:8:12: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘r’ • In an equation for ‘shouldFail’: shouldFail r = r {y = False} diff --git a/testsuite/tests/linear/should_fail/LinearRole.stderr b/testsuite/tests/linear/should_fail/LinearRole.stderr index 6d499c4d706a..edeb98d84d2c 100644 --- a/testsuite/tests/linear/should_fail/LinearRole.stderr +++ b/testsuite/tests/linear/should_fail/LinearRole.stderr @@ -1,5 +1,5 @@ -LinearRole.hs:12:7: error: +LinearRole.hs:12:7: error: [GHC-18872] • Couldn't match type ‘'One’ with ‘'Many’ arising from a use of ‘coerce’ • In the expression: coerce x diff --git a/testsuite/tests/linear/should_fail/LinearSeq.stderr b/testsuite/tests/linear/should_fail/LinearSeq.stderr index f6b22b5999bd..2ed15de26084 100644 --- a/testsuite/tests/linear/should_fail/LinearSeq.stderr +++ b/testsuite/tests/linear/should_fail/LinearSeq.stderr @@ -1,5 +1,5 @@ -LinearSeq.hs:6:5: error: +LinearSeq.hs:6:5: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘bad’: bad x = seq x () diff --git a/testsuite/tests/linear/should_fail/LinearSequenceExpr.stderr b/testsuite/tests/linear/should_fail/LinearSequenceExpr.stderr index a3fdb4d7dff6..9c04ee212af4 100644 --- a/testsuite/tests/linear/should_fail/LinearSequenceExpr.stderr +++ b/testsuite/tests/linear/should_fail/LinearSequenceExpr.stderr @@ -1,10 +1,10 @@ -LinearSequenceExpr.hs:7:3: error: +LinearSequenceExpr.hs:7:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘f’: f x y = [x .. y] -LinearSequenceExpr.hs:7:5: error: +LinearSequenceExpr.hs:7:5: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘y’ • In an equation for ‘f’: f x y = [x .. y] diff --git a/testsuite/tests/linear/should_fail/LinearTHFail.stderr b/testsuite/tests/linear/should_fail/LinearTHFail.stderr index 681fa4294dd3..90ddb47e381a 100644 --- a/testsuite/tests/linear/should_fail/LinearTHFail.stderr +++ b/testsuite/tests/linear/should_fail/LinearTHFail.stderr @@ -1,5 +1,5 @@ -LinearTHFail.hs:8:3: error: +LinearTHFail.hs:8:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘f’: @@ -7,7 +7,7 @@ LinearTHFail.hs:8:3: error: = [| Just $x |] pending(rn) [<spn, x>] -LinearTHFail.hs:11:3: error: +LinearTHFail.hs:11:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘g’: g x = [|| Just $$x ||] diff --git a/testsuite/tests/linear/should_fail/LinearTHFail2.stderr b/testsuite/tests/linear/should_fail/LinearTHFail2.stderr index bab983bfd0b7..5defe5bde782 100644 --- a/testsuite/tests/linear/should_fail/LinearTHFail2.stderr +++ b/testsuite/tests/linear/should_fail/LinearTHFail2.stderr @@ -1,3 +1,3 @@ -LinearTHFail2.hs:7:2: error: +LinearTHFail2.hs:7:2: error: [GHC-65904] Non-linear fields in data constructors not (yet) handled by Template Haskell diff --git a/testsuite/tests/linear/should_fail/LinearTHFail3.stderr b/testsuite/tests/linear/should_fail/LinearTHFail3.stderr index dcf0038b6eb6..d518eb408384 100644 --- a/testsuite/tests/linear/should_fail/LinearTHFail3.stderr +++ b/testsuite/tests/linear/should_fail/LinearTHFail3.stderr @@ -1,3 +1,3 @@ -LinearTHFail3.hs:7:2: error: +LinearTHFail3.hs:7:2: error: [GHC-65904] Non-linear fields in data constructors not (yet) handled by Template Haskell diff --git a/testsuite/tests/linear/should_fail/LinearVar.stderr b/testsuite/tests/linear/should_fail/LinearVar.stderr index 85a9cff89910..e3274549362b 100644 --- a/testsuite/tests/linear/should_fail/LinearVar.stderr +++ b/testsuite/tests/linear/should_fail/LinearVar.stderr @@ -1,5 +1,5 @@ -LinearVar.hs:5:5: error: +LinearVar.hs:5:5: error: [GHC-25897] • Couldn't match type ‘m’ with ‘'Many’ Expected: a %m -> b Actual: a -> b diff --git a/testsuite/tests/linear/should_fail/LinearViewPattern.stderr b/testsuite/tests/linear/should_fail/LinearViewPattern.stderr index c0aa969741ae..d923a5eefdb8 100644 --- a/testsuite/tests/linear/should_fail/LinearViewPattern.stderr +++ b/testsuite/tests/linear/should_fail/LinearViewPattern.stderr @@ -1,5 +1,5 @@ -LinearViewPattern.hs:11:4: error: +LinearViewPattern.hs:11:4: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In the pattern: not -> True diff --git a/testsuite/tests/linear/should_fail/T18888_datakinds.stderr b/testsuite/tests/linear/should_fail/T18888_datakinds.stderr index a2a7ad88c727..1771d39cb534 100644 --- a/testsuite/tests/linear/should_fail/T18888_datakinds.stderr +++ b/testsuite/tests/linear/should_fail/T18888_datakinds.stderr @@ -1,5 +1,5 @@ -T18888_datakinds.hs:5:9: - Expected kind ‘GHC.Types.Multiplicity’, +T18888_datakinds.hs:5:9: error: [GHC-83865] + • Expected kind ‘GHC.Types.Multiplicity’, but ‘001’ has kind ‘GHC.Num.Natural.Natural’ - In the type signature: f :: a %001 -> b + • In the type signature: f :: a %001 -> b diff --git a/testsuite/tests/linear/should_fail/T19120.stderr b/testsuite/tests/linear/should_fail/T19120.stderr index 5926c5004797..8ab12c00b13e 100644 --- a/testsuite/tests/linear/should_fail/T19120.stderr +++ b/testsuite/tests/linear/should_fail/T19120.stderr @@ -1,5 +1,5 @@ -T19120.hs:9:3: error: +T19120.hs:9:3: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from multiplicity of ‘x’ • In an equation for ‘z’: z x | notL x = True diff --git a/testsuite/tests/linear/should_fail/T19361.stderr b/testsuite/tests/linear/should_fail/T19361.stderr index 1d7746786a70..31770a96e5d7 100644 --- a/testsuite/tests/linear/should_fail/T19361.stderr +++ b/testsuite/tests/linear/should_fail/T19361.stderr @@ -1,5 +1,5 @@ -T19361.hs:6:3: error: +T19361.hs:6:3: error: [GHC-25897] • Couldn't match type ‘m’ with ‘'Many’ arising from multiplicity of ‘x’ ‘m’ is a rigid type variable bound by diff --git a/testsuite/tests/linear/should_fail/T20083.stderr b/testsuite/tests/linear/should_fail/T20083.stderr index 5799d7c86dbd..32968a4e7d4a 100644 --- a/testsuite/tests/linear/should_fail/T20083.stderr +++ b/testsuite/tests/linear/should_fail/T20083.stderr @@ -1,5 +1,5 @@ -T20083.hs:6:6: error: +T20083.hs:6:6: error: [GHC-25897] • Couldn't match type ‘m’ with ‘'Many’ arising from multiplicity of ‘x’ ‘m’ is a rigid type variable bound by @@ -11,7 +11,7 @@ T20083.hs:6:6: error: • Relevant bindings include ap :: (a -> b) -> a %m -> b (bound at T20083.hs:6:1) -T20083.hs:9:5: error: +T20083.hs:9:5: error: [GHC-18872] • Couldn't match type ‘'Many’ with ‘'One’ arising from a non-linear pattern • In the pattern: _ diff --git a/testsuite/tests/linear/should_fail/TypeClass.stderr b/testsuite/tests/linear/should_fail/TypeClass.stderr index c7116dd22b9f..ae7419f97097 100644 --- a/testsuite/tests/linear/should_fail/TypeClass.stderr +++ b/testsuite/tests/linear/should_fail/TypeClass.stderr @@ -1,5 +1,5 @@ -TypeClass.hs:45:7: error: +TypeClass.hs:45:7: error: [GHC-39999] • No instance for ‘Iden (FUN 'One)’ arising from a use of ‘iden’ • In the expression: iden In an equation for ‘foo’: foo = iden diff --git a/testsuite/tests/mdo/should_fail/mdofail001.stderr b/testsuite/tests/mdo/should_fail/mdofail001.stderr index 9a3ea6686d85..888bb90fbf68 100644 --- a/testsuite/tests/mdo/should_fail/mdofail001.stderr +++ b/testsuite/tests/mdo/should_fail/mdofail001.stderr @@ -1,5 +1,5 @@ -mdofail001.hs:10:32: error: +mdofail001.hs:10:32: error: [GHC-39999] • No instance for ‘Num Char’ arising from the literal ‘1’ • In the expression: 1 In the first argument of ‘l’, namely ‘[1, 2, 3]’ diff --git a/testsuite/tests/mdo/should_fail/mdofail005.stderr b/testsuite/tests/mdo/should_fail/mdofail005.stderr index 18e2e4ae9dd0..f05b79311d77 100644 --- a/testsuite/tests/mdo/should_fail/mdofail005.stderr +++ b/testsuite/tests/mdo/should_fail/mdofail005.stderr @@ -1,4 +1,4 @@ -mdofail005.hs:11:14: error: +mdofail005.hs:11:14: error: [GHC-58481] parse error on input ‘<-’ Suggested fix: Perhaps you intended to use RecursiveDo diff --git a/testsuite/tests/module/MultiExport.stderr b/testsuite/tests/module/MultiExport.stderr index d117b69c8bc5..b1ee8024b692 100644 --- a/testsuite/tests/module/MultiExport.stderr +++ b/testsuite/tests/module/MultiExport.stderr @@ -1,3 +1,3 @@ -MultiExport.hs:2:14: warning: [-Wduplicate-exports (in -Wdefault)] +MultiExport.hs:2:14: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘x’ is exported by ‘A(x, x)’ and ‘A(x, x)’ diff --git a/testsuite/tests/module/T11432.stderr b/testsuite/tests/module/T11432.stderr index 61ccc7d9607f..571e47f48529 100644 --- a/testsuite/tests/module/T11432.stderr +++ b/testsuite/tests/module/T11432.stderr @@ -1,4 +1,4 @@ -T11432.hs:7:16: error: +T11432.hs:7:16: error: [GHC-18208] Expecting a type constructor but found a variable, ‘-.->’. If ‘-.->’ is a type constructor then enable ExplicitNamespaces and use the 'type' keyword. diff --git a/testsuite/tests/module/T11432a.stderr b/testsuite/tests/module/T11432a.stderr index 79d65257e6f7..c4408457eeb9 100644 --- a/testsuite/tests/module/T11432a.stderr +++ b/testsuite/tests/module/T11432a.stderr @@ -1,4 +1,4 @@ -T11432a.hs:7:17: error: +T11432a.hs:7:17: error: [GHC-18208] Expecting a type constructor but found a variable, ‘-.->’. If ‘-.->’ is a type constructor then enable ExplicitNamespaces and use the 'type' keyword. diff --git a/testsuite/tests/module/T11970.stderr b/testsuite/tests/module/T11970.stderr index 246dd7db4c27..34f76c9fd24a 100644 --- a/testsuite/tests/module/T11970.stderr +++ b/testsuite/tests/module/T11970.stderr @@ -1,13 +1,12 @@ -T11970.hs:6:40: error: +T11970.hs:6:40: error: [GHC-88993] • The type constructor ‘C’ is not the parent of the record selector ‘recSel’. Record selectors can only be exported with their parent type constructor. Parent: B • In the export: C(C, P, x, Q, B, recSel) -T11970.hs:6:40: error: +T11970.hs:6:40: error: [GHC-88993] • The type constructor ‘C’ is not the parent of the data constructor ‘B’. Data constructors can only be exported with their parent type constructor. Parent: B • In the export: C(C, P, x, Q, B, recSel) - diff --git a/testsuite/tests/module/T11970B.stderr b/testsuite/tests/module/T11970B.stderr index 240a5fa5f684..eebf03994338 100644 --- a/testsuite/tests/module/T11970B.stderr +++ b/testsuite/tests/module/T11970B.stderr @@ -1,5 +1,5 @@ -T11970B.hs:1:18: error: +T11970B.hs:1:18: error: [GHC-88993] • The type constructor ‘A’ is not the parent of the identifier ‘f’. Identifiers can only be exported with their parent type constructor. • In the export: A(f) diff --git a/testsuite/tests/module/T12026.stderr b/testsuite/tests/module/T12026.stderr index cd93875dc2a0..754547602544 100644 --- a/testsuite/tests/module/T12026.stderr +++ b/testsuite/tests/module/T12026.stderr @@ -1,3 +1,3 @@ -T12026.hs:3:17: error: +T12026.hs:3:17: error: [GHC-18208] Expecting a type constructor but found a variable, ‘map’. diff --git a/testsuite/tests/module/mod10.stderr b/testsuite/tests/module/mod10.stderr index 1412b6af7da7..94ba9bf92588 100644 --- a/testsuite/tests/module/mod10.stderr +++ b/testsuite/tests/module/mod10.stderr @@ -1,4 +1,4 @@ -mod10.hs:2:10: error: +mod10.hs:2:10: error: [GHC-76037] • Not in scope: type constructor or class ‘T’ • In the export: T(K1) diff --git a/testsuite/tests/module/mod101.stderr b/testsuite/tests/module/mod101.stderr index ecaae0a7d26e..9e2ae7b3b031 100644 --- a/testsuite/tests/module/mod101.stderr +++ b/testsuite/tests/module/mod101.stderr @@ -1,4 +1,4 @@ -mod101.hs:8:5: error: +mod101.hs:8:5: error: [GHC-88464] Data constructor not in scope: ConB :: Bool -> DataA Suggested fix: Perhaps use ‘ConA’ (imported from Mod101_AuxB) diff --git a/testsuite/tests/module/mod102.stderr b/testsuite/tests/module/mod102.stderr index afb4f9db7dcd..b240654bdd2f 100644 --- a/testsuite/tests/module/mod102.stderr +++ b/testsuite/tests/module/mod102.stderr @@ -1,4 +1,4 @@ -mod102.hs:8:5: error: +mod102.hs:8:5: error: [GHC-88464] Variable not in scope: methB :: Bool -> Bool -> () Suggested fix: Perhaps use ‘methA’ (imported from Mod102_AuxB) diff --git a/testsuite/tests/module/mod114.stderr b/testsuite/tests/module/mod114.stderr index e473360f1586..5b50ec52fb25 100644 --- a/testsuite/tests/module/mod114.stderr +++ b/testsuite/tests/module/mod114.stderr @@ -1,5 +1,5 @@ -mod114.hs:3:16: error: +mod114.hs:3:16: error: [GHC-76037] Not in scope: type constructor or class ‘Stuff’ Suggested fix: Perhaps you want to remove ‘Stuff’ from the explicit hiding list diff --git a/testsuite/tests/module/mod116.stderr b/testsuite/tests/module/mod116.stderr index 6dd4a9fc023c..52294e030c03 100644 --- a/testsuite/tests/module/mod116.stderr +++ b/testsuite/tests/module/mod116.stderr @@ -1,2 +1,3 @@ -mod116.hs:2:18: Not in scope: type constructor or class ‘M2’ +mod116.hs:2:18: error: [GHC-76037] + Not in scope: type constructor or class ‘M2’ diff --git a/testsuite/tests/module/mod120.stderr b/testsuite/tests/module/mod120.stderr index 235bb5b7ebeb..25c59105b1db 100644 --- a/testsuite/tests/module/mod120.stderr +++ b/testsuite/tests/module/mod120.stderr @@ -1,2 +1,3 @@ -mod120.hs:5:5: error: Data constructor not in scope: Foo +mod120.hs:5:5: error: [GHC-88464] + Data constructor not in scope: Foo diff --git a/testsuite/tests/module/mod121.stderr b/testsuite/tests/module/mod121.stderr index f51fec45e5d8..1b299a475f9d 100644 --- a/testsuite/tests/module/mod121.stderr +++ b/testsuite/tests/module/mod121.stderr @@ -1,4 +1,4 @@ -mod121.hs:5:5: error: +mod121.hs:5:5: error: [GHC-88464] Variable not in scope: m2 :: Int -> t Suggested fix: Perhaps use ‘m1’ (imported from Mod121_A) diff --git a/testsuite/tests/module/mod122.stderr b/testsuite/tests/module/mod122.stderr index 51338f0a067a..f6fdafe38110 100644 --- a/testsuite/tests/module/mod122.stderr +++ b/testsuite/tests/module/mod122.stderr @@ -1,2 +1,3 @@ -mod122.hs:5:6: error: Not in scope: type constructor or class ‘C’ +mod122.hs:5:6: error: [GHC-76037] + Not in scope: type constructor or class ‘C’ diff --git a/testsuite/tests/module/mod123.stderr b/testsuite/tests/module/mod123.stderr index c31f6d5a39ee..9de08eb9ec2a 100644 --- a/testsuite/tests/module/mod123.stderr +++ b/testsuite/tests/module/mod123.stderr @@ -1,2 +1,3 @@ -mod123.hs:5:6: error: Not in scope: type constructor or class ‘T’ +mod123.hs:5:6: error: [GHC-76037] + Not in scope: type constructor or class ‘T’ diff --git a/testsuite/tests/module/mod124.stderr b/testsuite/tests/module/mod124.stderr index 8c1109314b5d..9c9009ff9359 100644 --- a/testsuite/tests/module/mod124.stderr +++ b/testsuite/tests/module/mod124.stderr @@ -1,5 +1,5 @@ -mod124.hs:6:6: error: +mod124.hs:6:6: error: [GHC-76037] Not in scope: type constructor or class ‘T’ Suggested fix: Perhaps you want to remove ‘T’ from the explicit hiding list diff --git a/testsuite/tests/module/mod125.stderr b/testsuite/tests/module/mod125.stderr index d21066e2792a..4882d689ce71 100644 --- a/testsuite/tests/module/mod125.stderr +++ b/testsuite/tests/module/mod125.stderr @@ -1,5 +1,5 @@ -mod125.hs:7:5: error: +mod125.hs:7:5: error: [GHC-88464] Data constructor not in scope: T Suggested fix: Perhaps you want to remove ‘T’ from the explicit hiding list diff --git a/testsuite/tests/module/mod126.stderr b/testsuite/tests/module/mod126.stderr index 871ac149457c..453cf910a438 100644 --- a/testsuite/tests/module/mod126.stderr +++ b/testsuite/tests/module/mod126.stderr @@ -1,5 +1,5 @@ -mod126.hs:7:5: error: +mod126.hs:7:5: error: [GHC-88464] Data constructor not in scope: T Suggested fix: Perhaps you want to remove ‘T’ from the explicit hiding list diff --git a/testsuite/tests/module/mod127.stderr b/testsuite/tests/module/mod127.stderr index 66b1c1a530cf..1a5c290574b4 100644 --- a/testsuite/tests/module/mod127.stderr +++ b/testsuite/tests/module/mod127.stderr @@ -1,5 +1,5 @@ -mod127.hs:6:6: error: +mod127.hs:6:6: error: [GHC-76037] Not in scope: type constructor or class ‘T’ Suggested fix: Perhaps you want to remove ‘T’ from the explicit hiding list diff --git a/testsuite/tests/module/mod128.stderr b/testsuite/tests/module/mod128.stderr index c4e1e21c345f..d31d0c616e0b 100644 --- a/testsuite/tests/module/mod128.stderr +++ b/testsuite/tests/module/mod128.stderr @@ -1,3 +1,3 @@ -Mod128_A.hs:2:19: warning: [-Wduplicate-exports (in -Wdefault)] +Mod128_A.hs:2:19: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘T’ is exported by ‘T(Con)’ and ‘T’ diff --git a/testsuite/tests/module/mod130.stderr b/testsuite/tests/module/mod130.stderr index e19a3e258bcd..5c5a32095da7 100644 --- a/testsuite/tests/module/mod130.stderr +++ b/testsuite/tests/module/mod130.stderr @@ -1,5 +1,5 @@ -mod130.hs:7:5: error: +mod130.hs:7:5: error: [GHC-88464] Variable not in scope: (<) :: t0 -> Int -> Int Suggested fix: Perhaps you want to remove ‘<’ from the explicit hiding list diff --git a/testsuite/tests/module/mod131.stderr b/testsuite/tests/module/mod131.stderr index 1b362e4a47e9..6e060eb5fc8c 100644 --- a/testsuite/tests/module/mod131.stderr +++ b/testsuite/tests/module/mod131.stderr @@ -1,5 +1,5 @@ -mod131.hs:2:27: +mod131.hs:2:27: error: [GHC-69158] Conflicting exports for ‘f’: ‘module Mod131_B’ exports ‘f’ imported from ‘Mod131_B’ at mod131.hs:3:17 diff --git a/testsuite/tests/module/mod132.stderr b/testsuite/tests/module/mod132.stderr index 4913c59b0680..917d4904401f 100644 --- a/testsuite/tests/module/mod132.stderr +++ b/testsuite/tests/module/mod132.stderr @@ -1,5 +1,5 @@ -mod132.hs:6:7: error: +mod132.hs:6:7: error: [GHC-31891] • Illegal term-level use of the type constructor or class ‘Foo’ • imported from ‘Mod132_B’ at mod132.hs:4:1-15 (and originally defined in ‘Mod132_A’ at Mod132_A.hs:3:1-14) diff --git a/testsuite/tests/module/mod134.stderr b/testsuite/tests/module/mod134.stderr index a911e32c84ad..d9afe118667c 100644 --- a/testsuite/tests/module/mod134.stderr +++ b/testsuite/tests/module/mod134.stderr @@ -1,5 +1,5 @@ -mod134.hs:6:19: error: +mod134.hs:6:19: error: [GHC-76037] Not in scope: ‘Prelude.head’ Suggested fixes: • Perhaps use one of these: diff --git a/testsuite/tests/module/mod135.stderr b/testsuite/tests/module/mod135.stderr index 197bc93c5479..4a490d1d22f1 100644 --- a/testsuite/tests/module/mod135.stderr +++ b/testsuite/tests/module/mod135.stderr @@ -1,3 +1,3 @@ -mod135.hs:2:11: error: +mod135.hs:2:11: error: [GHC-90973] The export item ‘module Data.List’ is not imported diff --git a/testsuite/tests/module/mod136.stderr b/testsuite/tests/module/mod136.stderr index 3a54d8f2e307..ccf110ac1386 100644 --- a/testsuite/tests/module/mod136.stderr +++ b/testsuite/tests/module/mod136.stderr @@ -1,5 +1,5 @@ -mod136.hs:7:5: error: +mod136.hs:7:5: error: [GHC-88464] Variable not in scope: zipWith5 Suggested fix: Perhaps use one of these: diff --git a/testsuite/tests/module/mod138.stderr b/testsuite/tests/module/mod138.stderr index affabd924d22..b1f9b32f5e7a 100644 --- a/testsuite/tests/module/mod138.stderr +++ b/testsuite/tests/module/mod138.stderr @@ -1,2 +1,2 @@ -mod138.hs:7:5: error: Variable not in scope: isLatin1 +mod138.hs:7:5: error: [GHC-88464] Variable not in scope: isLatin1 diff --git a/testsuite/tests/module/mod14.stderr b/testsuite/tests/module/mod14.stderr index 1eef269d3337..ef9d2d73c42e 100644 --- a/testsuite/tests/module/mod14.stderr +++ b/testsuite/tests/module/mod14.stderr @@ -1,3 +1,3 @@ -mod14.hs:2:10: warning: [-Wduplicate-exports (in -Wdefault)] +mod14.hs:2:10: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘m2’ is exported by ‘C(m1, m2, m2, m3)’ and ‘C(m1, m2, m2, m3)’ diff --git a/testsuite/tests/module/mod142.stderr b/testsuite/tests/module/mod142.stderr index 0ed3fdbbf4a5..f1a7994949fd 100644 --- a/testsuite/tests/module/mod142.stderr +++ b/testsuite/tests/module/mod142.stderr @@ -1,5 +1,5 @@ -mod142.hs:2:21: +mod142.hs:2:21: error: [GHC-69158] Conflicting exports for ‘x’: ‘module Mod142_A’ exports ‘Mod142_A.x’ imported from ‘Mod142_A’ at mod142.hs:4:1-15 diff --git a/testsuite/tests/module/mod143.stderr b/testsuite/tests/module/mod143.stderr index 2e28ad7edb6c..3ea61f2eda64 100644 --- a/testsuite/tests/module/mod143.stderr +++ b/testsuite/tests/module/mod143.stderr @@ -1,5 +1,5 @@ -mod143.hs:2:21: +mod143.hs:2:21: error: [GHC-69158] Conflicting exports for ‘Foo’: ‘module Mod143_A’ exports ‘Mod143_A.Foo’ imported from ‘Mod143_A’ at mod143.hs:4:1-15 diff --git a/testsuite/tests/module/mod144.stderr b/testsuite/tests/module/mod144.stderr index 02330dc1b923..9bda07187d36 100644 --- a/testsuite/tests/module/mod144.stderr +++ b/testsuite/tests/module/mod144.stderr @@ -1,5 +1,5 @@ -mod144.hs:2:27: +mod144.hs:2:27: error: [GHC-69158] Conflicting exports for ‘Bar’: ‘module Mod144_A’ exports ‘Mod144_A.Bar’ imported from ‘Mod144_A’ at mod144.hs:4:1-15 diff --git a/testsuite/tests/module/mod145.stderr b/testsuite/tests/module/mod145.stderr index ac55593a0150..02019e9c45a1 100644 --- a/testsuite/tests/module/mod145.stderr +++ b/testsuite/tests/module/mod145.stderr @@ -1,5 +1,5 @@ -mod145.hs:2:30: +mod145.hs:2:30: error: [GHC-69158] Conflicting exports for ‘m1’: ‘module Mod145_A’ exports ‘Mod145_A.m1’ imported from ‘Mod145_A’ at mod145.hs:4:1-15 diff --git a/testsuite/tests/module/mod146.stderr b/testsuite/tests/module/mod146.stderr index 4d771478ec2e..ada9b36db50f 100644 --- a/testsuite/tests/module/mod146.stderr +++ b/testsuite/tests/module/mod146.stderr @@ -1,5 +1,5 @@ -mod146.hs:2:30: +mod146.hs:2:30: error: [GHC-69158] Conflicting exports for ‘m1’: ‘module Mod145_A’ exports ‘Mod145_A.m1’ imported from ‘Mod145_A’ at mod146.hs:4:1-15 diff --git a/testsuite/tests/module/mod147.stderr b/testsuite/tests/module/mod147.stderr index 5500abc5bd2a..a4ca6980f5d0 100644 --- a/testsuite/tests/module/mod147.stderr +++ b/testsuite/tests/module/mod147.stderr @@ -1,5 +1,5 @@ -mod147.hs:6:5: error: +mod147.hs:6:5: error: [GHC-31891] • Illegal term-level use of the type constructor or class ‘D’ • imported from ‘Mod147_A’ at mod147.hs:4:1-15 (and originally defined at Mod147_A.hs:3:1-14) diff --git a/testsuite/tests/module/mod150.stderr b/testsuite/tests/module/mod150.stderr index 2dc9feb66fcd..4b49d6f4edc8 100644 --- a/testsuite/tests/module/mod150.stderr +++ b/testsuite/tests/module/mod150.stderr @@ -1,5 +1,5 @@ -mod150.hs:2:20: +mod150.hs:2:20: error: [GHC-69158] Conflicting exports for ‘id’: ‘module Prelude’ exports ‘Prelude.id’ imported from ‘Prelude’ at mod150.hs:2:8 diff --git a/testsuite/tests/module/mod155.stderr b/testsuite/tests/module/mod155.stderr index ba03a62da001..013705654ae5 100644 --- a/testsuite/tests/module/mod155.stderr +++ b/testsuite/tests/module/mod155.stderr @@ -1,5 +1,5 @@ -mod155.hs:2:10: +mod155.hs:2:10: error: [GHC-69158] Conflicting exports for ‘id’: ‘module M’ exports ‘M.id’ imported from ‘Prelude’ at mod155.hs:4:1-19 diff --git a/testsuite/tests/module/mod158.stderr b/testsuite/tests/module/mod158.stderr index f59b91a29b99..cfbafcb55b67 100644 --- a/testsuite/tests/module/mod158.stderr +++ b/testsuite/tests/module/mod158.stderr @@ -1,3 +1,3 @@ -mod158.hs:12:5: error: Data constructor not in scope: C +mod158.hs:12:5: error: [GHC-88464] Data constructor not in scope: C exit(1) diff --git a/testsuite/tests/module/mod160.stderr b/testsuite/tests/module/mod160.stderr index d7cba8d1e827..3faf9b9fed63 100644 --- a/testsuite/tests/module/mod160.stderr +++ b/testsuite/tests/module/mod160.stderr @@ -1,5 +1,5 @@ -mod160.hs:12:5: error: +mod160.hs:12:5: error: [GHC-88464] Variable not in scope: m3 :: Char -> t Suggested fix: Perhaps use one of these: diff --git a/testsuite/tests/module/mod161.stderr b/testsuite/tests/module/mod161.stderr index 5a812812ea0f..2fde21226e71 100644 --- a/testsuite/tests/module/mod161.stderr +++ b/testsuite/tests/module/mod161.stderr @@ -1,2 +1,2 @@ -mod161.hs:2:12: Not in scope: ‘bar’ +mod161.hs:2:12: error: [GHC-76037] Not in scope: ‘bar’ diff --git a/testsuite/tests/module/mod17.stderr b/testsuite/tests/module/mod17.stderr index 91c4ff27319c..faeba9b9ac1d 100644 --- a/testsuite/tests/module/mod17.stderr +++ b/testsuite/tests/module/mod17.stderr @@ -1,5 +1,5 @@ -mod17.hs:2:10: error: +mod17.hs:2:10: error: [GHC-88993] • The type constructor ‘C’ is not the parent of the data constructor ‘Left’. Data constructors can only be exported with their parent type constructor. Parent: Either diff --git a/testsuite/tests/module/mod178.stderr b/testsuite/tests/module/mod178.stderr index fb72b112c514..f27ddf270a94 100644 --- a/testsuite/tests/module/mod178.stderr +++ b/testsuite/tests/module/mod178.stderr @@ -1,5 +1,5 @@ -Mod178_2.hs:1:1: +Mod178_2.hs:1:1: error: [GHC-28623] File name does not match module name: Saw : ‘Main’ Expected: ‘Mod178_2’ diff --git a/testsuite/tests/module/mod180.stderr b/testsuite/tests/module/mod180.stderr index 1518a63e8272..6971e65f1ddf 100644 --- a/testsuite/tests/module/mod180.stderr +++ b/testsuite/tests/module/mod180.stderr @@ -1,5 +1,5 @@ -mod180.hs:8:5: error: +mod180.hs:8:5: error: [GHC-83865] • Couldn't match expected type ‘T’ with actual type ‘main:Mod180_A.T’ NB: ‘T’ is defined at Mod180_B.hs:3:1-10 diff --git a/testsuite/tests/module/mod182.stderr b/testsuite/tests/module/mod182.stderr index 437b080d48db..01e564c3f775 100644 --- a/testsuite/tests/module/mod182.stderr +++ b/testsuite/tests/module/mod182.stderr @@ -1,5 +1,4 @@ -mod182.hs:6:16: error: - Found ‘qualified’ in postpositive position. - Suggested fix: - Perhaps you intended to use ImportQualifiedPost +mod182.hs:6:16: error: [GHC-87491] + Found ‘qualified’ in postpositive position. + Suggested fix: Perhaps you intended to use ImportQualifiedPost diff --git a/testsuite/tests/module/mod183.stderr b/testsuite/tests/module/mod183.stderr index 5f3c13153769..6cb6b632528e 100644 --- a/testsuite/tests/module/mod183.stderr +++ b/testsuite/tests/module/mod183.stderr @@ -1 +1,3 @@ -mod183.hs:5:26: Multiple occurrences of 'qualified' + +mod183.hs:5:26: error: [GHC-05661] + Multiple occurrences of 'qualified' diff --git a/testsuite/tests/module/mod184.stderr b/testsuite/tests/module/mod184.stderr index d83a316d1831..ab72b5d0b29e 100644 --- a/testsuite/tests/module/mod184.stderr +++ b/testsuite/tests/module/mod184.stderr @@ -1,6 +1,6 @@ -mod184.hs:6:8: warning: [-Wprepositive-qualified-module] +mod184.hs:6:8: warning: [GHC-07924] [-Wprepositive-qualified-module] Found ‘qualified’ in prepositive position Suggested fixes: - Place ‘qualified’ after the module name. - Perhaps you intended to use ImportQualifiedPost + • Place ‘qualified’ after the module name. + • Perhaps you intended to use ImportQualifiedPost diff --git a/testsuite/tests/module/mod25.stderr b/testsuite/tests/module/mod25.stderr index 7a60fa81f4db..00ac3586d7c1 100644 --- a/testsuite/tests/module/mod25.stderr +++ b/testsuite/tests/module/mod25.stderr @@ -1,2 +1,2 @@ -mod25.hs:3:16: Not in scope: type variable ‘b’ +mod25.hs:3:16: error: [GHC-76037] Not in scope: type variable ‘b’ diff --git a/testsuite/tests/module/mod26.stderr b/testsuite/tests/module/mod26.stderr index beb0050e05fb..3a9c4e45ef57 100644 --- a/testsuite/tests/module/mod26.stderr +++ b/testsuite/tests/module/mod26.stderr @@ -1,2 +1,2 @@ -mod26.hs:3:21: Not in scope: type variable ‘b’ +mod26.hs:3:21: error: [GHC-76037] Not in scope: type variable ‘b’ diff --git a/testsuite/tests/module/mod29.stderr b/testsuite/tests/module/mod29.stderr index 0392497c2ed2..b7989606a860 100644 --- a/testsuite/tests/module/mod29.stderr +++ b/testsuite/tests/module/mod29.stderr @@ -1,5 +1,5 @@ -mod29.hs:6:12: error: +mod29.hs:6:12: error: [GHC-76037] Not in scope: type constructor or class ‘Char’ Suggested fix: Perhaps you want to add ‘Char’ to the import list in the import of diff --git a/testsuite/tests/module/mod3.stderr b/testsuite/tests/module/mod3.stderr index c0c620e2404c..695f89891245 100644 --- a/testsuite/tests/module/mod3.stderr +++ b/testsuite/tests/module/mod3.stderr @@ -1,5 +1,5 @@ -mod3.hs:2:10: error: +mod3.hs:2:10: error: [GHC-88993] • The type constructor ‘T’ is not the parent of the data constructor ‘K1’. Data constructors can only be exported with their parent type constructor. Parent: T' diff --git a/testsuite/tests/module/mod36.stderr b/testsuite/tests/module/mod36.stderr index 438b97b6aa61..090082a0a29a 100644 --- a/testsuite/tests/module/mod36.stderr +++ b/testsuite/tests/module/mod36.stderr @@ -1,5 +1,5 @@ -mod36.hs:5:5: error: +mod36.hs:5:5: error: [GHC-88464] Variable not in scope: const Suggested fix: Perhaps you want to remove ‘const’ from the explicit hiding list diff --git a/testsuite/tests/module/mod4.stderr b/testsuite/tests/module/mod4.stderr index 2b4d400b28d7..dce5d5f199ea 100644 --- a/testsuite/tests/module/mod4.stderr +++ b/testsuite/tests/module/mod4.stderr @@ -1,5 +1,5 @@ -mod4.hs:2:10: error: +mod4.hs:2:10: error: [GHC-76037] • Not in scope: data constructor ‘K2’ • In the export: T(K1, K2) Suggested fix: Perhaps use ‘K1’ (line 3) diff --git a/testsuite/tests/module/mod44.stderr b/testsuite/tests/module/mod44.stderr index 0f286f9cc299..0d46cf6b9a47 100644 --- a/testsuite/tests/module/mod44.stderr +++ b/testsuite/tests/module/mod44.stderr @@ -1,5 +1,5 @@ -mod44.hs:4:10: +mod44.hs:4:10: error: [GHC-59692] Duplicate instance declarations: instance Eq T -- Defined at mod44.hs:4:10 instance Eq T -- Defined at mod44.hs:5:10 diff --git a/testsuite/tests/module/mod46.stderr b/testsuite/tests/module/mod46.stderr index fb6bd6692cad..8e1bad3b2b72 100644 --- a/testsuite/tests/module/mod46.stderr +++ b/testsuite/tests/module/mod46.stderr @@ -1,5 +1,5 @@ -mod46.hs:4:10: error: +mod46.hs:4:10: error: [GHC-39999] • No instance for ‘Eq T’ arising from the superclasses of an instance declaration • In the instance declaration for ‘Ord T’ diff --git a/testsuite/tests/module/mod47.stderr b/testsuite/tests/module/mod47.stderr index d88d3d140dba..b7ff6562e678 100644 --- a/testsuite/tests/module/mod47.stderr +++ b/testsuite/tests/module/mod47.stderr @@ -1,5 +1,5 @@ -mod47.hs:6:10: error: +mod47.hs:6:10: error: [GHC-39999] • Could not deduce ‘Num a’ arising from the superclasses of an instance declaration from the context: (Eq a, Enum a) diff --git a/testsuite/tests/module/mod49.stderr b/testsuite/tests/module/mod49.stderr index 4354bb77f25b..e5ffcfce3cbc 100644 --- a/testsuite/tests/module/mod49.stderr +++ b/testsuite/tests/module/mod49.stderr @@ -1,2 +1,3 @@ -mod49.hs:5:3: ‘y’ is not a (visible) method of class ‘C’ +mod49.hs:5:3: error: [GHC-54721] + ‘y’ is not a (visible) method of class ‘C’ diff --git a/testsuite/tests/module/mod5.stderr b/testsuite/tests/module/mod5.stderr index e8d5adb36e5d..2bf5e67d96c6 100644 --- a/testsuite/tests/module/mod5.stderr +++ b/testsuite/tests/module/mod5.stderr @@ -1,3 +1,3 @@ -mod5.hs:2:10: warning: [-Wduplicate-exports (in -Wdefault)] +mod5.hs:2:10: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘K1’ is exported by ‘T(K1, K1)’ and ‘T(K1, K1)’ diff --git a/testsuite/tests/module/mod50.stderr b/testsuite/tests/module/mod50.stderr index 9669427f8f9d..d6fc2abeed92 100644 --- a/testsuite/tests/module/mod50.stderr +++ b/testsuite/tests/module/mod50.stderr @@ -1,2 +1,3 @@ -mod50.hs:3:22: error: Not in scope: type constructor or class ‘Foo’ +mod50.hs:3:22: error: [GHC-76037] + Not in scope: type constructor or class ‘Foo’ diff --git a/testsuite/tests/module/mod51.stderr b/testsuite/tests/module/mod51.stderr index 2d7a02d40d5d..c3cf259df741 100644 --- a/testsuite/tests/module/mod51.stderr +++ b/testsuite/tests/module/mod51.stderr @@ -1,5 +1,5 @@ -mod51.hs:3:22: +mod51.hs:3:22: error: [GHC-59692] Duplicate instance declarations: instance Eq T -- Defined at mod51.hs:3:22 instance Eq T -- Defined at mod51.hs:3:25 diff --git a/testsuite/tests/module/mod52.stderr b/testsuite/tests/module/mod52.stderr index 2359ab3421d8..833e0da71e7a 100644 --- a/testsuite/tests/module/mod52.stderr +++ b/testsuite/tests/module/mod52.stderr @@ -1,5 +1,5 @@ -mod52.hs:3:22: +mod52.hs:3:22: error: [GHC-59692] Duplicate instance declarations: instance Eq T -- Defined at mod52.hs:3:22 instance Eq T -- Defined at mod52.hs:4:10 diff --git a/testsuite/tests/module/mod53.stderr b/testsuite/tests/module/mod53.stderr index b8f442214b15..7e980745fb12 100644 --- a/testsuite/tests/module/mod53.stderr +++ b/testsuite/tests/module/mod53.stderr @@ -1,6 +1,6 @@ -mod53.hs:4:22: error: - Can't make a derived instance of ‘C T’: - ‘C’ is not a stock derivable class (Eq, Show, etc.) - In the data declaration for ‘T’ +mod53.hs:4:22: error: [GHC-00158] + • Can't make a derived instance of ‘C T’: + ‘C’ is not a stock derivable class (Eq, Show, etc.) + • In the data declaration for ‘T’ Suggested fix: Perhaps you intended to use DeriveAnyClass diff --git a/testsuite/tests/module/mod54.stderr b/testsuite/tests/module/mod54.stderr index 4ed64b750935..44c1bb977b95 100644 --- a/testsuite/tests/module/mod54.stderr +++ b/testsuite/tests/module/mod54.stderr @@ -1,5 +1,5 @@ -mod54.hs:3:22: error: +mod54.hs:3:22: error: [GHC-39999] • No instance for ‘Eq T’ arising from the 'deriving' clause of a data type declaration Possible fix: diff --git a/testsuite/tests/module/mod55.stderr b/testsuite/tests/module/mod55.stderr index 341de62692c8..b6ddb76610cd 100644 --- a/testsuite/tests/module/mod55.stderr +++ b/testsuite/tests/module/mod55.stderr @@ -1,6 +1,6 @@ -mod55.hs:3:26: - Can't make a derived instance of ‘Enum T’: - ‘T’ must be an enumeration type - (an enumeration consists of one or more nullary, non-GADT constructors) - In the data declaration for ‘T’ +mod55.hs:3:26: error: [GHC-30750] + • Can't make a derived instance of ‘Enum T’: + ‘T’ must be an enumeration type + (an enumeration consists of one or more nullary, non-GADT constructors) + • In the data declaration for ‘T’ diff --git a/testsuite/tests/module/mod56.stderr b/testsuite/tests/module/mod56.stderr index 4e3bb98fa4d0..7b80848879a6 100644 --- a/testsuite/tests/module/mod56.stderr +++ b/testsuite/tests/module/mod56.stderr @@ -1,8 +1,8 @@ -mod56.hs:4:39: - Can't make a derived instance of ‘Ix T’: - ‘T’ must be an enumeration type - (an enumeration consists of one or more nullary, non-GADT constructors) - or - ‘T’ must have precisely one constructor - In the data declaration for ‘T’ +mod56.hs:4:39: error: [GHC-58291] + • Can't make a derived instance of ‘Ix T’: + ‘T’ must be an enumeration type + (an enumeration consists of one or more nullary, non-GADT constructors) + or + ‘T’ must have precisely one constructor + • In the data declaration for ‘T’ diff --git a/testsuite/tests/module/mod58.stderr b/testsuite/tests/module/mod58.stderr index d92345a8afa4..74169d8c81bf 100644 --- a/testsuite/tests/module/mod58.stderr +++ b/testsuite/tests/module/mod58.stderr @@ -1,4 +1,4 @@ -mod58.hs:4:1: +mod58.hs:4:1: error: [GHC-99565] Multiple default declarations - here was another default declaration mod58.hs:3:1-21 + here was another default declaration mod58.hs:3:1-21 diff --git a/testsuite/tests/module/mod59.stderr b/testsuite/tests/module/mod59.stderr index 90fb99a9dfe8..9ec4e85102ba 100644 --- a/testsuite/tests/module/mod59.stderr +++ b/testsuite/tests/module/mod59.stderr @@ -1,2 +1,2 @@ -mod59.hs:3:3: Not in scope: data constructor ‘K’ +mod59.hs:3:3: error: [GHC-76037] Not in scope: data constructor ‘K’ diff --git a/testsuite/tests/module/mod62.stderr b/testsuite/tests/module/mod62.stderr index 539a905f2690..eab3f938b1f0 100644 --- a/testsuite/tests/module/mod62.stderr +++ b/testsuite/tests/module/mod62.stderr @@ -1,6 +1,6 @@ mod62.hs:3:9: error: Qualified name in binding position: M.y -mod62.hs:3:22: error: +mod62.hs:3:22: error: [GHC-76037] Not in scope: ‘M.y’ Suggested fix: Perhaps use ‘M.x’ (line 3) diff --git a/testsuite/tests/module/mod63.stderr b/testsuite/tests/module/mod63.stderr index b76c8b06004e..a63f6ac322c7 100644 --- a/testsuite/tests/module/mod63.stderr +++ b/testsuite/tests/module/mod63.stderr @@ -1,5 +1,5 @@ -mod63.hs:3:1: +mod63.hs:3:1: error: [GHC-91938] Equations for ‘f’ have different numbers of arguments mod63.hs:3:1-8 mod63.hs:4:1-11 diff --git a/testsuite/tests/module/mod67.stderr b/testsuite/tests/module/mod67.stderr index 5c15a8658645..185c8db7a66e 100644 --- a/testsuite/tests/module/mod67.stderr +++ b/testsuite/tests/module/mod67.stderr @@ -1,3 +1,3 @@ -mod67.hs:3:1: +mod67.hs:3:1: error: [GHC-44432] The type signature for ‘f’ lacks an accompanying binding diff --git a/testsuite/tests/module/mod69.stderr b/testsuite/tests/module/mod69.stderr index dea161115e89..96775ae3bb8b 100644 --- a/testsuite/tests/module/mod69.stderr +++ b/testsuite/tests/module/mod69.stderr @@ -1,4 +1,4 @@ -mod69.hs:3:7: error: +mod69.hs:3:7: error: [GHC-84077] @-pattern in expression context: x@1 Type application syntax requires a space before '@' diff --git a/testsuite/tests/module/mod7.stderr b/testsuite/tests/module/mod7.stderr index 20a216a13e63..5ad30b11f353 100644 --- a/testsuite/tests/module/mod7.stderr +++ b/testsuite/tests/module/mod7.stderr @@ -1,2 +1,3 @@ -mod7.hs:2:10: Not in scope: type constructor or class ‘T’ +mod7.hs:2:10: error: [GHC-76037] + Not in scope: type constructor or class ‘T’ diff --git a/testsuite/tests/module/mod70.stderr b/testsuite/tests/module/mod70.stderr index 6e9f854b7a72..fa0b2c69624e 100644 --- a/testsuite/tests/module/mod70.stderr +++ b/testsuite/tests/module/mod70.stderr @@ -1,4 +1,4 @@ -mod70.hs:3:9: error: +mod70.hs:3:9: error: [GHC-27207] Lazy pattern in expression context: ~1 Did you mean to add a space after the '~'? diff --git a/testsuite/tests/module/mod71.stderr b/testsuite/tests/module/mod71.stderr index 003e0bb41c66..73e1a3633931 100644 --- a/testsuite/tests/module/mod71.stderr +++ b/testsuite/tests/module/mod71.stderr @@ -1,5 +1,5 @@ -mod71.hs:4:9: error: +mod71.hs:4:9: error: [GHC-88464] • Found hole: _ :: t2 Where: ‘t2’ is a rigid type variable bound by the inferred type of f :: Num t1 => (t2 -> t1 -> t3) -> t3 diff --git a/testsuite/tests/module/mod72.stderr b/testsuite/tests/module/mod72.stderr index 5f6dcc93f55c..aa90422e7584 100644 --- a/testsuite/tests/module/mod72.stderr +++ b/testsuite/tests/module/mod72.stderr @@ -1,2 +1,3 @@ -mod72.hs:3:7: error: Variable not in scope: g :: t1 -> t2 +mod72.hs:3:7: error: [GHC-88464] + Variable not in scope: g :: t1 -> t2 diff --git a/testsuite/tests/module/mod73.stderr b/testsuite/tests/module/mod73.stderr index 2fe9582a4ad2..9e990911012b 100644 --- a/testsuite/tests/module/mod73.stderr +++ b/testsuite/tests/module/mod73.stderr @@ -1,5 +1,5 @@ -mod73.hs:3:7: error: +mod73.hs:3:7: error: [GHC-76037] Not in scope: ‘Prelude.g’ NB: the module ‘Prelude’ does not export ‘g’. Suggested fix: diff --git a/testsuite/tests/module/mod74.stderr b/testsuite/tests/module/mod74.stderr index e9711586067c..7570cfbcc396 100644 --- a/testsuite/tests/module/mod74.stderr +++ b/testsuite/tests/module/mod74.stderr @@ -1,4 +1,4 @@ -mod74.hs:3:7: error: +mod74.hs:3:7: error: [GHC-76037] Not in scope: ‘N.g’ NB: no module named ‘N’ is imported. diff --git a/testsuite/tests/module/mod76.stderr b/testsuite/tests/module/mod76.stderr index 7a90f5178a0f..2392b528fbc9 100644 --- a/testsuite/tests/module/mod76.stderr +++ b/testsuite/tests/module/mod76.stderr @@ -1,2 +1,2 @@ -mod76.hs:5:1: parse error on input ‘module’ +mod76.hs:5:1: error: [GHC-58481] parse error on input ‘module’ diff --git a/testsuite/tests/module/mod77.stderr b/testsuite/tests/module/mod77.stderr index c2c78c6a8f5c..6086a3d5f15a 100644 --- a/testsuite/tests/module/mod77.stderr +++ b/testsuite/tests/module/mod77.stderr @@ -1,3 +1,3 @@ -mod77.hs:3:7: +mod77.hs:3:7: error: [GHC-44432] The fixity signature for ‘$$$’ lacks an accompanying binding diff --git a/testsuite/tests/module/mod8.stderr b/testsuite/tests/module/mod8.stderr index d06d6903ac58..4445aa1aa532 100644 --- a/testsuite/tests/module/mod8.stderr +++ b/testsuite/tests/module/mod8.stderr @@ -1,2 +1,3 @@ -mod8.hs:2:10: error: The export item ‘module N’ is not imported +mod8.hs:2:10: error: [GHC-90973] + The export item ‘module N’ is not imported diff --git a/testsuite/tests/module/mod87.stderr b/testsuite/tests/module/mod87.stderr index c5b92a85da10..009003007893 100644 --- a/testsuite/tests/module/mod87.stderr +++ b/testsuite/tests/module/mod87.stderr @@ -1,5 +1,5 @@ -mod87.hs:4:5: error: +mod87.hs:4:5: error: [GHC-88464] Data constructor not in scope: Left :: GHC.Types.Char -> t Suggested fix: Perhaps you want to add ‘Left’ to the import list in the import of diff --git a/testsuite/tests/module/mod88.stderr b/testsuite/tests/module/mod88.stderr index aa2627c861b7..81c758f8b09c 100644 --- a/testsuite/tests/module/mod88.stderr +++ b/testsuite/tests/module/mod88.stderr @@ -1,5 +1,5 @@ -mod88.hs:5:5: error: +mod88.hs:5:5: error: [GHC-76037] Not in scope: data constructor ‘Prelude.Left’ Suggested fix: Perhaps you want to add ‘Left’ to the import list in the import of diff --git a/testsuite/tests/module/mod89.stderr b/testsuite/tests/module/mod89.stderr index ef07a5ab8a30..d5e17a6c1ace 100644 --- a/testsuite/tests/module/mod89.stderr +++ b/testsuite/tests/module/mod89.stderr @@ -1,3 +1,3 @@ -mod89.hs:5:16: error: +mod89.hs:5:16: error: [GHC-18208] Expecting a type constructor but found a variable, ‘map’. diff --git a/testsuite/tests/module/mod9.stderr b/testsuite/tests/module/mod9.stderr index b4eb0d7e40f9..ee8cc40ce1e8 100644 --- a/testsuite/tests/module/mod9.stderr +++ b/testsuite/tests/module/mod9.stderr @@ -1,2 +1,3 @@ -mod9.hs:2:10: Not in scope: type constructor or class ‘T’ +mod9.hs:2:10: error: [GHC-76037] + Not in scope: type constructor or class ‘T’ diff --git a/testsuite/tests/module/mod97.stderr b/testsuite/tests/module/mod97.stderr index db9b30e83d71..2b6d5258d036 100644 --- a/testsuite/tests/module/mod97.stderr +++ b/testsuite/tests/module/mod97.stderr @@ -1,5 +1,5 @@ -mod97.hs:4:9: error: +mod97.hs:4:9: error: [GHC-88464] Variable not in scope: (==) :: GHC.Types.Char -> GHC.Types.Char -> t Suggested fix: diff --git a/testsuite/tests/module/mod98.stderr b/testsuite/tests/module/mod98.stderr index 7af91a8775a4..52c0cf646e32 100644 --- a/testsuite/tests/module/mod98.stderr +++ b/testsuite/tests/module/mod98.stderr @@ -1,5 +1,5 @@ -mod98.hs:3:1: error: +mod98.hs:3:1: error: [GHC-94426] Invalid type signature: M.x :: ... Suggested fix: A type signature should be of form <variables> :: <type> diff --git a/testsuite/tests/monadfail/MonadFailErrors.stderr b/testsuite/tests/monadfail/MonadFailErrors.stderr index 792b4808c63a..7c4ec5a940cf 100644 --- a/testsuite/tests/monadfail/MonadFailErrors.stderr +++ b/testsuite/tests/monadfail/MonadFailErrors.stderr @@ -1,5 +1,5 @@ -MonadFailErrors.hs:14:5: error: +MonadFailErrors.hs:14:5: error: [GHC-39999] • Could not deduce ‘MonadFail m’ arising from a do statement with the failable pattern ‘Just x’ @@ -20,7 +20,7 @@ MonadFailErrors.hs:14:5: error: = do Just x <- undefined undefined -MonadFailErrors.hs:28:5: error: +MonadFailErrors.hs:28:5: error: [GHC-39999] • No instance for ‘MonadFail Identity’ arising from a do statement with the failable pattern ‘Just x’ @@ -33,7 +33,7 @@ MonadFailErrors.hs:28:5: error: = do Just x <- undefined undefined -MonadFailErrors.hs:42:5: error: +MonadFailErrors.hs:42:5: error: [GHC-39999] • No instance for ‘MonadFail ((->) r)’ arising from a do statement with the failable pattern ‘Just x’ diff --git a/testsuite/tests/numeric/should_compile/T10929.stderr b/testsuite/tests/numeric/should_compile/T10929.stderr index 15c382ca3e32..31fd580f67f8 100644 --- a/testsuite/tests/numeric/should_compile/T10929.stderr +++ b/testsuite/tests/numeric/should_compile/T10929.stderr @@ -1,9 +1,9 @@ -T10929.hs:4:6: warning: [-Wempty-enumerations (in -Wdefault)] +T10929.hs:4:6: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -T10929.hs:22:6: warning: [-Wempty-enumerations (in -Wdefault)] +T10929.hs:22:6: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -T10929.hs:28:6: warning: [-Wempty-enumerations (in -Wdefault)] +T10929.hs:28:6: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty diff --git a/testsuite/tests/numeric/should_compile/T14465.stderr b/testsuite/tests/numeric/should_compile/T14465.stderr index cb26f6f0b77c..0ade16474d0a 100644 --- a/testsuite/tests/numeric/should_compile/T14465.stderr +++ b/testsuite/tests/numeric/should_compile/T14465.stderr @@ -1,3 +1,3 @@ -T14465.hs:27:13: warning: [-Woverflowed-literals (in -Wdefault)] +T14465.hs:27:13: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -1 is negative but Natural only supports positive numbers diff --git a/testsuite/tests/numeric/should_compile/T7881.stderr b/testsuite/tests/numeric/should_compile/T7881.stderr index 9bcca4f5e932..ae76b6b86bc3 100644 --- a/testsuite/tests/numeric/should_compile/T7881.stderr +++ b/testsuite/tests/numeric/should_compile/T7881.stderr @@ -1,9 +1,9 @@ -T7881.hs:7:6: warning: [-Wempty-enumerations (in -Wdefault)] +T7881.hs:7:6: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -T7881.hs:25:6: warning: [-Wempty-enumerations (in -Wdefault)] +T7881.hs:25:6: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -T7881.hs:31:6: warning: [-Wempty-enumerations (in -Wdefault)] +T7881.hs:31:6: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty diff --git a/testsuite/tests/numeric/should_compile/T7895.stderr b/testsuite/tests/numeric/should_compile/T7895.stderr index cf25e80a256d..daccc189a932 100644 --- a/testsuite/tests/numeric/should_compile/T7895.stderr +++ b/testsuite/tests/numeric/should_compile/T7895.stderr @@ -1,6 +1,6 @@ -T7895.hs:10:6: warning: [-Woverflowed-literals (in -Wdefault)] +T7895.hs:10:6: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 300 is out of the Word8 range 0..255 -T7895.hs:13:6: warning: [-Woverflowed-literals (in -Wdefault)] +T7895.hs:13:6: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -129 is out of the Int8 range -128..127 diff --git a/testsuite/tests/numeric/should_compile/T8542.stderr b/testsuite/tests/numeric/should_compile/T8542.stderr index 2d12b9fd7f57..aaae8d775f64 100644 --- a/testsuite/tests/numeric/should_compile/T8542.stderr +++ b/testsuite/tests/numeric/should_compile/T8542.stderr @@ -1,5 +1,5 @@ -T8542.hs:9:5: warning: [-Woverflowed-literals (in -Wdefault)] +T8542.hs:9:5: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 128 is out of the Int8 range -128..127 Suggested fix: Perhaps you intended to use NegativeLiterals diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr index f3ccc3df175e..cf5ace10630f 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr @@ -1,5 +1,5 @@ -overloadedlistsfail01.hs:5:8: error: +overloadedlistsfail01.hs:5:8: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘print’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -7,12 +7,12 @@ overloadedlistsfail01.hs:5:8: error: instance Show Ordering -- Defined in ‘GHC.Show’ instance Show a => Show (Maybe a) -- Defined in ‘GHC.Show’ ...plus 25 others - ...plus 14 instances involving out-of-scope types + ...plus 12 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: print [1] In an equation for ‘main’: main = print [1] -overloadedlistsfail01.hs:5:14: error: +overloadedlistsfail01.hs:5:14: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from an overloaded list prevents the constraint ‘(GHC.IsList.IsList a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -24,7 +24,7 @@ overloadedlistsfail01.hs:5:14: error: In the expression: print [1] In an equation for ‘main’: main = print [1] -overloadedlistsfail01.hs:5:15: error: +overloadedlistsfail01.hs:5:15: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from the literal ‘1’ prevents the constraint ‘(Num (GHC.IsList.Item a0))’ from being solved. diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr index f6717a6df87f..c3798ed7631b 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr @@ -1,11 +1,11 @@ -overloadedlistsfail02.hs:6:8: error: +overloadedlistsfail02.hs:6:8: error: [GHC-39999] • No instance for ‘GHC.IsList.IsList Foo’ arising from an overloaded list • In the expression: [7] In an equation for ‘test’: test = [7] -overloadedlistsfail02.hs:6:9: error: +overloadedlistsfail02.hs:6:9: error: [GHC-39999] • No instance for ‘Num (GHC.IsList.Item Foo)’ arising from the literal ‘7’ • In the expression: 7 diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail03.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail03.stderr index 1380dda229d8..715c845cba28 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail03.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail03.stderr @@ -1,5 +1,5 @@ -overloadedlistsfail03.hs:3:28: error: +overloadedlistsfail03.hs:3:28: error: [GHC-83865] • Couldn't match type ‘[Char]’ with ‘Char’ Expected: GHC.IsList.Item [Char] Actual: String diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr index 5a5f3915a9ce..a0632bbb82c0 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr @@ -1,5 +1,5 @@ -overloadedlistsfail04.hs:3:15: error: +overloadedlistsfail04.hs:3:15: error: [GHC-39999] • No instance for ‘Enum [Char]’ arising from the arithmetic sequence ‘"a" .. "b"’ • In the first argument of ‘print’, namely diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail05.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail05.stderr index 1de0a5999510..5a0a0306c325 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail05.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail05.stderr @@ -1,5 +1,5 @@ -overloadedlistsfail05.hs:3:24: error: +overloadedlistsfail05.hs:3:24: error: [GHC-83865] • Couldn't match type ‘Char’ with ‘Int’ Expected: GHC.IsList.Item [Int] Actual: Char diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail06.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail06.stderr index 91668d16d01f..33994bd886ce 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail06.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail06.stderr @@ -1,5 +1,9 @@ -overloadedlistsfail06.hs:3:3: Not in scope: ‘fromListN’ -overloadedlistsfail06.hs:3:3: error: Not in scope: ‘toList’ +overloadedlistsfail06.hs:3:3: error: [GHC-76037] + Not in scope: ‘fromListN’ -overloadedlistsfail06.hs:3:8: error: Not in scope: ‘fromListN’ +overloadedlistsfail06.hs:3:3: error: [GHC-76037] + Not in scope: ‘toList’ + +overloadedlistsfail06.hs:3:8: error: [GHC-76037] + Not in scope: ‘fromListN’ diff --git a/testsuite/tests/overloadedrecflds/ghci/T19314.stdout b/testsuite/tests/overloadedrecflds/ghci/T19314.stdout index ed29a3d212fe..1ec0c97201dd 100644 --- a/testsuite/tests/overloadedrecflds/ghci/T19314.stdout +++ b/testsuite/tests/overloadedrecflds/ghci/T19314.stdout @@ -1,13 +1,13 @@ w :: [a] -> a x :: [a] -> a -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-88464] Variable not in scope: y Suggested fix: Notice that ‘y’ is a field selector that has been suppressed by NoFieldSelectors. -<interactive>:1:1: error: +<interactive>:1:1: error: [GHC-88464] Variable not in scope: z Suggested fix: Notice that ‘z’ is a field selector diff --git a/testsuite/tests/overloadedrecflds/ghci/duplicaterecfldsghci01.stdout b/testsuite/tests/overloadedrecflds/ghci/duplicaterecfldsghci01.stdout index c7550d36e25d..ae87b8ea19ef 100644 --- a/testsuite/tests/overloadedrecflds/ghci/duplicaterecfldsghci01.stdout +++ b/testsuite/tests/overloadedrecflds/ghci/duplicaterecfldsghci01.stdout @@ -4,7 +4,7 @@ data T a = MkT {foo :: Bool, ...} -- Defined at <interactive>:4:18 foo :: T a -> Bool -<interactive>:9:6: error: +<interactive>:9:6: error: [GHC-83865] • Couldn't match expected type ‘T a0’ with actual type ‘S’ • In the first argument of ‘foo’, namely ‘(MkS 42)’ In the expression: foo (MkS 42) diff --git a/testsuite/tests/overloadedrecflds/should_fail/DRFHoleFits.stderr b/testsuite/tests/overloadedrecflds/should_fail/DRFHoleFits.stderr index a5b406567f5d..61779352c313 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/DRFHoleFits.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/DRFHoleFits.stderr @@ -1,7 +1,7 @@ [1 of 2] Compiling DRFHoleFits_A ( DRFHoleFits_A.hs, DRFHoleFits_A.o ) [2 of 2] Compiling DRFHoleFits ( DRFHoleFits.hs, DRFHoleFits.o ) -DRFHoleFits.hs:7:7: error: +DRFHoleFits.hs:7:7: error: [GHC-88464] • Found hole: _ :: T -> Int • In the expression: _ :: T -> Int In an equation for ‘bar’: bar = _ :: T -> Int @@ -11,7 +11,7 @@ DRFHoleFits.hs:7:7: error: foo :: T -> Int (defined at DRFHoleFits.hs:5:16) bar :: T -> Int (defined at DRFHoleFits.hs:7:1) -DRFHoleFits.hs:8:7: error: +DRFHoleFits.hs:8:7: error: [GHC-88464] • Found hole: _ :: A.S -> Int • In the expression: _ :: A.S -> Int In an equation for ‘baz’: baz = _ :: A.S -> Int diff --git a/testsuite/tests/overloadedrecflds/should_fail/DRFPartialFields.stderr b/testsuite/tests/overloadedrecflds/should_fail/DRFPartialFields.stderr index 1f9034e7b2b4..f1801abd73c6 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/DRFPartialFields.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/DRFPartialFields.stderr @@ -1,3 +1,3 @@ -DRFPartialFields.hs:4:17: error: [-Wpartial-fields, -Werror=partial-fields] +DRFPartialFields.hs:4:17: error: [-Wpartial-fields, Werror=partial-fields] Use of partial record field selector: ‘foo’ diff --git a/testsuite/tests/overloadedrecflds/should_fail/DuplicateExports.stderr b/testsuite/tests/overloadedrecflds/should_fail/DuplicateExports.stderr index e2bdef49ab67..c3d053dfc0af 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/DuplicateExports.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/DuplicateExports.stderr @@ -1,3 +1,3 @@ -DuplicateExports.hs:6:29: error: [-Wduplicate-exports (in -Wdefault), -Werror=duplicate-exports] +DuplicateExports.hs:6:29: error: [GHC-47854] [-Wduplicate-exports (in -Wdefault), Werror=duplicate-exports] ‘foo’ is exported by ‘foo’ and ‘T(foo, bar)’ diff --git a/testsuite/tests/overloadedrecflds/should_fail/NFSExport.stderr b/testsuite/tests/overloadedrecflds/should_fail/NFSExport.stderr index 86631573a5d7..a957818d250d 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/NFSExport.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/NFSExport.stderr @@ -1,5 +1,5 @@ -NFSExport.hs:2:27: error: +NFSExport.hs:2:27: error: [GHC-76037] Not in scope: ‘foo’ Suggested fix: Notice that ‘foo’ is a field selector belonging to the type ‘T’ diff --git a/testsuite/tests/overloadedrecflds/should_fail/NFSSuppressed.stderr b/testsuite/tests/overloadedrecflds/should_fail/NFSSuppressed.stderr index 204aee2b2b98..4d6f946e3665 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/NFSSuppressed.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/NFSSuppressed.stderr @@ -1,5 +1,5 @@ -NFSSuppressed.hs:9:5: error: +NFSSuppressed.hs:9:5: error: [GHC-88464] Variable not in scope: foo Suggested fixes: • Perhaps use data constructor ‘Foo’ (line 7) diff --git a/testsuite/tests/overloadedrecflds/should_fail/NoParent.stderr b/testsuite/tests/overloadedrecflds/should_fail/NoParent.stderr index 309536cede7e..b75b8c1df52d 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/NoParent.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/NoParent.stderr @@ -1,5 +1,5 @@ -NoParent.hs:2:18: error: +NoParent.hs:2:18: error: [GHC-88993] • The type constructor ‘A’ is not the parent of the record selector ‘x’. Record selectors can only be exported with their parent type constructor. Parents: C, B diff --git a/testsuite/tests/overloadedrecflds/should_fail/T14953.stderr b/testsuite/tests/overloadedrecflds/should_fail/T14953.stderr index e698d005fcc0..144e30648312 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/T14953.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/T14953.stderr @@ -2,7 +2,7 @@ [2 of 3] Compiling T14953_B ( T14953_B.hs, T14953_B.o ) [3 of 3] Compiling T14953 ( T14953.hs, T14953.o ) -T14953.hs:2:33: error: +T14953.hs:2:33: error: [GHC-69158] Conflicting exports for ‘unR’: ‘module T14953_A’ exports ‘unR’ imported from ‘T14953_A’ at T14953.hs:3:1-15 @@ -11,7 +11,7 @@ T14953.hs:2:33: error: imported from ‘T14953_B’ at T14953.hs:4:1-15 (and originally defined at T14953_B.hs:3:13-15) -T14953.hs:2:33: error: +T14953.hs:2:33: error: [GHC-69158] Conflicting exports for ‘R’: ‘module T14953_A’ exports ‘T14953_A.R’ imported from ‘T14953_A’ at T14953.hs:3:1-15 @@ -20,7 +20,7 @@ T14953.hs:2:33: error: imported from ‘T14953_B’ at T14953.hs:4:1-15 (and originally defined at T14953_B.hs:3:10-23) -T14953.hs:2:33: error: +T14953.hs:2:33: error: [GHC-69158] Conflicting exports for ‘R’: ‘module T14953_A’ exports ‘T14953_A.R’ imported from ‘T14953_A’ at T14953.hs:3:1-15 @@ -28,4 +28,3 @@ T14953.hs:2:33: error: ‘module T14953_B’ exports ‘T14953_B.R’ imported from ‘T14953_B’ at T14953.hs:4:1-15 (and originally defined at T14953_B.hs:3:1-23) - diff --git a/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail01.stderr b/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail01.stderr index 157f3960c1a1..7a96c291b08e 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail01.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail01.stderr @@ -1,7 +1,7 @@ [1 of 3] Compiling HasFieldFail01_A ( HasFieldFail01_A.hs, HasFieldFail01_A.o ) [2 of 3] Compiling Main ( hasfieldfail01.hs, hasfieldfail01.o ) -hasfieldfail01.hs:9:15: error: +hasfieldfail01.hs:9:15: error: [GHC-39999] • No instance for ‘HasField "foo" T Int’ arising from a use of ‘getField’ • In the first argument of ‘print’, namely diff --git a/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail02.stderr b/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail02.stderr index b0df5d95cee1..dec729f36eb1 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail02.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail02.stderr @@ -1,11 +1,11 @@ -hasfieldfail02.hs:10:5: error: +hasfieldfail02.hs:10:5: error: [GHC-39999] • No instance for ‘HasField "foo" T a1’ arising from a use of ‘getField’ • In the expression: getField @"foo" (MkT id) In an equation for ‘x’: x = getField @"foo" (MkT id) -hasfieldfail02.hs:14:5: error: +hasfieldfail02.hs:14:5: error: [GHC-39999] • No instance for ‘HasField "bar" U a0’ arising from a use of ‘getField’ • In the expression: getField @"bar" (MkU True) diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail01.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail01.stderr index d194cf128883..a903dcf93ffe 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail01.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail01.stderr @@ -1,17 +1,17 @@ -overloadedlabelsfail01.hs:6:5: error: +overloadedlabelsfail01.hs:6:5: error: [GHC-39999] • No instance for ‘IsLabel "x" a0’ arising from the overloaded label ‘#x’ • In the expression: #x In an equation for ‘a’: a = #x -overloadedlabelsfail01.hs:10:5: error: +overloadedlabelsfail01.hs:10:5: error: [GHC-39999] • No instance for ‘IsLabel "x" Int’ arising from the overloaded label ‘#x’ • In the expression: #x In an equation for ‘b’: b = #x -overloadedlabelsfail01.hs:14:5: error: +overloadedlabelsfail01.hs:14:5: error: [GHC-39999] • Could not deduce ‘IsLabel "y" t’ arising from the overloaded label ‘#y’ from the context: IsLabel "x" t diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail02.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail02.stderr index f47240fa9a39..cabdd66fede4 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail02.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail02.stderr @@ -1,2 +1,3 @@ -overloadedlabelsfail02.hs:3:8: error: Not in scope: ‘fromLabel’ +overloadedlabelsfail02.hs:3:8: error: [GHC-76037] + Not in scope: ‘fromLabel’ diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail03.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail03.stderr index 69aa43af40c9..84e5b0a78032 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail03.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedlabelsfail03.stderr @@ -1,5 +1,5 @@ -overloadedlabelsfail03.hs:3:8: error: +overloadedlabelsfail03.hs:3:8: error: [GHC-95781] • Cannot apply expression of type ‘()’ to a visible type argument ‘"foo"’ • In the expression: #foo diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail01.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail01.stderr index a7eb1debd1c9..66089a586eab 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail01.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail01.stderr @@ -1,23 +1,22 @@ -overloadedrecfldsfail01.hs:11:10: error: - Record update is ambiguous, and requires a type signature - In the expression: r {x = 3} - In an equation for ‘upd1’: upd1 r = r {x = 3} +overloadedrecfldsfail01.hs:11:10: error: [GHC-99339] + • Record update is ambiguous, and requires a type signature + • In the expression: r {x = 3} + In an equation for ‘upd1’: upd1 r = r {x = 3} -overloadedrecfldsfail01.hs:14:10: error: - No type has all these fields: ‘x’, ‘y’, ‘z’ - In the expression: r {x = 3, y = True, z = False} - In an equation for ‘upd2’: upd2 r = r {x = 3, y = True, z = False} +overloadedrecfldsfail01.hs:14:10: error: [GHC-33238] + • No type has all these fields: ‘x’, ‘y’, ‘z’ + • In the expression: r {x = 3, y = True, z = False} + In an equation for ‘upd2’: upd2 r = r {x = 3, y = True, z = False} -overloadedrecfldsfail01.hs:17:10: error: - ‘x’ is not a (visible) field of type ‘U’ - In the expression: r {w = True, x = 3, y = True} :: U - In an equation for ‘upd3’: - upd3 r = r {w = True, x = 3, y = True} :: U - -overloadedrecfldsfail01.hs:17:10: error: - ‘w’ is not a (visible) field of type ‘U’ - In the expression: r {w = True, x = 3, y = True} :: U - In an equation for ‘upd3’: - upd3 r = r {w = True, x = 3, y = True} :: U +overloadedrecfldsfail01.hs:17:10: error: [GHC-54721] + • ‘x’ is not a (visible) field of type ‘U’ + • In the expression: r {w = True, x = 3, y = True} :: U + In an equation for ‘upd3’: + upd3 r = r {w = True, x = 3, y = True} :: U +overloadedrecfldsfail01.hs:17:10: error: [GHC-54721] + • ‘w’ is not a (visible) field of type ‘U’ + • In the expression: r {w = True, x = 3, y = True} :: U + In an equation for ‘upd3’: + upd3 r = r {w = True, x = 3, y = True} :: U diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail05.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail05.stderr index 9dc7af2782a3..3e2e0572f115 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail05.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail05.stderr @@ -1,3 +1,3 @@ -overloadedrecfldsfail05.hs:7:16: error: [-Wunused-top-binds (in -Wextra, -Wunused-binds), -Werror=unused-top-binds] +overloadedrecfldsfail05.hs:7:16: error: [-Wunused-top-binds (in -Wextra, -Wunused-binds), Werror=unused-top-binds] Defined but not used: ‘foo’ diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail06.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail06.stderr index 10e3b1ece852..7567a038b4ea 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail06.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail06.stderr @@ -10,27 +10,27 @@ OverloadedRecFldsFail06_A.hs:9:59: warning: [-Wunused-top-binds (in -Wextra, -Wu Defined but not used: ‘used_locally’ [2 of 3] Compiling Main ( overloadedrecfldsfail06.hs, overloadedrecfldsfail06.o ) -overloadedrecfldsfail06.hs:7:1: error: [-Wunused-imports (in -Wextra), -Werror=unused-imports] +overloadedrecfldsfail06.hs:7:1: error: [-Wunused-imports (in -Wextra), Werror=unused-imports] The import of ‘Unused(unused), V(x), U(y), MkV, Unused’ from module ‘OverloadedRecFldsFail06_A’ is redundant -overloadedrecfldsfail06.hs:8:1: error: [-Wunused-imports (in -Wextra), -Werror=unused-imports] +overloadedrecfldsfail06.hs:8:1: error: [-Wunused-imports (in -Wextra), Werror=unused-imports] The qualified import of ‘OverloadedRecFldsFail06_A’ is redundant except perhaps to import instances from ‘OverloadedRecFldsFail06_A’ To import instances alone, use: import OverloadedRecFldsFail06_A() -overloadedrecfldsfail06.hs:9:1: error: [-Wunused-imports (in -Wextra), -Werror=unused-imports] +overloadedrecfldsfail06.hs:9:1: error: [-Wunused-imports (in -Wextra), Werror=unused-imports] The qualified import of ‘V(y)’ from module ‘OverloadedRecFldsFail06_A’ is redundant -overloadedrecfldsfail06.hs:10:1: error: [-Wunused-imports (in -Wextra), -Werror=unused-imports] +overloadedrecfldsfail06.hs:10:1: error: [-Wunused-imports (in -Wextra), Werror=unused-imports] The qualified import of ‘U(x), U’ from module ‘OverloadedRecFldsFail06_A’ is redundant -overloadedrecfldsfail06.hs:15:22: error: [-Wambiguous-fields (in -Wdefault), -Werror=ambiguous-fields] +overloadedrecfldsfail06.hs:15:22: error: [GHC-02256] [-Wambiguous-fields (in -Wdefault), Werror=ambiguous-fields] The record update u {x = True} with type U is ambiguous. This will not be supported by -XDuplicateRecordFields in future releases of GHC. -overloadedrecfldsfail06.hs:18:28: error: [-Wambiguous-fields (in -Wdefault), -Werror=ambiguous-fields] +overloadedrecfldsfail06.hs:18:28: error: [GHC-02256] [-Wambiguous-fields (in -Wdefault), Werror=ambiguous-fields] The record update v {P.x = 3} with type V is ambiguous. This will not be supported by -XDuplicateRecordFields in future releases of GHC. diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail07.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail07.stderr index 73a1b9b4d844..e6e3c180ac5b 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail07.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail07.stderr @@ -1,5 +1,5 @@ -overloadedrecfldsfail07.hs:7:7: error: +overloadedrecfldsfail07.hs:7:7: error: [GHC-83865] • Couldn't match expected type ‘T’ with actual type ‘T -> Int’ • Probable cause: ‘x’ is applied to too few arguments In the first argument of ‘x’, namely ‘x’ diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail08.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail08.stderr index cf37520a64aa..d364f079d808 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail08.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail08.stderr @@ -1,5 +1,5 @@ -overloadedrecfldsfail08.hs:9:9: error: - No constructor has all these fields: ‘x’, ‘y’ - In the expression: e {x = 3, y = True} - In an equation for ‘foo’: foo e = e {x = 3, y = True} +overloadedrecfldsfail08.hs:9:9: error: [GHC-14392] + • No constructor has all these fields: ‘x’, ‘y’ + • In the expression: e {x = 3, y = True} + In an equation for ‘foo’: foo e = e {x = 3, y = True} diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail09.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail09.stderr index 415099d79b68..a77564ccea70 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail09.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail09.stderr @@ -1,4 +1,4 @@ -overloadedrecfldsfail09.hs:9:11: error: +overloadedrecfldsfail09.hs:9:11: error: [GHC-65904] Ambiguous record updates not (yet) handled by Template Haskell x = 3 diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail10.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail10.stderr index cf483418ce58..8b113e19ee2b 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail10.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail10.stderr @@ -3,7 +3,7 @@ [3 of 5] Compiling OverloadedRecFldsFail10_C ( OverloadedRecFldsFail10_C.hs, OverloadedRecFldsFail10_C.o ) [4 of 5] Compiling Main ( overloadedrecfldsfail10.hs, overloadedrecfldsfail10.o ) -overloadedrecfldsfail10.hs:6:20: error: +overloadedrecfldsfail10.hs:6:20: error: [GHC-69158] Conflicting exports for ‘foo’: ‘F(..)’ exports ‘OverloadedRecFldsFail10_B.foo’ imported from ‘OverloadedRecFldsFail10_B’ at overloadedrecfldsfail10.hs:8:1-32 diff --git a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail14.stderr b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail14.stderr index 7a211fd36648..7b0d276a9624 100644 --- a/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail14.stderr +++ b/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail14.stderr @@ -1,5 +1,5 @@ -overloadedrecfldsfail14.hs:12:7: error: - No type has all these fields: ‘x’, ‘y’ - In the expression: r {x = 3, y = False} - In an equation for ‘f’: f r = r {x = 3, y = False} +overloadedrecfldsfail14.hs:12:7: error: [GHC-33238] + • No type has all these fields: ‘x’, ‘y’ + • In the expression: r {x = 3, y = False} + In an equation for ‘f’: f r = r {x = 3, y = False} diff --git a/testsuite/tests/parser/should_compile/ColumnPragma.stderr b/testsuite/tests/parser/should_compile/ColumnPragma.stderr index a45b2654bf68..d030f222e279 100644 --- a/testsuite/tests/parser/should_compile/ColumnPragma.stderr +++ b/testsuite/tests/parser/should_compile/ColumnPragma.stderr @@ -1,3 +1,3 @@ -ColumnPragma.hs:5:1015: warning: [-Wunrecognised-pragmas (in -Wdefault)] +ColumnPragma.hs:5:1015: warning: [GHC-42044] [-Wunrecognised-pragmas (in -Wdefault)] Unrecognised pragma: NONEXISTENTPRAGMA diff --git a/testsuite/tests/parser/should_compile/OpaqueParseWarn1.stderr b/testsuite/tests/parser/should_compile/OpaqueParseWarn1.stderr index 49682aae1963..01f62eb39d19 100644 --- a/testsuite/tests/parser/should_compile/OpaqueParseWarn1.stderr +++ b/testsuite/tests/parser/should_compile/OpaqueParseWarn1.stderr @@ -1,2 +1,3 @@ -OpaqueParseWarn1.hs:6:1: warning: + +OpaqueParseWarn1.hs:6:1: warning: [GHC-38524] Ignoring useless SPECIALISE pragma for NOINLINE function: ‘f’ diff --git a/testsuite/tests/parser/should_compile/T15139.stderr b/testsuite/tests/parser/should_compile/T15139.stderr index b42cb23d2762..0d80dc0537a6 100644 --- a/testsuite/tests/parser/should_compile/T15139.stderr +++ b/testsuite/tests/parser/should_compile/T15139.stderr @@ -1,23 +1,21 @@ -T15139.hs:11:1: warning: [-Wincomplete-patterns (in -Wextra)] +T15139.hs:11:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘f1’: - Patterns of type ‘Bool’ not matched: False + In an equation for ‘f1’: Patterns of type ‘Bool’ not matched: False | 11 | f1 True = case can'tHappen of {} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -T15139.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)] +T15139.hs:12:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘f2’: - Patterns of type ‘Bool’ not matched: False + In an equation for ‘f2’: Patterns of type ‘Bool’ not matched: False | 12 | f2 True = case can'tHappen of | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -T15139.hs:13:1: warning: [-Wincomplete-patterns (in -Wextra)] +T15139.hs:13:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘g’: Patterns of type ‘Bool’ not matched: False + In an equation for ‘g’: Patterns of type ‘Bool’ not matched: False | 13 | g True = case () of () -> True | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/testsuite/tests/parser/should_compile/T18834a.stderr b/testsuite/tests/parser/should_compile/T18834a.stderr index 71f90eff4917..f02886253aae 100644 --- a/testsuite/tests/parser/should_compile/T18834a.stderr +++ b/testsuite/tests/parser/should_compile/T18834a.stderr @@ -1,15 +1,15 @@ -T18834a.hs:6:10: warning: [-Woperator-whitespace-ext-conflict (in -Wdefault)] +T18834a.hs:6:10: warning: [GHC-47082] [-Woperator-whitespace-ext-conflict (in -Wdefault)] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. -T18834a.hs:7:10: warning: [-Woperator-whitespace-ext-conflict (in -Wdefault)] +T18834a.hs:7:10: warning: [GHC-47082] [-Woperator-whitespace-ext-conflict (in -Wdefault)] The prefix use of a ‘$$’ would denote a typed splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$$’. -T18834a.hs:8:10: warning: [-Woperator-whitespace-ext-conflict (in -Wdefault)] +T18834a.hs:8:10: warning: [GHC-47082] [-Woperator-whitespace-ext-conflict (in -Wdefault)] The prefix use of a ‘%’ would denote a multiplicity annotation were the LinearTypes extension enabled. Suggested fix: Add whitespace after the ‘%’. diff --git a/testsuite/tests/parser/should_compile/T18834b.stderr b/testsuite/tests/parser/should_compile/T18834b.stderr index 4dc54cfb26b5..085eada85529 100644 --- a/testsuite/tests/parser/should_compile/T18834b.stderr +++ b/testsuite/tests/parser/should_compile/T18834b.stderr @@ -1,15 +1,15 @@ -T18834b.hs:5:10: warning: [-Woperator-whitespace] +T18834b.hs:5:10: warning: [GHC-40798] [-Woperator-whitespace] The suffix use of a ‘+’ might be repurposed as special syntax by a future language extension. Suggested fix: Add whitespace around ‘+’. -T18834b.hs:6:11: warning: [-Woperator-whitespace] +T18834b.hs:6:11: warning: [GHC-40798] [-Woperator-whitespace] The prefix use of a ‘+’ might be repurposed as special syntax by a future language extension. Suggested fix: Add whitespace around ‘+’. -T18834b.hs:7:10: warning: [-Woperator-whitespace] +T18834b.hs:7:10: warning: [GHC-40798] [-Woperator-whitespace] The tight infix use of a ‘+’ might be repurposed as special syntax by a future language extension. Suggested fix: Add whitespace around ‘+’. diff --git a/testsuite/tests/parser/should_compile/T21589.stderr b/testsuite/tests/parser/should_compile/T21589.stderr index 5e1524f2f4f8..49f12b294b05 100644 --- a/testsuite/tests/parser/should_compile/T21589.stderr +++ b/testsuite/tests/parser/should_compile/T21589.stderr @@ -1,16 +1,16 @@ -T21589.hs:1:1: warning: [-Wunrecognised-pragmas (in -Wdefault)] +T21589.hs:1:1: warning: [GHC-42044] [-Wunrecognised-pragmas (in -Wdefault)] Unrecognised pragma: LANGUGE Suggested fix: Perhaps you meant ‘LANGUAGE’ -T21589.hs:2:1: warning: [-Wunrecognised-pragmas (in -Wdefault)] +T21589.hs:2:1: warning: [GHC-42044] [-Wunrecognised-pragmas (in -Wdefault)] Unrecognised pragma: OPTION_HUGS Suggested fix: Perhaps you meant ‘OPTIONS_HUGS’ -T21589.hs:3:1: warning: [-Wunrecognised-pragmas (in -Wdefault)] +T21589.hs:3:1: warning: [GHC-42044] [-Wunrecognised-pragmas (in -Wdefault)] Unrecognised pragma: LIE Suggested fix: Perhaps you meant ‘LINE’ -T21589.hs:8:1: warning: [-Wunrecognised-pragmas (in -Wdefault)] +T21589.hs:8:1: warning: [GHC-42044] [-Wunrecognised-pragmas (in -Wdefault)] Unrecognised pragma: INLNE Suggested fix: Perhaps you meant ‘INLINE’ diff --git a/testsuite/tests/parser/should_compile/T2245.stderr b/testsuite/tests/parser/should_compile/T2245.stderr index d5b828049430..03424ac20c71 100644 --- a/testsuite/tests/parser/should_compile/T2245.stderr +++ b/testsuite/tests/parser/should_compile/T2245.stderr @@ -11,7 +11,7 @@ T2245.hs:5:10: warning: [-Wmissing-methods (in -Wdefault)] ‘fromRational’ and (either ‘recip’ or ‘/’) • In the instance declaration for ‘Fractional T’ -T2245.hs:7:27: warning: [-Wtype-defaults (in -Wall)] +T2245.hs:7:27: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘b0’ to type ‘T’ in the following constraints (Ord b0) arising from a use of ‘<’ at T2245.hs:7:27 (Fractional b0) diff --git a/testsuite/tests/parser/should_compile/T3303.stderr b/testsuite/tests/parser/should_compile/T3303.stderr index 38690441ff5c..850a150ecc70 100644 --- a/testsuite/tests/parser/should_compile/T3303.stderr +++ b/testsuite/tests/parser/should_compile/T3303.stderr @@ -1,9 +1,9 @@ -T3303.hs:7:7: warning: [-Wdeprecations (in -Wdefault)] +T3303.hs:7:7: warning: [GHC-68441] [-Wdeprecations (in -Wdefault)] In the use of ‘foo’ (imported from T3303A): Deprecated: "This is a multi-line deprecation message for foo" -T3303.hs:10:8: warning: [-Wdeprecations (in -Wdefault)] +T3303.hs:10:8: warning: [GHC-68441] [-Wdeprecations (in -Wdefault)] In the use of ‘foo2’ (imported from T3303A): Deprecated: "" diff --git a/testsuite/tests/parser/should_compile/T515.stderr b/testsuite/tests/parser/should_compile/T515.stderr index 99ba2b24a50b..72075b45cb5d 100644 --- a/testsuite/tests/parser/should_compile/T515.stderr +++ b/testsuite/tests/parser/should_compile/T515.stderr @@ -1,17 +1,17 @@ -T515.lhs:6:3: warning: [-Wmissing-signatures (in -Wall)] +T515.lhs:6:3: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: a :: Integer -T515.lhs:6:7: warning: [-Wtype-defaults (in -Wall)] +T515.lhs:6:7: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraint Num a0 arising from the literal ‘1’ • In the expression: 1 In an equation for ‘a’: a = 1 -T515.lhs:7:3: warning: [-Wmissing-signatures (in -Wall)] +T515.lhs:7:3: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: b :: Integer -T515.lhs:7:7: warning: [-Wtype-defaults (in -Wall)] +T515.lhs:7:7: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraint Num a0 arising from the literal ‘2’ • In the expression: 2 diff --git a/testsuite/tests/parser/should_compile/T9723a.stderr b/testsuite/tests/parser/should_compile/T9723a.stderr index 5fdfdd9f2285..e9a34725d6c0 100644 --- a/testsuite/tests/parser/should_compile/T9723a.stderr +++ b/testsuite/tests/parser/should_compile/T9723a.stderr @@ -1,4 +1,4 @@ -T9723a.hs:8:5: warning: [-Wtabs (in -Wdefault)] +T9723a.hs:8:5: warning: [GHC-94817] [-Wtabs (in -Wdefault)] Tab character found here. Suggested fix: Please use spaces instead. diff --git a/testsuite/tests/parser/should_compile/T9723b.stderr b/testsuite/tests/parser/should_compile/T9723b.stderr index c83b48e8a4f1..91ba171443cc 100644 --- a/testsuite/tests/parser/should_compile/T9723b.stderr +++ b/testsuite/tests/parser/should_compile/T9723b.stderr @@ -1,4 +1,4 @@ -T9723b.hs:10:5: warning: [-Wtabs (in -Wdefault)] +T9723b.hs:10:5: warning: [GHC-94817] [-Wtabs (in -Wdefault)] Tab character found here, and in six further locations. Suggested fix: Please use spaces instead. diff --git a/testsuite/tests/parser/should_compile/read014.stderr b/testsuite/tests/parser/should_compile/read014.stderr index 228672b7a58a..c30202f784cc 100644 --- a/testsuite/tests/parser/should_compile/read014.stderr +++ b/testsuite/tests/parser/should_compile/read014.stderr @@ -1,5 +1,5 @@ -read014.hs:4:1: warning: [-Wmissing-signatures (in -Wall)] +read014.hs:4:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: ng1 :: Num a => p -> a -> a diff --git a/testsuite/tests/parser/should_compile/read043.stderr b/testsuite/tests/parser/should_compile/read043.stderr index a551294064be..dbb95591c588 100644 --- a/testsuite/tests/parser/should_compile/read043.stderr +++ b/testsuite/tests/parser/should_compile/read043.stderr @@ -1,4 +1,4 @@ -read043.hs:8:5: warning: [-Wtabs (in -Wdefault)] +read043.hs:8:5: warning: [GHC-94817] [-Wtabs (in -Wdefault)] Tab character found here, and in one further location. Suggested fix: Please use spaces instead. diff --git a/testsuite/tests/parser/should_compile/read044.stderr b/testsuite/tests/parser/should_compile/read044.stderr index d459248082ad..a27ca0924fc0 100644 --- a/testsuite/tests/parser/should_compile/read044.stderr +++ b/testsuite/tests/parser/should_compile/read044.stderr @@ -1,4 +1,4 @@ -read044.hs:5:13: warning: [-Woverlapping-patterns (in -Wdefault)] +read044.hs:5:13: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: False -> ... diff --git a/testsuite/tests/parser/should_compile/read064.stderr b/testsuite/tests/parser/should_compile/read064.stderr index 8f79347013b1..139286198e37 100644 --- a/testsuite/tests/parser/should_compile/read064.stderr +++ b/testsuite/tests/parser/should_compile/read064.stderr @@ -1,3 +1,3 @@ -read064.hs:4:1: warning: [-Wunrecognised-pragmas (in -Wdefault)] +read064.hs:4:1: warning: [GHC-42044] [-Wunrecognised-pragmas (in -Wdefault)] Unrecognised pragma: THISISATYPO diff --git a/testsuite/tests/parser/should_compile/read066.stderr b/testsuite/tests/parser/should_compile/read066.stderr index 967c334b073b..0c6700a8373d 100644 --- a/testsuite/tests/parser/should_compile/read066.stderr +++ b/testsuite/tests/parser/should_compile/read066.stderr @@ -1,3 +1,3 @@ -read066.hs:2:1: warning: [-Wunrecognised-pragmas (in -Wdefault)] +read066.hs:2:1: warning: [GHC-42044] [-Wunrecognised-pragmas (in -Wdefault)] Unrecognised pragma: OPTIONS_NO_SUCH_PRAGMA diff --git a/testsuite/tests/parser/should_fail/ExportCommaComma.stderr b/testsuite/tests/parser/should_fail/ExportCommaComma.stderr index e5cf1b5a5fcd..290d705077c4 100644 --- a/testsuite/tests/parser/should_fail/ExportCommaComma.stderr +++ b/testsuite/tests/parser/should_fail/ExportCommaComma.stderr @@ -1,2 +1,3 @@ -ExportCommaComma.hs:2:38: parse error on input ‘,’ +ExportCommaComma.hs:2:38: error: [GHC-58481] + parse error on input ‘,’ diff --git a/testsuite/tests/parser/should_fail/InfixAppPatErr.stderr b/testsuite/tests/parser/should_fail/InfixAppPatErr.stderr index 4651dae5717a..ee84bdfdccb5 100644 --- a/testsuite/tests/parser/should_fail/InfixAppPatErr.stderr +++ b/testsuite/tests/parser/should_fail/InfixAppPatErr.stderr @@ -1,3 +1,2 @@ -InfixAppPatErr.hs:2:7: error: - do-notation in pattern +InfixAppPatErr.hs:2:7: error: [GHC-06446] do-notation in pattern diff --git a/testsuite/tests/parser/should_fail/NoBlockArgumentsFail.stderr b/testsuite/tests/parser/should_fail/NoBlockArgumentsFail.stderr index bdb3301dea2b..4fa84606ac95 100644 --- a/testsuite/tests/parser/should_fail/NoBlockArgumentsFail.stderr +++ b/testsuite/tests/parser/should_fail/NoBlockArgumentsFail.stderr @@ -1,7 +1,7 @@ -NoBlockArgumentsFail.hs:6:17: error: +NoBlockArgumentsFail.hs:6:17: error: [GHC-52095] Unexpected do block in function application: do return () Suggested fixes: - Use parentheses. - Perhaps you intended to use BlockArguments + • Use parentheses. + • Perhaps you intended to use BlockArguments diff --git a/testsuite/tests/parser/should_fail/NoBlockArgumentsFail2.stderr b/testsuite/tests/parser/should_fail/NoBlockArgumentsFail2.stderr index 5b3a697f2ed3..f26f73713ead 100644 --- a/testsuite/tests/parser/should_fail/NoBlockArgumentsFail2.stderr +++ b/testsuite/tests/parser/should_fail/NoBlockArgumentsFail2.stderr @@ -1,7 +1,7 @@ -NoBlockArgumentsFail2.hs:6:22: error: +NoBlockArgumentsFail2.hs:6:22: error: [GHC-06074] Unexpected lambda expression in function application: \ x -> print x Suggested fixes: - Use parentheses. - Perhaps you intended to use BlockArguments + • Use parentheses. + • Perhaps you intended to use BlockArguments diff --git a/testsuite/tests/parser/should_fail/NoBlockArgumentsFail3.stderr b/testsuite/tests/parser/should_fail/NoBlockArgumentsFail3.stderr index f6d7dca47aee..5d1ccec7595c 100644 --- a/testsuite/tests/parser/should_fail/NoBlockArgumentsFail3.stderr +++ b/testsuite/tests/parser/should_fail/NoBlockArgumentsFail3.stderr @@ -1,7 +1,7 @@ -NoBlockArgumentsFail3.hs:7:22: error: +NoBlockArgumentsFail3.hs:7:22: error: [GHC-77182] Unexpected \case expression in function application: \case Just 3 -> print x Suggested fixes: - Use parentheses. - Perhaps you intended to use BlockArguments + • Use parentheses. + • Perhaps you intended to use BlockArguments diff --git a/testsuite/tests/parser/should_fail/NoBlockArgumentsFailArrowCmds.stderr b/testsuite/tests/parser/should_fail/NoBlockArgumentsFailArrowCmds.stderr index 504f4c738f6e..fbc86a8edc7e 100644 --- a/testsuite/tests/parser/should_fail/NoBlockArgumentsFailArrowCmds.stderr +++ b/testsuite/tests/parser/should_fail/NoBlockArgumentsFailArrowCmds.stderr @@ -1,7 +1,7 @@ -NoBlockArgumentsFailArrowCmds.hs:7:27: error: +NoBlockArgumentsFailArrowCmds.hs:7:27: error: [GHC-12178] Unexpected lambda command in function application: \ () -> () >- returnA Suggested fixes: - Use parentheses. - Perhaps you intended to use BlockArguments + • Use parentheses. + • Perhaps you intended to use BlockArguments diff --git a/testsuite/tests/parser/should_fail/NoDoAndIfThenElse.stderr b/testsuite/tests/parser/should_fail/NoDoAndIfThenElse.stderr index 26b8d8c6178d..d21b25048261 100644 --- a/testsuite/tests/parser/should_fail/NoDoAndIfThenElse.stderr +++ b/testsuite/tests/parser/should_fail/NoDoAndIfThenElse.stderr @@ -1,5 +1,5 @@ -NoDoAndIfThenElse.hs:7:13: +NoDoAndIfThenElse.hs:7:13: error: [GHC-75254] Unexpected semi-colons in conditional: if True; then return (); else return () Suggested fix: Perhaps you intended to use DoAndIfThenElse diff --git a/testsuite/tests/parser/should_fail/NoNumericUnderscores0.stderr b/testsuite/tests/parser/should_fail/NoNumericUnderscores0.stderr index ffe4a3f1dcff..837688a9bad6 100644 --- a/testsuite/tests/parser/should_fail/NoNumericUnderscores0.stderr +++ b/testsuite/tests/parser/should_fail/NoNumericUnderscores0.stderr @@ -1,4 +1,4 @@ -NoNumericUnderscores0.hs:11:3: error: +NoNumericUnderscores0.hs:11:3: error: [GHC-62330] Illegal underscores in integer literals Suggested fix: Perhaps you intended to use NumericUnderscores diff --git a/testsuite/tests/parser/should_fail/NoNumericUnderscores1.stderr b/testsuite/tests/parser/should_fail/NoNumericUnderscores1.stderr index 242d10f22b5d..03a0da4c947f 100644 --- a/testsuite/tests/parser/should_fail/NoNumericUnderscores1.stderr +++ b/testsuite/tests/parser/should_fail/NoNumericUnderscores1.stderr @@ -1,4 +1,4 @@ -NoNumericUnderscores1.hs:11:3: error: +NoNumericUnderscores1.hs:11:3: error: [GHC-62330] Illegal underscores in floating literals Suggested fix: Perhaps you intended to use NumericUnderscores diff --git a/testsuite/tests/parser/should_fail/NoPatternSynonyms.stderr b/testsuite/tests/parser/should_fail/NoPatternSynonyms.stderr index 1785a14fc23f..f4cd44c04ad1 100644 --- a/testsuite/tests/parser/should_fail/NoPatternSynonyms.stderr +++ b/testsuite/tests/parser/should_fail/NoPatternSynonyms.stderr @@ -1,4 +1,4 @@ -NoPatternSynonyms.hs:3:1: error: +NoPatternSynonyms.hs:3:1: error: [GHC-94426] Invalid type signature: pattern P :: ... Suggested fix: Perhaps you intended to use PatternSynonyms diff --git a/testsuite/tests/parser/should_fail/NumericUnderscoresFail0.stderr b/testsuite/tests/parser/should_fail/NumericUnderscoresFail0.stderr index 8c872575a57f..643346ad9812 100644 --- a/testsuite/tests/parser/should_fail/NumericUnderscoresFail0.stderr +++ b/testsuite/tests/parser/should_fail/NumericUnderscoresFail0.stderr @@ -1,4 +1,42 @@ -NumericUnderscoresFail0.hs:9:5: error: -NumericUnderscoresFail0.hs:11:13: error: -NumericUnderscoresFail0.hs:11:20: error: -NumericUnderscoresFail0.hs:12:13: error: + +NumericUnderscoresFail0.hs:9:5: error: [GHC-39999] + • Ambiguous type variable ‘a0’ arising from a use of ‘print’ + prevents the constraint ‘(Show a0)’ from being solved. + Probable fix: use a type annotation to specify what ‘a0’ should be. + Potentially matching instances: + instance (Show a, Show b) => Show (Either a b) + -- Defined in ‘Data.Either’ + instance Show Ordering -- Defined in ‘GHC.Show’ + ...plus 26 others + ...plus 28 instances involving out-of-scope types + (use -fprint-potential-instances to see them all) + • In a stmt of a 'do' block: print [1000000 _, _1000000] + In the expression: do print [1000000 _, _1000000] + In an equation for ‘main’: main = do print [1000000 _, ....] + +NumericUnderscoresFail0.hs:11:13: error: [GHC-39999] + • No instance for ‘Num (t0 -> a0)’ + arising from the literal ‘1000000’ + (maybe you haven't applied a function to enough arguments?) + • In the expression: 1000000 _ + In the first argument of ‘print’, namely ‘[1000000 _, _1000000]’ + In a stmt of a 'do' block: print [1000000 _, _1000000] + +NumericUnderscoresFail0.hs:11:20: error: [GHC-88464] + • Found hole: _ :: t0 + Where: ‘t0’ is an ambiguous type variable + • In the first argument of ‘1000000’, namely ‘_’ + In the expression: 1000000 _ + In the first argument of ‘print’, namely ‘[1000000 _, _1000000]’ + • Relevant bindings include + main :: IO () (bound at NumericUnderscoresFail0.hs:8:1) + +NumericUnderscoresFail0.hs:12:13: error: [GHC-88464] + • Found hole: _1000000 :: a0 + Where: ‘a0’ is an ambiguous type variable + Or perhaps ‘_1000000’ is mis-spelled, or not in scope + • In the first argument of ‘print’, namely ‘[1000000 _, _1000000]’ + In a stmt of a 'do' block: print [1000000 _, _1000000] + In the expression: do print [1000000 _, _1000000] + • Relevant bindings include + main :: IO () (bound at NumericUnderscoresFail0.hs:8:1) diff --git a/testsuite/tests/parser/should_fail/NumericUnderscoresFail1.stderr b/testsuite/tests/parser/should_fail/NumericUnderscoresFail1.stderr index e1c91de091ba..12320087e19b 100644 --- a/testsuite/tests/parser/should_fail/NumericUnderscoresFail1.stderr +++ b/testsuite/tests/parser/should_fail/NumericUnderscoresFail1.stderr @@ -1,7 +1,59 @@ -NumericUnderscoresFail1.hs:11:14: error: -NumericUnderscoresFail1.hs:13:19: error: -NumericUnderscoresFail1.hs:14:15: error: -NumericUnderscoresFail1.hs:17:14: error: Variable not in scope: e_ -NumericUnderscoresFail1.hs:18:18: error: -NumericUnderscoresFail1.hs:19:14: error: Variable not in scope: e -NumericUnderscoresFail1.hs:19:16: error: + +NumericUnderscoresFail1.hs:11:14: error: [GHC-88464] + • Found hole: _ :: t4 + Where: ‘t4’ is an ambiguous type variable + • In the first argument of ‘0’, namely ‘_’ + In the first argument of ‘(.)’, namely ‘0 _’ + In the expression: 0 _ . 0001 + • Relevant bindings include + main :: IO () (bound at NumericUnderscoresFail1.hs:8:1) + +NumericUnderscoresFail1.hs:13:19: error: [GHC-88464] + • Found hole: _ :: t3 + Where: ‘t3’ is an ambiguous type variable + • In the first argument of ‘0.0001’, namely ‘_’ + In the expression: 0.0001 _ + In the first argument of ‘print’, namely + ‘[0 _ . 0001, _0.0001, 0.0001 _, 0 . _0001, ....]’ + • Relevant bindings include + main :: IO () (bound at NumericUnderscoresFail1.hs:8:1) + +NumericUnderscoresFail1.hs:14:15: error: [GHC-88464] + • Found hole: _0001 :: a0 -> b1 + Where: ‘a0’ is an ambiguous type variable + ‘b1’ is an ambiguous type variable + Or perhaps ‘_0001’ is mis-spelled, or not in scope + • In the second argument of ‘(.)’, namely ‘_0001’ + In the expression: 0 . _0001 + In the first argument of ‘print’, namely + ‘[0 _ . 0001, _0.0001, 0.0001 _, 0 . _0001, ....]’ + • Relevant bindings include + main :: IO () (bound at NumericUnderscoresFail1.hs:8:1) + +NumericUnderscoresFail1.hs:17:14: error: [GHC-88464] + Variable not in scope: e_ + +NumericUnderscoresFail1.hs:18:18: error: [GHC-88464] + • Found hole: _ :: t1 + Where: ‘t1’ is an ambiguous type variable + • In the first argument of ‘1e+23’, namely ‘_’ + In the expression: 1e+23 _ + In the first argument of ‘print’, namely + ‘[0 _ . 0001, _0.0001, 0.0001 _, 0 . _0001, ....]’ + • Relevant bindings include + main :: IO () (bound at NumericUnderscoresFail1.hs:8:1) + +NumericUnderscoresFail1.hs:19:14: error: [GHC-88464] + Variable not in scope: e + +NumericUnderscoresFail1.hs:19:16: error: [GHC-88464] + • Found hole: _23 :: a0 -> c0 + Where: ‘a0’ is an ambiguous type variable + ‘c0’ is an ambiguous type variable + Or perhaps ‘_23’ is mis-spelled, or not in scope + • In the second argument of ‘(+)’, namely ‘_23’ + In the expression: 1 e + _23 + In the first argument of ‘print’, namely + ‘[0 _ . 0001, _0.0001, 0.0001 _, 0 . _0001, ....]’ + • Relevant bindings include + main :: IO () (bound at NumericUnderscoresFail1.hs:8:1) diff --git a/testsuite/tests/parser/should_fail/OpaqueParseFail1.stderr b/testsuite/tests/parser/should_fail/OpaqueParseFail1.stderr index 057b3a8f9285..db44ac6b3180 100644 --- a/testsuite/tests/parser/should_fail/OpaqueParseFail1.stderr +++ b/testsuite/tests/parser/should_fail/OpaqueParseFail1.stderr @@ -1,2 +1,3 @@ -OpaqueParseFail1.hs:4:11: error: + +OpaqueParseFail1.hs:4:11: error: [GHC-58481] parse error on input ‘[’ diff --git a/testsuite/tests/parser/should_fail/OpaqueParseFail2.stderr b/testsuite/tests/parser/should_fail/OpaqueParseFail2.stderr index 5c4063bd2390..6d1fd99d3c23 100644 --- a/testsuite/tests/parser/should_fail/OpaqueParseFail2.stderr +++ b/testsuite/tests/parser/should_fail/OpaqueParseFail2.stderr @@ -1,2 +1,3 @@ -OpaqueParseFail2.hs:4:12: error: + +OpaqueParseFail2.hs:4:12: error: [GHC-58481] parse error on input ‘SPECIALISE’ diff --git a/testsuite/tests/parser/should_fail/OpaqueParseFail3.stderr b/testsuite/tests/parser/should_fail/OpaqueParseFail3.stderr index 7680f18eada8..618b859d80e8 100644 --- a/testsuite/tests/parser/should_fail/OpaqueParseFail3.stderr +++ b/testsuite/tests/parser/should_fail/OpaqueParseFail3.stderr @@ -1,2 +1,3 @@ -OpaqueParseFail3.hs:4:12: error: + +OpaqueParseFail3.hs:4:12: error: [GHC-58481] parse error on input ‘CONLIKE’ diff --git a/testsuite/tests/parser/should_fail/ParserNoBinaryLiterals1.stderr b/testsuite/tests/parser/should_fail/ParserNoBinaryLiterals1.stderr index d222e5d11cbd..4ddbbb01f51c 100644 --- a/testsuite/tests/parser/should_fail/ParserNoBinaryLiterals1.stderr +++ b/testsuite/tests/parser/should_fail/ParserNoBinaryLiterals1.stderr @@ -1,5 +1,5 @@ -ParserNoBinaryLiterals1.hs:5:1: error: +ParserNoBinaryLiterals1.hs:5:1: error: [GHC-91938] Equations for ‘f’ have different numbers of arguments ParserNoBinaryLiterals1.hs:5:1-10 ParserNoBinaryLiterals1.hs:6:1-10 diff --git a/testsuite/tests/parser/should_fail/ParserNoForallUnicode.stderr b/testsuite/tests/parser/should_fail/ParserNoForallUnicode.stderr index 0d8841c676c4..a47b03b1330d 100644 --- a/testsuite/tests/parser/should_fail/ParserNoForallUnicode.stderr +++ b/testsuite/tests/parser/should_fail/ParserNoForallUnicode.stderr @@ -1,5 +1,5 @@ -ParserNoForallUnicode.hs:6:8: error: +ParserNoForallUnicode.hs:6:8: error: [GHC-25955] Illegal symbol ‘∀’ in type Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/parser/should_fail/ParserNoLambdaCase.stderr b/testsuite/tests/parser/should_fail/ParserNoLambdaCase.stderr index ef1d3d6b8397..35ea9ecd4717 100644 --- a/testsuite/tests/parser/should_fail/ParserNoLambdaCase.stderr +++ b/testsuite/tests/parser/should_fail/ParserNoLambdaCase.stderr @@ -1,3 +1,4 @@ -ParserNoLambdaCase.hs:3:6: + +ParserNoLambdaCase.hs:3:6: error: [GHC-51179] Illegal \case Suggested fix: Perhaps you intended to use LambdaCase diff --git a/testsuite/tests/parser/should_fail/ParserNoMultiWayIf.stderr b/testsuite/tests/parser/should_fail/ParserNoMultiWayIf.stderr index 22258fa51cc8..24f39642bd4c 100644 --- a/testsuite/tests/parser/should_fail/ParserNoMultiWayIf.stderr +++ b/testsuite/tests/parser/should_fail/ParserNoMultiWayIf.stderr @@ -1,4 +1,4 @@ -ParserNoMultiWayIf.hs:4:5: +ParserNoMultiWayIf.hs:4:5: error: [GHC-28985] Illegal multi-way if-expression Suggested fix: Perhaps you intended to use MultiWayIf diff --git a/testsuite/tests/parser/should_fail/ParserNoTH1.stderr b/testsuite/tests/parser/should_fail/ParserNoTH1.stderr index 56fffbd525a5..eeb32bffcadc 100644 --- a/testsuite/tests/parser/should_fail/ParserNoTH1.stderr +++ b/testsuite/tests/parser/should_fail/ParserNoTH1.stderr @@ -1,9 +1,9 @@ -ParserNoTH1.hs:1:5: warning: [-Woperator-whitespace-ext-conflict (in -Wdefault)] +ParserNoTH1.hs:1:5: warning: [GHC-47082] [-Woperator-whitespace-ext-conflict (in -Wdefault)] The prefix use of a ‘$’ would denote an untyped splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$’. -ParserNoTH1.hs:1:5: error: +ParserNoTH1.hs:1:5: error: [GHC-58481] parse error on input ‘$’ Suggested fix: Perhaps you intended to use TemplateHaskell diff --git a/testsuite/tests/parser/should_fail/ParserNoTH2.stderr b/testsuite/tests/parser/should_fail/ParserNoTH2.stderr index 4f3bba90853b..4873078fa812 100644 --- a/testsuite/tests/parser/should_fail/ParserNoTH2.stderr +++ b/testsuite/tests/parser/should_fail/ParserNoTH2.stderr @@ -1,9 +1,9 @@ -ParserNoTH2.hs:1:5: warning: [-Woperator-whitespace-ext-conflict (in -Wdefault)] +ParserNoTH2.hs:1:5: warning: [GHC-47082] [-Woperator-whitespace-ext-conflict (in -Wdefault)] The prefix use of a ‘$$’ would denote a typed splice were the TemplateHaskell extension enabled. Suggested fix: Add whitespace after the ‘$$’. -ParserNoTH2.hs:1:5: error: +ParserNoTH2.hs:1:5: error: [GHC-58481] parse error on input ‘$$’ Suggested fix: Perhaps you intended to use TemplateHaskell diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail0.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail0.stderr index 6e4a3fbae604..c7b9ec41717a 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail0.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail0.stderr @@ -1,2 +1,3 @@ - RecordDotSyntaxFail0.hs:3:12: + +RecordDotSyntaxFail0.hs:3:12: error: [GHC-26832] Use of OverloadedRecordDot '.' not valid ('.' isn't allowed when constructing records or in record patterns) diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail1.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail1.stderr index f1ab2b9f9585..c52aee6f5ab1 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail1.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail1.stderr @@ -1,2 +1,3 @@ -RecordDotSyntaxFail1.hs:3:10: + +RecordDotSyntaxFail1.hs:3:10: error: [GHC-26832] Use of OverloadedRecordDot '.' not valid ('.' isn't allowed when constructing records or in record patterns) diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail10.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail10.stderr index f36e3d9385f8..0051ba2c3526 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail10.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail10.stderr @@ -1,5 +1,5 @@ -RecordDotSyntaxFail10.hs:40:11: error: +RecordDotSyntaxFail10.hs:40:11: error: [GHC-18872] • Couldn't match type ‘Int’ with ‘[Char]’ • In the second argument of ‘($)’, namely ‘a {foo.bar.baz.quux}’ In a stmt of a 'do' block: print $ a {foo.bar.baz.quux} diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail11.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail11.stderr index 173a24d7c172..d7b422da8d79 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail11.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail11.stderr @@ -1,5 +1,5 @@ -RecordDotSyntaxFail11.hs:8:3: error: +RecordDotSyntaxFail11.hs:8:3: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘print’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -15,7 +15,7 @@ RecordDotSyntaxFail11.hs:8:3: error: do let a = ... print $ (.foo.bar.baz) a -RecordDotSyntaxFail11.hs:8:11: error: +RecordDotSyntaxFail11.hs:8:11: error: [GHC-39999] • No instance for ‘GHC.Records.HasField "baz" Int a0’ • In the second argument of ‘($)’, namely ‘(.foo.bar.baz) a’ In a stmt of a 'do' block: print $ (.foo.bar.baz) a diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail12.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail12.stderr index 63cdbea4b4df..edbfbb9432e4 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail12.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail12.stderr @@ -1,13 +1,13 @@ -RecordDotSyntaxFail12.hs:124:25: error: +RecordDotSyntaxFail12.hs:124:25: error: [GHC-44287] Illegal use of punning for field ‘quux’ Suggested fix: Perhaps you intended to use NamedFieldPuns -RecordDotSyntaxFail12.hs:124:46: error: +RecordDotSyntaxFail12.hs:124:46: error: [GHC-44287] Illegal use of punning for field ‘baz’ Suggested fix: Perhaps you intended to use NamedFieldPuns -RecordDotSyntaxFail12.hs:124:65: error: +RecordDotSyntaxFail12.hs:124:65: error: [GHC-44287] Illegal use of punning for field ‘bar’ Suggested fix: Perhaps you intended to use NamedFieldPuns diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail13.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail13.stderr index 24c3f2a59b81..06ed8037bd4e 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail13.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail13.stderr @@ -1,5 +1,5 @@ -RecordDotSyntaxFail13.hs:26:11: error: +RecordDotSyntaxFail13.hs:26:11: error: [GHC-18872] • Couldn't match type ‘Int’ with ‘Foo -> Int’ arising from a functional dependency between: constraint ‘HasField "foo" Foo (Foo -> Int)’ diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail2.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail2.stderr index 430bb53a5e28..353ae4bc9016 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail2.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail2.stderr @@ -1,3 +1,4 @@ -RecordDotSyntaxFail2.hs:10:10: + +RecordDotSyntaxFail2.hs:10:10: error: [GHC-82135] Illegal overloaded record update Suggested fix: Perhaps you intended to use OverloadedRecordUpdate diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail3.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail3.stderr index 674b0c1e502f..ecdc64fe6faa 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail3.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail3.stderr @@ -1 +1,3 @@ -RecordDotSyntaxFail3.hs:22:14: parse error on input ‘(’ + +RecordDotSyntaxFail3.hs:22:14: error: [GHC-58481] + parse error on input ‘(’ diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail4.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail4.stderr index 4ffc9df51e49..68f861c2ca67 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail4.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail4.stderr @@ -1,2 +1,3 @@ -RecordDotSyntaxFail4.hs:7:29: error: + +RecordDotSyntaxFail4.hs:7:29: error: [GHC-58481] parse error on input ‘.’ diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail6.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail6.stderr index c9bb7f6647df..ff121e238e30 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail6.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail6.stderr @@ -1,5 +1,5 @@ [1 of 3] Compiling RecordDotSyntaxA ( RecordDotSyntaxA.hs, RecordDotSyntaxA.o ) [2 of 3] Compiling Main ( RecordDotSyntaxFail6.hs, RecordDotSyntaxFail6.o ) -RecordDotSyntaxFail6.hs:10:17: error: +RecordDotSyntaxFail6.hs:10:17: error: [GHC-94863] Fields cannot be qualified when OverloadedRecordUpdate is enabled diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail7.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail7.stderr index 0b0cfcc03a5a..b1db7bb5330d 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail7.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail7.stderr @@ -1,4 +1,5 @@ [1 of 3] Compiling RecordDotSyntaxA ( RecordDotSyntaxA.hs, RecordDotSyntaxA.o ) [2 of 3] Compiling Main ( RecordDotSyntaxFail7.hs, RecordDotSyntaxFail7.o ) -RecordDotSyntaxFail7.hs:9:16: error: parse error on input ‘A.foo’ +RecordDotSyntaxFail7.hs:9:16: error: [GHC-58481] + parse error on input ‘A.foo’ diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail8.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail8.stderr index 195379434c61..15d3d96e86aa 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail8.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail8.stderr @@ -1,5 +1,5 @@ -RecordDotSyntaxFail8.hs:37:3: error: +RecordDotSyntaxFail8.hs:37:3: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘print’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -15,7 +15,7 @@ RecordDotSyntaxFail8.hs:37:3: error: do let a = ... print $ ....quux -RecordDotSyntaxFail8.hs:37:11: error: +RecordDotSyntaxFail8.hs:37:11: error: [GHC-39999] • No instance for ‘HasField "quux" Quux a0’ arising from selecting the field ‘quux’ • In the second argument of ‘($)’, namely ‘....baz.quux’ diff --git a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail9.stderr b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail9.stderr index ee15f9fc6bb9..49fc6560d357 100644 --- a/testsuite/tests/parser/should_fail/RecordDotSyntaxFail9.stderr +++ b/testsuite/tests/parser/should_fail/RecordDotSyntaxFail9.stderr @@ -1,7 +1,8 @@ -RecordDotSyntaxFail9.hs:7:11: - Couldn't match type ‘Int’ with ‘[Char]’ + +RecordDotSyntaxFail9.hs:7:11: error: [GHC-18872] + • Couldn't match type ‘Int’ with ‘[Char]’ arising from selecting the field ‘foo’ - In the expression: a.foo :: String + • In the expression: a.foo :: String In a pattern binding: _ = a.foo :: String In the expression: do let a = ... diff --git a/testsuite/tests/parser/should_fail/RecordWildCardsFail.stderr b/testsuite/tests/parser/should_fail/RecordWildCardsFail.stderr index 2f7958b45c3b..5422e429e258 100644 --- a/testsuite/tests/parser/should_fail/RecordWildCardsFail.stderr +++ b/testsuite/tests/parser/should_fail/RecordWildCardsFail.stderr @@ -1,3 +1,4 @@ -RecordWildCardsFail.hs:7:5: + +RecordWildCardsFail.hs:7:5: error: [GHC-37132] Illegal `..' in record pattern Suggested fix: Perhaps you intended to use RecordWildCards diff --git a/testsuite/tests/parser/should_fail/T10196Fail1.stderr b/testsuite/tests/parser/should_fail/T10196Fail1.stderr index 3c4a173eefd4..1520c4d92107 100644 --- a/testsuite/tests/parser/should_fail/T10196Fail1.stderr +++ b/testsuite/tests/parser/should_fail/T10196Fail1.stderr @@ -1,2 +1,3 @@ -T10196Fail1.hs:4:12: error: lexical error at character '\7526' +T10196Fail1.hs:4:12: error: [GHC-21231] + lexical error at character '\7526' diff --git a/testsuite/tests/parser/should_fail/T10196Fail2.stderr b/testsuite/tests/parser/should_fail/T10196Fail2.stderr index abba8aa04c01..43f1ab1e6a9c 100644 --- a/testsuite/tests/parser/should_fail/T10196Fail2.stderr +++ b/testsuite/tests/parser/should_fail/T10196Fail2.stderr @@ -1,2 +1,3 @@ -T10196Fail2.hs:4:1: error: lexical error at character '\7526' +T10196Fail2.hs:4:1: error: [GHC-21231] + lexical error at character '\7526' diff --git a/testsuite/tests/parser/should_fail/T10498a.stderr b/testsuite/tests/parser/should_fail/T10498a.stderr index 8b866f35f2d5..519b9e5018ec 100644 --- a/testsuite/tests/parser/should_fail/T10498a.stderr +++ b/testsuite/tests/parser/should_fail/T10498a.stderr @@ -1,2 +1,2 @@ -T10498a.hs:12:15: error: parse error on input ‘->’ +T10498a.hs:12:15: error: [GHC-58481] parse error on input ‘->’ diff --git a/testsuite/tests/parser/should_fail/T10498b.stderr b/testsuite/tests/parser/should_fail/T10498b.stderr index e15343b891cb..2c6ee1d635db 100644 --- a/testsuite/tests/parser/should_fail/T10498b.stderr +++ b/testsuite/tests/parser/should_fail/T10498b.stderr @@ -1,2 +1,2 @@ -T10498b.hs:7:8: error: parse error on input ‘module’ +T10498b.hs:7:8: error: [GHC-58481] parse error on input ‘module’ diff --git a/testsuite/tests/parser/should_fail/T12045d.stderr b/testsuite/tests/parser/should_fail/T12045d.stderr index a731352f1085..dbbd71322cba 100644 --- a/testsuite/tests/parser/should_fail/T12045d.stderr +++ b/testsuite/tests/parser/should_fail/T12045d.stderr @@ -1,3 +1,3 @@ -T12045d.hs:11:16: error: +T12045d.hs:11:16: error: [GHC-83653] Unexpected kind application in a data/newtype declaration: MkD @Nat diff --git a/testsuite/tests/parser/should_fail/T12051.stderr b/testsuite/tests/parser/should_fail/T12051.stderr index ae65eaea6e8e..0f1624b6d83a 100644 --- a/testsuite/tests/parser/should_fail/T12051.stderr +++ b/testsuite/tests/parser/should_fail/T12051.stderr @@ -1,2 +1,2 @@ -T12051.hs:3:10: error: Not a data constructor: ‘+++’ +T12051.hs:3:10: error: [GHC-25742] Not a data constructor: ‘+++’ diff --git a/testsuite/tests/parser/should_fail/T12429.stderr b/testsuite/tests/parser/should_fail/T12429.stderr index eab51a5646f5..d6f9ee008891 100644 --- a/testsuite/tests/parser/should_fail/T12429.stderr +++ b/testsuite/tests/parser/should_fail/T12429.stderr @@ -1,4 +1,4 @@ -T12429.hs:2:29: error: +T12429.hs:2:29: error: [GHC-58481] parse error on input ‘Y’ Suggested fix: Perhaps you intended to use PatternSynonyms diff --git a/testsuite/tests/parser/should_fail/T12610.stderr b/testsuite/tests/parser/should_fail/T12610.stderr index 2eb924bfb091..63c171dbc9ef 100644 --- a/testsuite/tests/parser/should_fail/T12610.stderr +++ b/testsuite/tests/parser/should_fail/T12610.stderr @@ -1,6 +1,6 @@ -T12610.hs:5:1: warning: [-Wtabs (in -Wdefault)] +T12610.hs:5:1: warning: [GHC-94817] [-Wtabs (in -Wdefault)] Tab character found here. Suggested fix: Please use spaces instead. -T12610.hs:5:9: parse error on input ‘y’ +T12610.hs:5:9: error: [GHC-58481] parse error on input ‘y’ diff --git a/testsuite/tests/parser/should_fail/T12811.stderr b/testsuite/tests/parser/should_fail/T12811.stderr index ec4c79bef9e3..9f3937d4982b 100644 --- a/testsuite/tests/parser/should_fail/T12811.stderr +++ b/testsuite/tests/parser/should_fail/T12811.stderr @@ -1,6 +1,7 @@ -T12811.hs:5:15: error: +T12811.hs:5:15: error: [GHC-62547] Illegal operator ‘.’ in type ‘foral a . a’ Suggested fix: Perhaps you intended to use TypeOperators -T12811.hs:5:15: error: Not in scope: type constructor or class ‘.’ +T12811.hs:5:15: error: [GHC-76037] + Not in scope: type constructor or class ‘.’ diff --git a/testsuite/tests/parser/should_fail/T13260.stderr b/testsuite/tests/parser/should_fail/T13260.stderr index 05e99d60ee6a..88ddc42caa54 100644 --- a/testsuite/tests/parser/should_fail/T13260.stderr +++ b/testsuite/tests/parser/should_fail/T13260.stderr @@ -1,4 +1,4 @@ -T13260.hs:6:5: error: +T13260.hs:6:5: error: [GHC-69925] Illegal unboxed string literal in pattern: "a"# diff --git a/testsuite/tests/parser/should_fail/T13414.stderr b/testsuite/tests/parser/should_fail/T13414.stderr index f5b0001ef141..19e3aefd4977 100644 --- a/testsuite/tests/parser/should_fail/T13414.stderr +++ b/testsuite/tests/parser/should_fail/T13414.stderr @@ -1,2 +1,3 @@ -T13414.lhs:3:10: error: Variable not in scope: invalid_ident_ +T13414.lhs:3:10: error: [GHC-88464] + Variable not in scope: invalid_ident_ diff --git a/testsuite/tests/parser/should_fail/T1344a.stderr b/testsuite/tests/parser/should_fail/T1344a.stderr index a7c203c1c569..1c11ec917d96 100644 --- a/testsuite/tests/parser/should_fail/T1344a.stderr +++ b/testsuite/tests/parser/should_fail/T1344a.stderr @@ -1,3 +1,3 @@ -T1344a.hs:3:16: +T1344a.hs:3:16: error: [GHC-21231] numeric escape sequence out of range at character '0' diff --git a/testsuite/tests/parser/should_fail/T1344b.stderr b/testsuite/tests/parser/should_fail/T1344b.stderr index 7b05c0fb2bd0..842f1b3d85d7 100644 --- a/testsuite/tests/parser/should_fail/T1344b.stderr +++ b/testsuite/tests/parser/should_fail/T1344b.stderr @@ -1,3 +1,3 @@ -T1344b.hs:3:16: +T1344b.hs:3:16: error: [GHC-21231] numeric escape sequence out of range at character '0' diff --git a/testsuite/tests/parser/should_fail/T1344c.stderr b/testsuite/tests/parser/should_fail/T1344c.stderr index 57ad0592bd59..d0ee7b34dce0 100644 --- a/testsuite/tests/parser/should_fail/T1344c.stderr +++ b/testsuite/tests/parser/should_fail/T1344c.stderr @@ -1,3 +1,3 @@ -T1344c.hs:3:13: +T1344c.hs:3:13: error: [GHC-21231] numeric escape sequence out of range at character '2' diff --git a/testsuite/tests/parser/should_fail/T13450.stderr b/testsuite/tests/parser/should_fail/T13450.stderr index 6e0beb32cc6f..41e16f138cbf 100644 --- a/testsuite/tests/parser/should_fail/T13450.stderr +++ b/testsuite/tests/parser/should_fail/T13450.stderr @@ -1,4 +1,4 @@ -T13450.hs:4:15: error: +T13450.hs:4:15: error: [GHC-11861] Parser error on `''` Character literals may not be empty diff --git a/testsuite/tests/parser/should_fail/T13450TH.stderr b/testsuite/tests/parser/should_fail/T13450TH.stderr index 1d6fdfbb1a52..b15f3ec2f0c3 100644 --- a/testsuite/tests/parser/should_fail/T13450TH.stderr +++ b/testsuite/tests/parser/should_fail/T13450TH.stderr @@ -1,5 +1,5 @@ -T13450TH.hs:6:15: error: +T13450TH.hs:6:15: error: [GHC-11861] Parser error on `''` Character literals may not be empty Suggested fix: diff --git a/testsuite/tests/parser/should_fail/T14588.stderr b/testsuite/tests/parser/should_fail/T14588.stderr index 04e44781982e..dd947efa543b 100644 --- a/testsuite/tests/parser/should_fail/T14588.stderr +++ b/testsuite/tests/parser/should_fail/T14588.stderr @@ -1,5 +1,5 @@ -T14588.hs:4:19: error: +T14588.hs:4:19: error: [GHC-79767] Illegal bang-pattern !x Suggested fix: Perhaps you intended to use BangPatterns diff --git a/testsuite/tests/parser/should_fail/T14740.stderr b/testsuite/tests/parser/should_fail/T14740.stderr index 8827873e25ef..5a047c03bae1 100644 --- a/testsuite/tests/parser/should_fail/T14740.stderr +++ b/testsuite/tests/parser/should_fail/T14740.stderr @@ -1,4 +1,4 @@ -T14740.hs:5:7: - Expecting a lifted type, but ‘(# #)’ is unlifted - In the type signature: x :: ((# #)) => () +T14740.hs:5:7: error: [GHC-83865] + • Expecting a lifted type, but ‘(# #)’ is unlifted + • In the type signature: x :: ((# #)) => () diff --git a/testsuite/tests/parser/should_fail/T15053.stderr b/testsuite/tests/parser/should_fail/T15053.stderr index 0544327c5e2c..25d71d056f14 100644 --- a/testsuite/tests/parser/should_fail/T15053.stderr +++ b/testsuite/tests/parser/should_fail/T15053.stderr @@ -1,5 +1,6 @@ -T15053.hs:1:16: + +T15053.hs:1:16: error: [GHC-24342] Error while parsing OPTIONS_GHC pragma. Expecting whitespace-separated list of GHC options. E.g. {-# OPTIONS_GHC -Wall -O2 #-} - Input was: " -O1 }/n/"/n " + Input was: " -O1 }\n\"\n " diff --git a/testsuite/tests/parser/should_fail/T15209.stderr b/testsuite/tests/parser/should_fail/T15209.stderr index 23f8876d678b..0b2414fd0bf1 100644 --- a/testsuite/tests/parser/should_fail/T15209.stderr +++ b/testsuite/tests/parser/should_fail/T15209.stderr @@ -1,5 +1,5 @@ -T15209.hs:6:10: error: +T15209.hs:6:10: error: [GHC-76037] Not in scope: type constructor or class ‘~#’ Suggested fix: Perhaps use one of these: diff --git a/testsuite/tests/parser/should_fail/T15233.stderr b/testsuite/tests/parser/should_fail/T15233.stderr index 3371bef75873..b1741a189cab 100644 --- a/testsuite/tests/parser/should_fail/T15233.stderr +++ b/testsuite/tests/parser/should_fail/T15233.stderr @@ -1,8 +1,9 @@ -T15233.hs:4:10: error: +T15233.hs:4:10: error: [GHC-39716] Illegal fixity signature of built-in syntax: : -T15233.hs:5:16: error: Illegal deprecation of built-in syntax: : +T15233.hs:5:16: error: [GHC-39716] + Illegal deprecation of built-in syntax: : -T15233.hs:9:10: error: +T15233.hs:9:10: error: [GHC-39716] Illegal fixity signature of built-in syntax: -> diff --git a/testsuite/tests/parser/should_fail/T15730.stderr b/testsuite/tests/parser/should_fail/T15730.stderr index 7eb649e1b66b..433ca1a9336b 100644 --- a/testsuite/tests/parser/should_fail/T15730.stderr +++ b/testsuite/tests/parser/should_fail/T15730.stderr @@ -1,3 +1,3 @@ -T15730.hs:3:9: error: +T15730.hs:3:9: error: [GHC-85314] A pragma is not allowed in this position: {-# SCC ann #-} diff --git a/testsuite/tests/parser/should_fail/T15730b.stderr b/testsuite/tests/parser/should_fail/T15730b.stderr index 032c5a49f457..129c2b870250 100644 --- a/testsuite/tests/parser/should_fail/T15730b.stderr +++ b/testsuite/tests/parser/should_fail/T15730b.stderr @@ -1,3 +1,3 @@ -T15730b.hs:8:16: error: +T15730b.hs:8:16: error: [GHC-85314] A pragma is not allowed in this position: {-# SCC a1 #-} diff --git a/testsuite/tests/parser/should_fail/T15849.stderr b/testsuite/tests/parser/should_fail/T15849.stderr index e974dbde0287..eb191d28bd0e 100644 --- a/testsuite/tests/parser/should_fail/T15849.stderr +++ b/testsuite/tests/parser/should_fail/T15849.stderr @@ -1,3 +1,2 @@ -T15849.hs:4:6: error: - parse error on input ‘=’ +T15849.hs:4:6: error: [GHC-58481] parse error on input ‘=’ diff --git a/testsuite/tests/parser/should_fail/T16270.stderr b/testsuite/tests/parser/should_fail/T16270.stderr index b4460b9cce0b..8ecb9a3e84ae 100644 --- a/testsuite/tests/parser/should_fail/T16270.stderr +++ b/testsuite/tests/parser/should_fail/T16270.stderr @@ -2,79 +2,80 @@ T16270.hs:3:13: warning: [-Wdeprecated-flags (in -Wdefault)] -Werror=missing-space-after-bang is deprecated: bang patterns can no longer be written with a space -T16270.hs:8:1: warning: [-Wtabs (in -Wdefault)] +T16270.hs:8:1: warning: [GHC-94817] [-Wtabs (in -Wdefault)] Tab character found here, and in five further locations. Suggested fix: Please use spaces instead. -T16270.hs:8:12: error: +T16270.hs:8:12: error: [GHC-75254] Unexpected semi-colons in conditional: if c then False; else True Suggested fix: Perhaps you intended to use DoAndIfThenElse -T16270.hs:13:8: error: +T16270.hs:13:8: error: [GHC-52095] Unexpected do block in function application: do 1 Suggested fixes: - Use parentheses. - Perhaps you intended to use BlockArguments + • Use parentheses. + • Perhaps you intended to use BlockArguments -T16270.hs:14:8: error: +T16270.hs:14:8: error: [GHC-06074] Unexpected lambda expression in function application: \ x -> x Suggested fixes: - Use parentheses. - Perhaps you intended to use BlockArguments + • Use parentheses. + • Perhaps you intended to use BlockArguments -T16270.hs:18:22: error: +T16270.hs:18:22: error: [GHC-65719] Illegal record syntax: {fst :: a, snd :: b} Suggested fix: Perhaps you intended to use TraditionalRecordSyntax -T16270.hs:19:5: error: +T16270.hs:19:5: error: [GHC-65719] Illegal record syntax: p {fst = 1, snd = True} Suggested fix: Perhaps you intended to use TraditionalRecordSyntax -T16270.hs:21:6: error: +T16270.hs:21:6: error: [GHC-25955] Illegal symbol ‘forall’ in type Suggested fix: Perhaps you intended to use RankNTypes - or a similar language extension to enable explicit-forall syntax: forall <tvs>. <type> + or a similar language extension to enable explicit-forall syntax: forall <tvs>. <type> -T16270.hs:22:8: error: +T16270.hs:22:8: error: [GHC-75254] Unexpected semi-colons in conditional: if True; then (); else () Suggested fix: Perhaps you intended to use DoAndIfThenElse -T16270.hs:24:10: error: +T16270.hs:24:10: error: [GHC-36952] Illegal keyword 'where' in data declaration Suggested fix: Perhaps you intended to use GADTs - or a similar language extension to enable syntax: data T where + or a similar language extension to enable syntax: data T where -T16270.hs:26:12: error: +T16270.hs:26:12: error: [GHC-79767] Illegal bang-pattern !i Suggested fix: Perhaps you intended to use BangPatterns -T16270.hs:28:9: error: +T16270.hs:28:9: error: [GHC-28985] Illegal multi-way if-expression Suggested fix: Perhaps you intended to use MultiWayIf -T16270.hs:30:9: error: +T16270.hs:30:9: error: [GHC-28985] Illegal multi-way if-expression Suggested fix: Perhaps you intended to use MultiWayIf -T16270.hs:33:6: +T16270.hs:33:6: error: [GHC-51179] Illegal \case Suggested fix: Perhaps you intended to use LambdaCase -T16270.hs:36:5: error: +T16270.hs:36:5: error: [GHC-62330] Illegal underscores in integer literals Suggested fix: Perhaps you intended to use NumericUnderscores -T16270.hs:38:5: error: +T16270.hs:38:5: error: [GHC-43080] primitive string literal must contain only characters <= '\xFF' -T16270.hs:40:7: error: A lambda requires at least one parameter +T16270.hs:40:7: error: [GHC-71614] + A lambda requires at least one parameter -T16270.hs:46:1: error: +T16270.hs:46:1: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) diff --git a/testsuite/tests/parser/should_fail/T16270h.stderr b/testsuite/tests/parser/should_fail/T16270h.stderr index f723d594da2c..ad24b9bb19ce 100644 --- a/testsuite/tests/parser/should_fail/T16270h.stderr +++ b/testsuite/tests/parser/should_fail/T16270h.stderr @@ -1,12 +1,12 @@ -T16270h.hs:8:22: error: +T16270h.hs:8:22: error: [GHC-47007] Illegal keyword 'type' Suggested fix: Perhaps you intended to use ExplicitNamespaces -T16270h.hs:10:8: error: +T16270h.hs:10:8: error: [GHC-21926] Parse error: ‘pkg?’ Version number or non-alphanumeric character in package name -T16270h.hs:11:8: error: +T16270h.hs:11:8: error: [GHC-21926] Parse error: ‘pkg!’ Version number or non-alphanumeric character in package name diff --git a/testsuite/tests/parser/should_fail/T16999.stderr b/testsuite/tests/parser/should_fail/T16999.stderr index 16b3235dd15e..187329aff525 100644 --- a/testsuite/tests/parser/should_fail/T16999.stderr +++ b/testsuite/tests/parser/should_fail/T16999.stderr @@ -1,2 +1,2 @@ -T16999.hs:6:5: error: Not a data constructor: ‘->’ +T16999.hs:6:5: error: [GHC-25742] Not a data constructor: ‘->’ diff --git a/testsuite/tests/parser/should_fail/T17045.stderr b/testsuite/tests/parser/should_fail/T17045.stderr index e67ac82f5e1a..f4bf96c8be6f 100644 --- a/testsuite/tests/parser/should_fail/T17045.stderr +++ b/testsuite/tests/parser/should_fail/T17045.stderr @@ -1,5 +1,5 @@ -T17045.hs:7:11: error: +T17045.hs:7:11: error: [GHC-76037] Not in scope: type constructor or class ‘String’ Suggested fix: Perhaps you want to add ‘String’ to the import list diff --git a/testsuite/tests/parser/should_fail/T17162.stderr b/testsuite/tests/parser/should_fail/T17162.stderr index 1eef0ea34691..84c985fa5598 100644 --- a/testsuite/tests/parser/should_fail/T17162.stderr +++ b/testsuite/tests/parser/should_fail/T17162.stderr @@ -1,5 +1,5 @@ -T17162.hs:7:21: error: +T17162.hs:7:21: error: [GHC-79767] Illegal bang-pattern !enc Suggested fix: Perhaps you intended to use BangPatterns diff --git a/testsuite/tests/parser/should_fail/T17865.stderr b/testsuite/tests/parser/should_fail/T17865.stderr index 560144fbe5f6..ccd2786f2609 100644 --- a/testsuite/tests/parser/should_fail/T17865.stderr +++ b/testsuite/tests/parser/should_fail/T17865.stderr @@ -1,16 +1,16 @@ -T17865.hs:3:11: error: +T17865.hs:3:11: error: [GHC-80236] Illegal promotion quote mark in the declaration of data/newtype constructor MkT -T17865.hs:5:13: error: +T17865.hs:5:13: error: [GHC-80236] Illegal promotion quote mark in the declaration of data/newtype constructor MkT' -T17865.hs:7:16: error: +T17865.hs:7:16: error: [GHC-80236] Illegal promotion quote mark in the declaration of data/newtype constructor (:>) -T17865.hs:9:17: error: +T17865.hs:9:17: error: [GHC-80236] Illegal promotion quote mark in the declaration of data/newtype constructor (:>$) diff --git a/testsuite/tests/parser/should_fail/T18130Fail.stderr b/testsuite/tests/parser/should_fail/T18130Fail.stderr index 60887b079961..4d77cae8da97 100644 --- a/testsuite/tests/parser/should_fail/T18130Fail.stderr +++ b/testsuite/tests/parser/should_fail/T18130Fail.stderr @@ -1,4 +1,4 @@ -T18130Fail.hs:11:7: error: +T18130Fail.hs:11:7: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘(a, b)’ has kind ‘*’ • In the newtype declaration for ‘Par’ diff --git a/testsuite/tests/parser/should_fail/T18251a.stderr b/testsuite/tests/parser/should_fail/T18251a.stderr index abdfd68e64e5..8e74248a0805 100644 --- a/testsuite/tests/parser/should_fail/T18251a.stderr +++ b/testsuite/tests/parser/should_fail/T18251a.stderr @@ -1,5 +1,4 @@ -T18251a.hs:3:1: error: - Parse error in pattern: pairs - In a function binding for the ‘@’ operator. - Perhaps you meant an as-pattern, which must not be surrounded by whitespace +T18251a.hs:3:1: error: [GHC-07626] + Parse error in pattern: pairs In a function binding for the ‘@’ operator. + Perhaps you meant an as-pattern, which must not be surrounded by whitespace diff --git a/testsuite/tests/parser/should_fail/T18251b.stderr b/testsuite/tests/parser/should_fail/T18251b.stderr index 0dab383d528e..ef67efad23ce 100644 --- a/testsuite/tests/parser/should_fail/T18251b.stderr +++ b/testsuite/tests/parser/should_fail/T18251b.stderr @@ -1,4 +1,4 @@ -T18251b.hs:3:11: error: +T18251b.hs:3:11: error: [GHC-08382] Found a binding for the ‘@’ operator in a pattern position. Perhaps you meant an as-pattern, which must not be surrounded by whitespace diff --git a/testsuite/tests/parser/should_fail/T18251d.stderr b/testsuite/tests/parser/should_fail/T18251d.stderr index 15825502e075..61b535f9735a 100644 --- a/testsuite/tests/parser/should_fail/T18251d.stderr +++ b/testsuite/tests/parser/should_fail/T18251d.stderr @@ -1,4 +1,4 @@ -T18251d.hs:6:1: error: +T18251d.hs:6:1: error: [GHC-07626] Parse error in pattern: f @a - Type applications in patterns are only allowed on data constructors. + Type applications in patterns are only allowed on data constructors. diff --git a/testsuite/tests/parser/should_fail/T18251f.stderr b/testsuite/tests/parser/should_fail/T18251f.stderr index fa859fa06aa9..84d589d35b12 100644 --- a/testsuite/tests/parser/should_fail/T18251f.stderr +++ b/testsuite/tests/parser/should_fail/T18251f.stderr @@ -1,4 +1,3 @@ -T18251f.hs:3:5: error: - Parse error in pattern: x - In a function binding for the ‘!’ operator. +T18251f.hs:3:5: error: [GHC-07626] + Parse error in pattern: x In a function binding for the ‘!’ operator. diff --git a/testsuite/tests/parser/should_fail/T19504.stderr b/testsuite/tests/parser/should_fail/T19504.stderr index 9d37ba22a0a8..f61b9db0056e 100644 --- a/testsuite/tests/parser/should_fail/T19504.stderr +++ b/testsuite/tests/parser/should_fail/T19504.stderr @@ -1,2 +1,2 @@ -T19504.hs:3:23: error: Tuple section in pattern context +T19504.hs:3:23: error: [GHC-09646] Tuple section in pattern context diff --git a/testsuite/tests/parser/should_fail/T19923a.stderr b/testsuite/tests/parser/should_fail/T19923a.stderr index 223c670921b7..4ec9713a4152 100644 --- a/testsuite/tests/parser/should_fail/T19923a.stderr +++ b/testsuite/tests/parser/should_fail/T19923a.stderr @@ -1,2 +1,2 @@ -T19923a.hs:1:14: error: Unsupported extension: T19923 +T19923a.hs:1:14: error: [GHC-46537] Unsupported extension: T19923 diff --git a/testsuite/tests/parser/should_fail/T19923b.stderr b/testsuite/tests/parser/should_fail/T19923b.stderr index 414fa902e813..fec2f5f20f1b 100644 --- a/testsuite/tests/parser/should_fail/T19923b.stderr +++ b/testsuite/tests/parser/should_fail/T19923b.stderr @@ -1,3 +1,3 @@ -T19923b.hs:1:17: error: +T19923b.hs:1:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: T19923 diff --git a/testsuite/tests/parser/should_fail/T19923c.stderr b/testsuite/tests/parser/should_fail/T19923c.stderr index e366c5dcd280..f99fb54f5f54 100644 --- a/testsuite/tests/parser/should_fail/T19923c.stderr +++ b/testsuite/tests/parser/should_fail/T19923c.stderr @@ -1,3 +1,3 @@ -T19923c.hs:1:17: error: +T19923c.hs:1:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: TemplateHaskell, diff --git a/testsuite/tests/parser/should_fail/T19928.stderr b/testsuite/tests/parser/should_fail/T19928.stderr index 342639a100cb..d7cd83a836c2 100644 --- a/testsuite/tests/parser/should_fail/T19928.stderr +++ b/testsuite/tests/parser/should_fail/T19928.stderr @@ -1,12 +1,12 @@ -T19928.hs:6:9: error: +T19928.hs:6:9: error: [GHC-37475] Parse error: ‘(%1 ->)’ Record constructors in GADTs must use an ordinary, non-linear arrow. -T19928.hs:7:9: error: +T19928.hs:7:9: error: [GHC-37475] Parse error: ‘(%p ->)’ Record constructors in GADTs must use an ordinary, non-linear arrow. -T19928.hs:8:9: error: +T19928.hs:8:9: error: [GHC-37475] Parse error: ‘(%1 ->)’ Record constructors in GADTs must use an ordinary, non-linear arrow. diff --git a/testsuite/tests/parser/should_fail/T20385A.stderr b/testsuite/tests/parser/should_fail/T20385A.stderr index 5a0bbc14e498..3e5b6c718d1b 100644 --- a/testsuite/tests/parser/should_fail/T20385A.stderr +++ b/testsuite/tests/parser/should_fail/T20385A.stderr @@ -1,11 +1,11 @@ -T20385A.hs:5:1: warning: [-Wmisplaced-pragmas (in -Wdefault)] +T20385A.hs:5:1: warning: [GHC-28007] [-Wmisplaced-pragmas (in -Wdefault)] Misplaced LANGUAGE pragma Suggested fix: Perhaps you meant to place it in the module header? The module header is the section at the top of the file, before the ‘module’ keyword -T20385A.hs:10:9: error: +T20385A.hs:10:9: error: [GHC-88464] Variable not in scope: mdo :: a -> a Suggested fixes: • Perhaps use ‘mod’ (imported from Prelude) diff --git a/testsuite/tests/parser/should_fail/T20385B.stderr b/testsuite/tests/parser/should_fail/T20385B.stderr index f854e2be1a8f..0f7c9be2d658 100644 --- a/testsuite/tests/parser/should_fail/T20385B.stderr +++ b/testsuite/tests/parser/should_fail/T20385B.stderr @@ -1,11 +1,11 @@ -T20385B.hs:6:1: warning: [-Wmisplaced-pragmas (in -Wdefault)] +T20385B.hs:6:1: warning: [GHC-28007] [-Wmisplaced-pragmas (in -Wdefault)] Misplaced LANGUAGE pragma Suggested fix: Perhaps you meant to place it in the module header? The module header is the section at the top of the file, before the ‘module’ keyword -T20385B.hs:11:9: error: +T20385B.hs:11:9: error: [GHC-88464] Variable not in scope: mdo :: a -> a Suggested fixes: • Perhaps use ‘mod’ (imported from Prelude) diff --git a/testsuite/tests/parser/should_fail/T20654a.stderr b/testsuite/tests/parser/should_fail/T20654a.stderr index 81760a572b9b..beb5858afa70 100644 --- a/testsuite/tests/parser/should_fail/T20654a.stderr +++ b/testsuite/tests/parser/should_fail/T20654a.stderr @@ -1,5 +1,5 @@ -T20654a.hs:7:9: error: +T20654a.hs:7:9: error: [GHC-18872] • Couldn't match type: forall a. a -> a with: Int -> Int arising from a functional dependency between constraints: diff --git a/testsuite/tests/parser/should_fail/T20654b.stderr b/testsuite/tests/parser/should_fail/T20654b.stderr index ba7f6a356a5c..3a913b6b7726 100644 --- a/testsuite/tests/parser/should_fail/T20654b.stderr +++ b/testsuite/tests/parser/should_fail/T20654b.stderr @@ -1,4 +1,4 @@ -T20654b.hs:6:17: error: +T20654b.hs:6:17: error: [GHC-83865] • Expected a type, but ‘?ip2 :: Int’ has kind ‘Constraint’ • In the type signature: bar :: (?ip1 :: ?ip2 :: Int) => Int diff --git a/testsuite/tests/parser/should_fail/T3095.stderr b/testsuite/tests/parser/should_fail/T3095.stderr index ebb42b5be110..5448b9703547 100644 --- a/testsuite/tests/parser/should_fail/T3095.stderr +++ b/testsuite/tests/parser/should_fail/T3095.stderr @@ -1,11 +1,11 @@ -T3095.hs:8:12: error: +T3095.hs:8:12: error: [GHC-25955] Illegal symbol ‘forall’ in type Suggested fix: Perhaps you intended to use RankNTypes or a similar language extension to enable explicit-forall syntax: forall <tvs>. <type> -T3095.hs:8:12: error: +T3095.hs:8:12: error: [GHC-77878] Unexpected type ‘forall x. x :: Type’ In the class declaration for ‘Bla’ A class declaration should have form diff --git a/testsuite/tests/parser/should_fail/T3153.stderr b/testsuite/tests/parser/should_fail/T3153.stderr index f9e9ab62baeb..dd33ece17f76 100644 --- a/testsuite/tests/parser/should_fail/T3153.stderr +++ b/testsuite/tests/parser/should_fail/T3153.stderr @@ -1,5 +1,5 @@ -T3153.hs:1:1: +T3153.hs:1:1: error: [GHC-68686] Cannot parse LANGUAGE pragma Expecting comma-separated list of language options, each starting with a capital letter diff --git a/testsuite/tests/parser/should_fail/T3751.stderr b/testsuite/tests/parser/should_fail/T3751.stderr index cf14e746e19a..7eecf9f9adf6 100644 --- a/testsuite/tests/parser/should_fail/T3751.stderr +++ b/testsuite/tests/parser/should_fail/T3751.stderr @@ -1,3 +1,3 @@ -T3751.hs:3:7: +T3751.hs:3:7: error: [GHC-21231] lexical error in string/character literal at character '\167' diff --git a/testsuite/tests/parser/should_fail/T3811.stderr b/testsuite/tests/parser/should_fail/T3811.stderr index f0209ba85fce..4e1bf3fef19c 100644 --- a/testsuite/tests/parser/should_fail/T3811.stderr +++ b/testsuite/tests/parser/should_fail/T3811.stderr @@ -1,5 +1,5 @@ -T3811.hs:4:1: error: +T3811.hs:4:1: error: [GHC-94426] Invalid type signature: f x :: ... Suggested fix: A type signature should be of form <variables> :: <type> diff --git a/testsuite/tests/parser/should_fail/T3811b.stderr b/testsuite/tests/parser/should_fail/T3811b.stderr index 65de1d5a75f9..886952947245 100644 --- a/testsuite/tests/parser/should_fail/T3811b.stderr +++ b/testsuite/tests/parser/should_fail/T3811b.stderr @@ -1,4 +1,3 @@ -T3811b.hs:4:14: error: - Cannot parse data constructor in a data/newtype declaration: - !B +T3811b.hs:4:14: error: [GHC-46574] + Cannot parse data constructor in a data/newtype declaration: !B diff --git a/testsuite/tests/parser/should_fail/T3811d.stderr b/testsuite/tests/parser/should_fail/T3811d.stderr index 4ba2d16e01f2..456776b1fbf4 100644 --- a/testsuite/tests/parser/should_fail/T3811d.stderr +++ b/testsuite/tests/parser/should_fail/T3811d.stderr @@ -1,5 +1,5 @@ -T3811d.hs:6:12: error: +T3811d.hs:6:12: error: [GHC-77878] Unexpected type ‘D Char’ In the class declaration for ‘C’ A class declaration should have form diff --git a/testsuite/tests/parser/should_fail/T3811e.stderr b/testsuite/tests/parser/should_fail/T3811e.stderr index 10cd25f9e8a4..65bfd70f7078 100644 --- a/testsuite/tests/parser/should_fail/T3811e.stderr +++ b/testsuite/tests/parser/should_fail/T3811e.stderr @@ -1,4 +1,4 @@ -T3811e.hs:6:6: +T3811e.hs:6:6: error: [GHC-87429] Illegal datatype context: (Show a, Read a) => Suggested fix: Perhaps you intended to use DatatypeContexts diff --git a/testsuite/tests/parser/should_fail/T3811f.stderr b/testsuite/tests/parser/should_fail/T3811f.stderr index 783a89e284ed..4b2155b5b523 100644 --- a/testsuite/tests/parser/should_fail/T3811f.stderr +++ b/testsuite/tests/parser/should_fail/T3811f.stderr @@ -1,3 +1,3 @@ -T3811f.hs:4:7: error: +T3811f.hs:4:7: error: [GHC-47568] Malformed head of type or class declaration: !Foo a diff --git a/testsuite/tests/parser/should_fail/T5425.stderr b/testsuite/tests/parser/should_fail/T5425.stderr index 52d29d9d5b45..5850c85f43aa 100644 --- a/testsuite/tests/parser/should_fail/T5425.stderr +++ b/testsuite/tests/parser/should_fail/T5425.stderr @@ -1,3 +1,3 @@ -T5425.hs:5:2: +T5425.hs:5:2: error: [GHC-21231] lexical error in string/character literal at character '\955' diff --git a/testsuite/tests/parser/should_fail/T7848.stderr b/testsuite/tests/parser/should_fail/T7848.stderr index 9c80704c435a..ff24ae7b375c 100644 --- a/testsuite/tests/parser/should_fail/T7848.stderr +++ b/testsuite/tests/parser/should_fail/T7848.stderr @@ -1,5 +1,5 @@ -T7848.hs:10:9: error: +T7848.hs:10:9: error: [GHC-25897] • Couldn't match expected type ‘Char’ with actual type ‘a’ ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/parser/should_fail/T8258NoGADTs.stderr b/testsuite/tests/parser/should_fail/T8258NoGADTs.stderr index 8e0cce6f5491..cb3916149225 100644 --- a/testsuite/tests/parser/should_fail/T8258NoGADTs.stderr +++ b/testsuite/tests/parser/should_fail/T8258NoGADTs.stderr @@ -1,5 +1,5 @@ -T8258NoGADTs.hs:4:8: error: +T8258NoGADTs.hs:4:8: error: [GHC-36952] Illegal keyword 'where' in data declaration Suggested fix: Perhaps you intended to use GADTs diff --git a/testsuite/tests/parser/should_fail/T8431.stderr b/testsuite/tests/parser/should_fail/T8431.stderr index 4a4d1fe1aee3..c82ec6ad344f 100644 --- a/testsuite/tests/parser/should_fail/T8431.stderr +++ b/testsuite/tests/parser/should_fail/T8431.stderr @@ -1,2 +1,2 @@ -T8431.hs:1:1: parse error on input ‘)’ +T8431.hs:1:1: error: [GHC-58481] parse error on input ‘)’ diff --git a/testsuite/tests/parser/should_fail/T8501a.stderr b/testsuite/tests/parser/should_fail/T8501a.stderr index 1c899e8bcac7..83f456bd417e 100644 --- a/testsuite/tests/parser/should_fail/T8501a.stderr +++ b/testsuite/tests/parser/should_fail/T8501a.stderr @@ -1,6 +1,6 @@ -T8501a.hs:5:3: error: +T8501a.hs:5:3: error: [GHC-07626] Parse error in pattern: rec Suggested fixes: - Perhaps you intended to use RecursiveDo - Possibly caused by a missing 'do'? + • Perhaps you intended to use RecursiveDo + • Possibly caused by a missing 'do'? diff --git a/testsuite/tests/parser/should_fail/T8501b.stderr b/testsuite/tests/parser/should_fail/T8501b.stderr index 15a631c17798..1b4bd6a819c9 100644 --- a/testsuite/tests/parser/should_fail/T8501b.stderr +++ b/testsuite/tests/parser/should_fail/T8501b.stderr @@ -1,4 +1,4 @@ -T8501b.hs:5:9: error: +T8501b.hs:5:9: error: [GHC-58481] parse error on input ‘<-’ Suggested fix: Perhaps you intended to use RecursiveDo diff --git a/testsuite/tests/parser/should_fail/T8501c.stderr b/testsuite/tests/parser/should_fail/T8501c.stderr index 20975c3c19d3..2d8c74a39919 100644 --- a/testsuite/tests/parser/should_fail/T8501c.stderr +++ b/testsuite/tests/parser/should_fail/T8501c.stderr @@ -1,5 +1,5 @@ -T8501c.hs:4:7: error: +T8501c.hs:4:7: error: [GHC-88464] Variable not in scope: mdo :: (String -> IO ()) -> String -> IO () Suggested fixes: • Perhaps use ‘mod’ (imported from Prelude) diff --git a/testsuite/tests/parser/should_fail/T8506.stderr b/testsuite/tests/parser/should_fail/T8506.stderr index d7de4fe4e388..23e3e37a5635 100644 --- a/testsuite/tests/parser/should_fail/T8506.stderr +++ b/testsuite/tests/parser/should_fail/T8506.stderr @@ -1,5 +1,5 @@ -T8506.hs:3:16: +T8506.hs:3:16: error: [GHC-77878] Unexpected type ‘Int’ In the class declaration for ‘Shapable’ A class declaration should have form diff --git a/testsuite/tests/parser/should_fail/T9225.stderr b/testsuite/tests/parser/should_fail/T9225.stderr index 47633025b8df..f490ce57299f 100644 --- a/testsuite/tests/parser/should_fail/T9225.stderr +++ b/testsuite/tests/parser/should_fail/T9225.stderr @@ -1,4 +1,4 @@ -T9225.hs:4:8: error: +T9225.hs:4:8: error: [GHC-21926] Parse error: ‘some-package-0.1.2.3’ Version number or non-alphanumeric character in package name diff --git a/testsuite/tests/parser/should_fail/T984.stderr b/testsuite/tests/parser/should_fail/T984.stderr index aaa4f532a9cf..f320aaec403c 100644 --- a/testsuite/tests/parser/should_fail/T984.stderr +++ b/testsuite/tests/parser/should_fail/T984.stderr @@ -1,3 +1,2 @@ -T984.hs:6:9: error: - (case ... of ...)-syntax in pattern +T984.hs:6:9: error: [GHC-53786] (case ... of ...)-syntax in pattern diff --git a/testsuite/tests/parser/should_fail/ViewPatternsFail.stderr b/testsuite/tests/parser/should_fail/ViewPatternsFail.stderr index 97d82b4c1622..ae1a4418a120 100644 --- a/testsuite/tests/parser/should_fail/ViewPatternsFail.stderr +++ b/testsuite/tests/parser/should_fail/ViewPatternsFail.stderr @@ -1,4 +1,4 @@ -ViewPatternsFail.hs:7:6: error: +ViewPatternsFail.hs:7:6: error: [GHC-22406] Illegal view pattern: a -> l Suggested fix: Perhaps you intended to use ViewPatterns diff --git a/testsuite/tests/parser/should_fail/cmdFail001.stderr b/testsuite/tests/parser/should_fail/cmdFail001.stderr index 7f8210ab4b4f..a8f8e759fa1f 100644 --- a/testsuite/tests/parser/should_fail/cmdFail001.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail001.stderr @@ -1,2 +1,2 @@ -cmdFail001.hs:4:15: error: Parse error in command: _ +cmdFail001.hs:4:15: error: [GHC-03790] Parse error in command: _ diff --git a/testsuite/tests/parser/should_fail/cmdFail002.stderr b/testsuite/tests/parser/should_fail/cmdFail002.stderr index 1e0393346abe..be1fdfa17a5a 100644 --- a/testsuite/tests/parser/should_fail/cmdFail002.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail002.stderr @@ -1,2 +1,3 @@ -cmdFail002.hs:4:15: error: Parse error in command: (_ -< _) :: _ +cmdFail002.hs:4:15: error: [GHC-03790] + Parse error in command: (_ -< _) :: _ diff --git a/testsuite/tests/parser/should_fail/cmdFail003.stderr b/testsuite/tests/parser/should_fail/cmdFail003.stderr index 21f958174d3f..37e202765d46 100644 --- a/testsuite/tests/parser/should_fail/cmdFail003.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail003.stderr @@ -1,3 +1,3 @@ -cmdFail003.hs:4:15: error: +cmdFail003.hs:4:15: error: [GHC-03790] Parse error in command: [_ -< _, _ -< _, _ -< _, _ -< _, _ -< _] diff --git a/testsuite/tests/parser/should_fail/cmdFail004.stderr b/testsuite/tests/parser/should_fail/cmdFail004.stderr index ed149373671a..030442bae68e 100644 --- a/testsuite/tests/parser/should_fail/cmdFail004.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail004.stderr @@ -1,2 +1,3 @@ -cmdFail004.hs:4:16: error: Parse error in command: _ -> (_ -< _) +cmdFail004.hs:4:16: error: [GHC-03790] + Parse error in command: _ -> (_ -< _) diff --git a/testsuite/tests/parser/should_fail/cmdFail005.stderr b/testsuite/tests/parser/should_fail/cmdFail005.stderr index 9944ff277c42..4d2015a4f611 100644 --- a/testsuite/tests/parser/should_fail/cmdFail005.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail005.stderr @@ -1,2 +1,3 @@ -cmdFail005.hs:4:15: error: Parse error in command: x@(_ -< _) +cmdFail005.hs:4:15: error: [GHC-03790] + Parse error in command: x@(_ -< _) diff --git a/testsuite/tests/parser/should_fail/cmdFail006.stderr b/testsuite/tests/parser/should_fail/cmdFail006.stderr index ad64e916481a..529b47168e04 100644 --- a/testsuite/tests/parser/should_fail/cmdFail006.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail006.stderr @@ -1,2 +1,3 @@ -cmdFail006.hs:4:15: error: Parse error in command: ~(_ -< _) +cmdFail006.hs:4:15: error: [GHC-03790] + Parse error in command: ~(_ -< _) diff --git a/testsuite/tests/parser/should_fail/cmdFail007.stderr b/testsuite/tests/parser/should_fail/cmdFail007.stderr index 82dadb6b67a6..3dd2525d7497 100644 --- a/testsuite/tests/parser/should_fail/cmdFail007.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail007.stderr @@ -1,4 +1,4 @@ -cmdFail007.hs:5:7: error: +cmdFail007.hs:5:7: error: [GHC-03790] Parse error in command: (_ -< _) {a = _ -< _, b = _ -< _, c = _ -< _} diff --git a/testsuite/tests/parser/should_fail/cmdFail008.stderr b/testsuite/tests/parser/should_fail/cmdFail008.stderr index 0f2f0818d7eb..83dc10ef3ce6 100644 --- a/testsuite/tests/parser/should_fail/cmdFail008.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail008.stderr @@ -1,2 +1,3 @@ -cmdFail008.hs:4:16: error: Parse error in command: !(_ -< _) +cmdFail008.hs:4:16: error: [GHC-03790] + Parse error in command: !(_ -< _) diff --git a/testsuite/tests/parser/should_fail/cmdFail009.stderr b/testsuite/tests/parser/should_fail/cmdFail009.stderr index a0c4af5b774b..fd8bd5fbf756 100644 --- a/testsuite/tests/parser/should_fail/cmdFail009.stderr +++ b/testsuite/tests/parser/should_fail/cmdFail009.stderr @@ -1,3 +1,3 @@ -cmdFail009.hs:4:15: error: +cmdFail009.hs:4:15: error: [GHC-03790] Parse error in command: (_ -< _,_ -< _,_ -< _,_ -< _,_ -< _) diff --git a/testsuite/tests/parser/should_fail/patFail001.stderr b/testsuite/tests/parser/should_fail/patFail001.stderr index 6dd20d794d47..e930f5014e05 100644 --- a/testsuite/tests/parser/should_fail/patFail001.stderr +++ b/testsuite/tests/parser/should_fail/patFail001.stderr @@ -1,4 +1,4 @@ -patFail001.hs:3:4: error: +patFail001.hs:3:4: error: [GHC-00482] Lambda-syntax in pattern. Pattern matching on functions is not possible. diff --git a/testsuite/tests/parser/should_fail/patFail002.stderr b/testsuite/tests/parser/should_fail/patFail002.stderr index 804bfe9f4725..b00eb914c7c3 100644 --- a/testsuite/tests/parser/should_fail/patFail002.stderr +++ b/testsuite/tests/parser/should_fail/patFail002.stderr @@ -1,2 +1,3 @@ -patFail002.hs:3:4: error: (let ... in ...)-syntax in pattern +patFail002.hs:3:4: error: [GHC-78892] + (let ... in ...)-syntax in pattern diff --git a/testsuite/tests/parser/should_fail/patFail003.stderr b/testsuite/tests/parser/should_fail/patFail003.stderr index dc6e7aaea00c..1813f099e252 100644 --- a/testsuite/tests/parser/should_fail/patFail003.stderr +++ b/testsuite/tests/parser/should_fail/patFail003.stderr @@ -1,2 +1,3 @@ -patFail003.hs:3:4: error: (case ... of ...)-syntax in pattern +patFail003.hs:3:4: error: [GHC-53786] + (case ... of ...)-syntax in pattern diff --git a/testsuite/tests/parser/should_fail/patFail004.stderr b/testsuite/tests/parser/should_fail/patFail004.stderr index 48d289c3489b..af6edca1a559 100644 --- a/testsuite/tests/parser/should_fail/patFail004.stderr +++ b/testsuite/tests/parser/should_fail/patFail004.stderr @@ -1,3 +1,3 @@ -patFail004.hs:3:4: error: +patFail004.hs:3:4: error: [GHC-45696] (if ... then ... else ...)-syntax in pattern diff --git a/testsuite/tests/parser/should_fail/patFail005.stderr b/testsuite/tests/parser/should_fail/patFail005.stderr index 1302d62e0c2c..e79136377639 100644 --- a/testsuite/tests/parser/should_fail/patFail005.stderr +++ b/testsuite/tests/parser/should_fail/patFail005.stderr @@ -1,2 +1,2 @@ -patFail005.hs:3:4: error: do-notation in pattern +patFail005.hs:3:4: error: [GHC-06446] do-notation in pattern diff --git a/testsuite/tests/parser/should_fail/patFail006.stderr b/testsuite/tests/parser/should_fail/patFail006.stderr index 270f73816322..cc73e7531ebb 100644 --- a/testsuite/tests/parser/should_fail/patFail006.stderr +++ b/testsuite/tests/parser/should_fail/patFail006.stderr @@ -1,2 +1,2 @@ -patFail006.hs:3:4: error: Parse error in pattern: -(1) +patFail006.hs:3:4: error: [GHC-07626] Parse error in pattern: -(1) diff --git a/testsuite/tests/parser/should_fail/patFail007.stderr b/testsuite/tests/parser/should_fail/patFail007.stderr index f07689ba8322..02fabd047250 100644 --- a/testsuite/tests/parser/should_fail/patFail007.stderr +++ b/testsuite/tests/parser/should_fail/patFail007.stderr @@ -1,2 +1,2 @@ -patFail007.hs:3:4: error: Parse error in pattern: +1 +patFail007.hs:3:4: error: [GHC-72516] Parse error in pattern: +1 diff --git a/testsuite/tests/parser/should_fail/patFail008.stderr b/testsuite/tests/parser/should_fail/patFail008.stderr index d9957d9ca599..4656ee4bbf79 100644 --- a/testsuite/tests/parser/should_fail/patFail008.stderr +++ b/testsuite/tests/parser/should_fail/patFail008.stderr @@ -1,2 +1,3 @@ -patFail008.hs:4:4: error: Command syntax in pattern: a -< b +patFail008.hs:4:4: error: [GHC-98980] + Command syntax in pattern: a -< b diff --git a/testsuite/tests/parser/should_fail/patFail009.stderr b/testsuite/tests/parser/should_fail/patFail009.stderr index 0c9fb5de15b8..54bfa45bc28c 100644 --- a/testsuite/tests/parser/should_fail/patFail009.stderr +++ b/testsuite/tests/parser/should_fail/patFail009.stderr @@ -1,2 +1,3 @@ -patFail009.hs:4:3: error: Expression syntax in pattern: #a +patFail009.hs:4:3: error: [GHC-04584] + Expression syntax in pattern: #a diff --git a/testsuite/tests/parser/should_fail/position001.stderr b/testsuite/tests/parser/should_fail/position001.stderr index d83041b460e9..39b8320f7660 100644 --- a/testsuite/tests/parser/should_fail/position001.stderr +++ b/testsuite/tests/parser/should_fail/position001.stderr @@ -1,2 +1,3 @@ -position001.hs:6:33: parse error on input ‘module’ +position001.hs:6:33: error: [GHC-58481] + parse error on input ‘module’ diff --git a/testsuite/tests/parser/should_fail/position002.stderr b/testsuite/tests/parser/should_fail/position002.stderr index a57a790323a5..59555a917c38 100644 --- a/testsuite/tests/parser/should_fail/position002.stderr +++ b/testsuite/tests/parser/should_fail/position002.stderr @@ -1,2 +1,3 @@ -position002.hs:6:33: parse error on input ‘module’ +position002.hs:6:33: error: [GHC-58481] + parse error on input ‘module’ diff --git a/testsuite/tests/parser/should_fail/proposal-229c.stderr b/testsuite/tests/parser/should_fail/proposal-229c.stderr index 47753c88dd63..3a240e02b400 100644 --- a/testsuite/tests/parser/should_fail/proposal-229c.stderr +++ b/testsuite/tests/parser/should_fail/proposal-229c.stderr @@ -1,5 +1,5 @@ -proposal-229c.hs:6:3: error: +proposal-229c.hs:6:3: error: [GHC-79767] Illegal bang-pattern !x Suggested fix: Perhaps you intended to use BangPatterns diff --git a/testsuite/tests/parser/should_fail/readFail001.stderr b/testsuite/tests/parser/should_fail/readFail001.stderr index f8b3b7e81af6..45ee2957f26f 100644 --- a/testsuite/tests/parser/should_fail/readFail001.stderr +++ b/testsuite/tests/parser/should_fail/readFail001.stderr @@ -1,22 +1,24 @@ -readFail001.hs:25:11: error: +readFail001.hs:25:11: error: [GHC-44432] The fixity signature for ‘+#’ lacks an accompanying binding -readFail001.hs:38:32: error: +readFail001.hs:38:32: error: [GHC-76037] Not in scope: type constructor or class ‘Leaf’ Suggested fix: Perhaps you intended to use DataKinds to refer to the data constructor of that name? -readFail001.hs:38:41: error: +readFail001.hs:38:41: error: [GHC-76037] Not in scope: type constructor or class ‘Leaf’ Suggested fix: Perhaps you intended to use DataKinds to refer to the data constructor of that name? -readFail001.hs:107:30: error: Not in scope: data constructor ‘Foo’ +readFail001.hs:107:30: error: [GHC-76037] + Not in scope: data constructor ‘Foo’ -readFail001.hs:107:42: error: Not in scope: data constructor ‘Bar’ +readFail001.hs:107:42: error: [GHC-76037] + Not in scope: data constructor ‘Bar’ -readFail001.hs:112:23: error: +readFail001.hs:112:23: error: [GHC-76037] Not in scope: type constructor or class ‘Foo’ diff --git a/testsuite/tests/parser/should_fail/readFail002.stderr b/testsuite/tests/parser/should_fail/readFail002.stderr index d368fe302d93..4d7d475b8618 100644 --- a/testsuite/tests/parser/should_fail/readFail002.stderr +++ b/testsuite/tests/parser/should_fail/readFail002.stderr @@ -1,3 +1,3 @@ -readFail002.hs:5:6: +readFail002.hs:5:6: error: [GHC-21231] lexical error in string/character literal at character '\n' diff --git a/testsuite/tests/parser/should_fail/readFail003.stderr b/testsuite/tests/parser/should_fail/readFail003.stderr index d969ba7df1f0..c3c55f35c774 100644 --- a/testsuite/tests/parser/should_fail/readFail003.stderr +++ b/testsuite/tests/parser/should_fail/readFail003.stderr @@ -1,5 +1,5 @@ -readFail003.hs:4:27: error: +readFail003.hs:4:27: error: [GHC-25897] • Couldn't match expected type ‘(a1, [a2], [a3])’ with actual type ‘a1’ ‘a1’ is a rigid type variable bound by diff --git a/testsuite/tests/parser/should_fail/readFail004.stderr b/testsuite/tests/parser/should_fail/readFail004.stderr index 45ad7d72159a..2b6a3088e388 100644 --- a/testsuite/tests/parser/should_fail/readFail004.stderr +++ b/testsuite/tests/parser/should_fail/readFail004.stderr @@ -1,3 +1,3 @@ -readFail004.hs:19:1: +readFail004.hs:19:1: error: [GHC-21231] lexical error in string/character literal at character '.' diff --git a/testsuite/tests/parser/should_fail/readFail005.stderr b/testsuite/tests/parser/should_fail/readFail005.stderr index 6b5b2ce9e29d..e0d851116768 100644 --- a/testsuite/tests/parser/should_fail/readFail005.stderr +++ b/testsuite/tests/parser/should_fail/readFail005.stderr @@ -1,3 +1,3 @@ -readFail005.hs:4:7: +readFail005.hs:4:7: error: [GHC-21231] lexical error in string/character literal at character '&' diff --git a/testsuite/tests/parser/should_fail/readFail006.stderr b/testsuite/tests/parser/should_fail/readFail006.stderr index f697584e4a98..c7ce043c5654 100644 --- a/testsuite/tests/parser/should_fail/readFail006.stderr +++ b/testsuite/tests/parser/should_fail/readFail006.stderr @@ -1,2 +1,2 @@ -readFail006.hs:8:12: parse error on input ‘@’ +readFail006.hs:8:12: error: [GHC-58481] parse error on input ‘@’ diff --git a/testsuite/tests/parser/should_fail/readFail007.stderr b/testsuite/tests/parser/should_fail/readFail007.stderr index ab4140f52aca..a3addbcee9a8 100644 --- a/testsuite/tests/parser/should_fail/readFail007.stderr +++ b/testsuite/tests/parser/should_fail/readFail007.stderr @@ -1,4 +1,4 @@ -readFail007.hs:6:4: +readFail007.hs:6:4: error: [GHC-07626] Parse error in pattern: 2 + 2 Suggested fix: Possibly caused by a missing 'do'? diff --git a/testsuite/tests/parser/should_fail/readFail009.stderr b/testsuite/tests/parser/should_fail/readFail009.stderr index d7e2252e6576..1eac9e11d269 100644 --- a/testsuite/tests/parser/should_fail/readFail009.stderr +++ b/testsuite/tests/parser/should_fail/readFail009.stderr @@ -1,3 +1,3 @@ -readFail009.hs:12:1: +readFail009.hs:12:1: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) diff --git a/testsuite/tests/parser/should_fail/readFail011.stderr b/testsuite/tests/parser/should_fail/readFail011.stderr index 08388e5d21f3..cfacd930fdc3 100644 --- a/testsuite/tests/parser/should_fail/readFail011.stderr +++ b/testsuite/tests/parser/should_fail/readFail011.stderr @@ -1,3 +1,2 @@ -readFail011.hs:7:10: error: - parse error on input ‘=’ +readFail011.hs:7:10: error: [GHC-58481] parse error on input ‘=’ diff --git a/testsuite/tests/parser/should_fail/readFail012.stderr b/testsuite/tests/parser/should_fail/readFail012.stderr index 5909aa85dad0..f5a520b54679 100644 --- a/testsuite/tests/parser/should_fail/readFail012.stderr +++ b/testsuite/tests/parser/should_fail/readFail012.stderr @@ -1,2 +1,3 @@ -readFail012.hs:7:9: parse error (possibly incorrect indentation or mismatched brackets) +readFail012.hs:7:9: error: [GHC-58481] + parse error (possibly incorrect indentation or mismatched brackets) diff --git a/testsuite/tests/parser/should_fail/readFail013.stderr b/testsuite/tests/parser/should_fail/readFail013.stderr index ee3db9bae16c..7efc62aef1b5 100644 --- a/testsuite/tests/parser/should_fail/readFail013.stderr +++ b/testsuite/tests/parser/should_fail/readFail013.stderr @@ -1,2 +1,2 @@ -readFail013.hs:4:5: parse error on input ‘`’ +readFail013.hs:4:5: error: [GHC-58481] parse error on input ‘`’ diff --git a/testsuite/tests/parser/should_fail/readFail014.stderr b/testsuite/tests/parser/should_fail/readFail014.stderr index d8012cc19cd7..380ea1f8d7f7 100644 --- a/testsuite/tests/parser/should_fail/readFail014.stderr +++ b/testsuite/tests/parser/should_fail/readFail014.stderr @@ -1,2 +1,2 @@ -readFail014.hs:3:12: parse error on input ‘}’ +readFail014.hs:3:12: error: [GHC-58481] parse error on input ‘}’ diff --git a/testsuite/tests/parser/should_fail/readFail015.stderr b/testsuite/tests/parser/should_fail/readFail015.stderr index 3fed88764c44..ddba303035cb 100644 --- a/testsuite/tests/parser/should_fail/readFail015.stderr +++ b/testsuite/tests/parser/should_fail/readFail015.stderr @@ -1,2 +1,3 @@ -readFail015.hs:6:1: parse error (possibly incorrect indentation or mismatched brackets) +readFail015.hs:6:1: error: [GHC-58481] + parse error (possibly incorrect indentation or mismatched brackets) diff --git a/testsuite/tests/parser/should_fail/readFail017.stderr b/testsuite/tests/parser/should_fail/readFail017.stderr index 05f7c9931fed..cef1c740c080 100644 --- a/testsuite/tests/parser/should_fail/readFail017.stderr +++ b/testsuite/tests/parser/should_fail/readFail017.stderr @@ -1,2 +1,2 @@ -readFail017.hs:4:4: Parse error in pattern: f +readFail017.hs:4:4: error: [GHC-07626] Parse error in pattern: f diff --git a/testsuite/tests/parser/should_fail/readFail018.stderr b/testsuite/tests/parser/should_fail/readFail018.stderr index 1391d5736c87..3e3fde22befd 100644 --- a/testsuite/tests/parser/should_fail/readFail018.stderr +++ b/testsuite/tests/parser/should_fail/readFail018.stderr @@ -1,2 +1,3 @@ -readFail018.hs:3:1: error: unterminated `{-' at end of input +readFail018.hs:3:1: error: [GHC-21231] + unterminated `{-' at end of input diff --git a/testsuite/tests/parser/should_fail/readFail019.stderr b/testsuite/tests/parser/should_fail/readFail019.stderr index 0cf26735a0d0..f97677630d8e 100644 --- a/testsuite/tests/parser/should_fail/readFail019.stderr +++ b/testsuite/tests/parser/should_fail/readFail019.stderr @@ -1,2 +1,2 @@ -readFail019.hs:3:18: parse error on input ‘in’ +readFail019.hs:3:18: error: [GHC-58481] parse error on input ‘in’ diff --git a/testsuite/tests/parser/should_fail/readFail020.stderr b/testsuite/tests/parser/should_fail/readFail020.stderr index 0697604181fc..29639534b721 100644 --- a/testsuite/tests/parser/should_fail/readFail020.stderr +++ b/testsuite/tests/parser/should_fail/readFail020.stderr @@ -1,2 +1,2 @@ -readFail020.hs:3:16: error: parse error on input ‘}’ +readFail020.hs:3:16: error: [GHC-58481] parse error on input ‘}’ diff --git a/testsuite/tests/parser/should_fail/readFail022.stderr b/testsuite/tests/parser/should_fail/readFail022.stderr index 2c1b2542298b..52e4fdcafa6e 100644 --- a/testsuite/tests/parser/should_fail/readFail022.stderr +++ b/testsuite/tests/parser/should_fail/readFail022.stderr @@ -1,2 +1,3 @@ -readFail022.hs:4:2: Parse error in pattern: a # b +readFail022.hs:4:2: error: [GHC-07626] + Parse error in pattern: a # b diff --git a/testsuite/tests/parser/should_fail/readFail024.stderr b/testsuite/tests/parser/should_fail/readFail024.stderr index 45c8458d6c41..1e818889c5b3 100644 --- a/testsuite/tests/parser/should_fail/readFail024.stderr +++ b/testsuite/tests/parser/should_fail/readFail024.stderr @@ -1,2 +1,2 @@ -readFail024.hs:5:2: parse error on input ‘h’ +readFail024.hs:5:2: error: [GHC-58481] parse error on input ‘h’ diff --git a/testsuite/tests/parser/should_fail/readFail025.stderr b/testsuite/tests/parser/should_fail/readFail025.stderr index 5641642c99c6..fbacf225774b 100644 --- a/testsuite/tests/parser/should_fail/readFail025.stderr +++ b/testsuite/tests/parser/should_fail/readFail025.stderr @@ -1,5 +1,5 @@ -readFail025.hs:5:8: +readFail025.hs:5:8: error: [GHC-77878] Unexpected type ‘String’ In the data declaration for ‘T’ A data declaration should have form diff --git a/testsuite/tests/parser/should_fail/readFail026.stderr b/testsuite/tests/parser/should_fail/readFail026.stderr index 0577b26d4569..1bd46998a337 100644 --- a/testsuite/tests/parser/should_fail/readFail026.stderr +++ b/testsuite/tests/parser/should_fail/readFail026.stderr @@ -1,2 +1,2 @@ -readFail026.hs:3:7: parse error on input ‘,’ +readFail026.hs:3:7: error: [GHC-58481] parse error on input ‘,’ diff --git a/testsuite/tests/parser/should_fail/readFail027.stderr b/testsuite/tests/parser/should_fail/readFail027.stderr index 68f3d25755da..70f389de4983 100644 --- a/testsuite/tests/parser/should_fail/readFail027.stderr +++ b/testsuite/tests/parser/should_fail/readFail027.stderr @@ -1,2 +1,2 @@ -readFail027.hs:8:5: Missing block +readFail027.hs:8:5: error: [GHC-16849] Missing block diff --git a/testsuite/tests/parser/should_fail/readFail029.stderr b/testsuite/tests/parser/should_fail/readFail029.stderr index bf2afc357a5b..dc15ac1cdb78 100644 --- a/testsuite/tests/parser/should_fail/readFail029.stderr +++ b/testsuite/tests/parser/should_fail/readFail029.stderr @@ -1,5 +1,5 @@ -readFail029.hs:1:14: +readFail029.hs:1:14: error: [GHC-68686] Cannot parse LANGUAGE pragma Expecting comma-separated list of language options, each starting with a capital letter diff --git a/testsuite/tests/parser/should_fail/readFail030.stderr b/testsuite/tests/parser/should_fail/readFail030.stderr index e557a6b0552d..fb1728ee6277 100644 --- a/testsuite/tests/parser/should_fail/readFail030.stderr +++ b/testsuite/tests/parser/should_fail/readFail030.stderr @@ -1,2 +1,3 @@ -readFail030.hs:1:14: Unsupported extension: ExtensibleRecords +readFail030.hs:1:14: error: [GHC-46537] + Unsupported extension: ExtensibleRecords diff --git a/testsuite/tests/parser/should_fail/readFail031.stderr b/testsuite/tests/parser/should_fail/readFail031.stderr index eaf9058c72de..6b8937c94cf1 100644 --- a/testsuite/tests/parser/should_fail/readFail031.stderr +++ b/testsuite/tests/parser/should_fail/readFail031.stderr @@ -1,5 +1,5 @@ -readFail031.hs:4:3: error: +readFail031.hs:4:3: error: [GHC-94426] Invalid type signature: (:+) :: ... Suggested fix: A type signature should be of form <variables> :: <type> diff --git a/testsuite/tests/parser/should_fail/readFail032.stderr b/testsuite/tests/parser/should_fail/readFail032.stderr index c845203048d8..961d80de8f35 100644 --- a/testsuite/tests/parser/should_fail/readFail032.stderr +++ b/testsuite/tests/parser/should_fail/readFail032.stderr @@ -1,5 +1,5 @@ -readFail032.hs:25:38: error: +readFail032.hs:25:38: error: [GHC-83865] • Couldn't match type ‘Char’ with ‘[Char]’ Expected: [String] Actual: String diff --git a/testsuite/tests/parser/should_fail/readFail033.stderr b/testsuite/tests/parser/should_fail/readFail033.stderr index 595323f3fd0b..7e70703c4f1b 100644 --- a/testsuite/tests/parser/should_fail/readFail033.stderr +++ b/testsuite/tests/parser/should_fail/readFail033.stderr @@ -1,3 +1,3 @@ -readFail033.hs:2:6: +readFail033.hs:2:6: error: [GHC-21231] lexical error in string/character literal at character '\t' diff --git a/testsuite/tests/parser/should_fail/readFail034.stderr b/testsuite/tests/parser/should_fail/readFail034.stderr index ad2fb000afe0..62ba4d236e58 100644 --- a/testsuite/tests/parser/should_fail/readFail034.stderr +++ b/testsuite/tests/parser/should_fail/readFail034.stderr @@ -1,3 +1,2 @@ -readFail034.hs:4:6: error: - parse error on input ‘=’ +readFail034.hs:4:6: error: [GHC-58481] parse error on input ‘=’ diff --git a/testsuite/tests/parser/should_fail/readFail039.stderr b/testsuite/tests/parser/should_fail/readFail039.stderr index 9f14dd184517..cdb692487cdb 100644 --- a/testsuite/tests/parser/should_fail/readFail039.stderr +++ b/testsuite/tests/parser/should_fail/readFail039.stderr @@ -1,5 +1,5 @@ -readFail039.hs:9:14: error: +readFail039.hs:9:14: error: [GHC-82023] • Can't make a derived instance of ‘C Foo’: ‘C’ is not a stock derivable class (Eq, Show, etc.) • In the newtype declaration for ‘Foo’ diff --git a/testsuite/tests/parser/should_fail/readFail040.stderr b/testsuite/tests/parser/should_fail/readFail040.stderr index 3ba58a4adb2c..14f338b6a981 100644 --- a/testsuite/tests/parser/should_fail/readFail040.stderr +++ b/testsuite/tests/parser/should_fail/readFail040.stderr @@ -1,4 +1,4 @@ -readFail040.hs:7:11: error: +readFail040.hs:7:11: error: [GHC-58481] parse error on input ‘<-’ Suggested fix: Perhaps you intended to use RecursiveDo diff --git a/testsuite/tests/parser/should_fail/readFail044.stderr b/testsuite/tests/parser/should_fail/readFail044.stderr index c33e25cd99e0..82917e91fbd0 100644 --- a/testsuite/tests/parser/should_fail/readFail044.stderr +++ b/testsuite/tests/parser/should_fail/readFail044.stderr @@ -1,6 +1,6 @@ -readFail044.hs:3:17: error: +readFail044.hs:3:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -this-flag-does-not-exist -readFail044.hs:3:43: error: +readFail044.hs:3:43: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -nor-does-this-one diff --git a/testsuite/tests/parser/should_fail/readFail046.stderr b/testsuite/tests/parser/should_fail/readFail046.stderr index c3f3cab7a491..9f5eeddd2d52 100644 --- a/testsuite/tests/parser/should_fail/readFail046.stderr +++ b/testsuite/tests/parser/should_fail/readFail046.stderr @@ -1,5 +1,5 @@ -readFail046.hs:1:14: +readFail046.hs:1:14: error: [GHC-46537] Unsupported extension: ExistientialQuantification Suggested fix: Perhaps you meant ‘ExistentialQuantification’ or ‘NoExistentialQuantification’ diff --git a/testsuite/tests/parser/should_fail/readFail047.stderr b/testsuite/tests/parser/should_fail/readFail047.stderr index 09d27076e1f0..e68779b0858d 100644 --- a/testsuite/tests/parser/should_fail/readFail047.stderr +++ b/testsuite/tests/parser/should_fail/readFail047.stderr @@ -1,2 +1,3 @@ -readFail047.hs:6:5: parse error (possibly incorrect indentation or mismatched brackets) +readFail047.hs:6:5: error: [GHC-58481] + parse error (possibly incorrect indentation or mismatched brackets) diff --git a/testsuite/tests/parser/should_fail/readFail048.stderr b/testsuite/tests/parser/should_fail/readFail048.stderr index b1d7ab4dd28b..acc2ac4bebeb 100644 --- a/testsuite/tests/parser/should_fail/readFail048.stderr +++ b/testsuite/tests/parser/should_fail/readFail048.stderr @@ -1,5 +1,5 @@ -readFail048.hs:25:38: error: +readFail048.hs:25:38: error: [GHC-83865] • Couldn't match type ‘Char’ with ‘[Char]’ Expected: [String] Actual: String diff --git a/testsuite/tests/parser/should_fail/readFailTraditionalRecords1.stderr b/testsuite/tests/parser/should_fail/readFailTraditionalRecords1.stderr index 9a8ed3ae84ba..1f2fa108adb0 100644 --- a/testsuite/tests/parser/should_fail/readFailTraditionalRecords1.stderr +++ b/testsuite/tests/parser/should_fail/readFailTraditionalRecords1.stderr @@ -1,4 +1,4 @@ -readFailTraditionalRecords1.hs:6:16: +readFailTraditionalRecords1.hs:6:16: error: [GHC-65719] Illegal record syntax: {i :: Int} Suggested fix: Perhaps you intended to use TraditionalRecordSyntax diff --git a/testsuite/tests/parser/should_fail/readFailTraditionalRecords2.stderr b/testsuite/tests/parser/should_fail/readFailTraditionalRecords2.stderr index 91f9a590b05d..c0d4c52d80d1 100644 --- a/testsuite/tests/parser/should_fail/readFailTraditionalRecords2.stderr +++ b/testsuite/tests/parser/should_fail/readFailTraditionalRecords2.stderr @@ -1,4 +1,4 @@ -readFailTraditionalRecords2.hs:6:4: +readFailTraditionalRecords2.hs:6:4: error: [GHC-65719] Illegal record syntax: Foo {i = j} Suggested fix: Perhaps you intended to use TraditionalRecordSyntax diff --git a/testsuite/tests/parser/should_fail/readFailTraditionalRecords3.stderr b/testsuite/tests/parser/should_fail/readFailTraditionalRecords3.stderr index b741512b3b73..2b946dcdb631 100644 --- a/testsuite/tests/parser/should_fail/readFailTraditionalRecords3.stderr +++ b/testsuite/tests/parser/should_fail/readFailTraditionalRecords3.stderr @@ -1,4 +1,4 @@ -readFailTraditionalRecords3.hs:6:7: +readFailTraditionalRecords3.hs:6:7: error: [GHC-65719] Illegal record syntax: x {i = 3} Suggested fix: Perhaps you intended to use TraditionalRecordSyntax diff --git a/testsuite/tests/parser/should_fail/strictnessDataCon_A.stderr b/testsuite/tests/parser/should_fail/strictnessDataCon_A.stderr index 27e6c709a584..19b6b4091931 100644 --- a/testsuite/tests/parser/should_fail/strictnessDataCon_A.stderr +++ b/testsuite/tests/parser/should_fail/strictnessDataCon_A.stderr @@ -1,3 +1,3 @@ -strictnessDataCon_A.hs:1:27: error: +strictnessDataCon_A.hs:1:27: error: [GHC-24180] Operator applied to too few arguments: ! diff --git a/testsuite/tests/parser/should_fail/strictnessDataCon_B.stderr b/testsuite/tests/parser/should_fail/strictnessDataCon_B.stderr index 04ea0c8b184c..1c0e03ad6272 100644 --- a/testsuite/tests/parser/should_fail/strictnessDataCon_B.stderr +++ b/testsuite/tests/parser/should_fail/strictnessDataCon_B.stderr @@ -1,2 +1,3 @@ -strictnessDataCon_B.hs:1:42: error: parse error on input ‘}’ +strictnessDataCon_B.hs:1:42: error: [GHC-58481] + parse error on input ‘}’ diff --git a/testsuite/tests/parser/should_fail/typeopsDataCon_A.stderr b/testsuite/tests/parser/should_fail/typeopsDataCon_A.stderr index a4f089654eeb..b5af43891e35 100644 --- a/testsuite/tests/parser/should_fail/typeopsDataCon_A.stderr +++ b/testsuite/tests/parser/should_fail/typeopsDataCon_A.stderr @@ -1,4 +1,4 @@ -typeopsDataCon_A.hs:1:10: error: +typeopsDataCon_A.hs:1:10: error: [GHC-30670] Cannot parse an infix data constructor in a data/newtype declaration: Int :+ Int :+ Int diff --git a/testsuite/tests/parser/should_fail/typeopsDataCon_B.stderr b/testsuite/tests/parser/should_fail/typeopsDataCon_B.stderr index 16dd0a8d0bde..6cef32537855 100644 --- a/testsuite/tests/parser/should_fail/typeopsDataCon_B.stderr +++ b/testsuite/tests/parser/should_fail/typeopsDataCon_B.stderr @@ -1,2 +1,3 @@ -typeopsDataCon_B.hs:1:14: error: Not a data constructor: ‘+’ +typeopsDataCon_B.hs:1:14: error: [GHC-25742] + Not a data constructor: ‘+’ diff --git a/testsuite/tests/parser/should_fail/typeops_A.stderr b/testsuite/tests/parser/should_fail/typeops_A.stderr index 8558729f2fd6..404f38d5013c 100644 --- a/testsuite/tests/parser/should_fail/typeops_A.stderr +++ b/testsuite/tests/parser/should_fail/typeops_A.stderr @@ -1,3 +1,3 @@ -typeops_A.hs:2:1: error: +typeops_A.hs:2:1: error: [GHC-58481] parse error (possibly incorrect indentation or mismatched brackets) diff --git a/testsuite/tests/parser/should_fail/typeops_B.stderr b/testsuite/tests/parser/should_fail/typeops_B.stderr index 030516a27fff..2817c98fa6e2 100644 --- a/testsuite/tests/parser/should_fail/typeops_B.stderr +++ b/testsuite/tests/parser/should_fail/typeops_B.stderr @@ -1,2 +1,3 @@ -typeops_B.hs:1:10: error: Operator applied to too few arguments: + +typeops_B.hs:1:10: error: [GHC-24180] + Operator applied to too few arguments: + diff --git a/testsuite/tests/parser/should_fail/typeops_C.stderr b/testsuite/tests/parser/should_fail/typeops_C.stderr index 75372a8a2a0f..67e6fc584eba 100644 --- a/testsuite/tests/parser/should_fail/typeops_C.stderr +++ b/testsuite/tests/parser/should_fail/typeops_C.stderr @@ -1,2 +1,3 @@ -typeops_C.hs:1:14: error: Operator applied to too few arguments: + +typeops_C.hs:1:14: error: [GHC-24180] + Operator applied to too few arguments: + diff --git a/testsuite/tests/parser/should_fail/typeops_D.stderr b/testsuite/tests/parser/should_fail/typeops_D.stderr index 0ce7e29559e6..c955915855c0 100644 --- a/testsuite/tests/parser/should_fail/typeops_D.stderr +++ b/testsuite/tests/parser/should_fail/typeops_D.stderr @@ -1,2 +1,3 @@ -typeops_D.hs:1:10: error: Operator applied to too few arguments: + +typeops_D.hs:1:10: error: [GHC-24180] + Operator applied to too few arguments: + diff --git a/testsuite/tests/parser/should_fail/unpack_before_opr.stderr b/testsuite/tests/parser/should_fail/unpack_before_opr.stderr index 023803c18422..906df2864b8e 100644 --- a/testsuite/tests/parser/should_fail/unpack_before_opr.stderr +++ b/testsuite/tests/parser/should_fail/unpack_before_opr.stderr @@ -1,3 +1,3 @@ -unpack_before_opr.hs:6:34: error: +unpack_before_opr.hs:6:34: error: [GHC-24180] Operator applied to too few arguments: + diff --git a/testsuite/tests/parser/should_fail/unpack_empty_type.stderr b/testsuite/tests/parser/should_fail/unpack_empty_type.stderr index dbc73c87ffc6..1d1d93cd4cc0 100644 --- a/testsuite/tests/parser/should_fail/unpack_empty_type.stderr +++ b/testsuite/tests/parser/should_fail/unpack_empty_type.stderr @@ -1,2 +1,3 @@ -unpack_empty_type.hs:3:34: error: parse error on input ‘}’ +unpack_empty_type.hs:3:34: error: [GHC-58481] + parse error on input ‘}’ diff --git a/testsuite/tests/parser/should_fail/unpack_inside_type.stderr b/testsuite/tests/parser/should_fail/unpack_inside_type.stderr index 60d7ba87a314..bef48ba14818 100644 --- a/testsuite/tests/parser/should_fail/unpack_inside_type.stderr +++ b/testsuite/tests/parser/should_fail/unpack_inside_type.stderr @@ -1,5 +1,5 @@ -unpack_inside_type.hs:3:25: error: +unpack_inside_type.hs:3:25: error: [GHC-18932] • Unexpected UNPACK annotation: {-# UNPACK #-}Int UNPACK annotation cannot appear nested inside a type • In the first argument of ‘Maybe’, namely ‘({-# UNPACK #-}Int)’ diff --git a/testsuite/tests/parser/unicode/T18158b.stderr b/testsuite/tests/parser/unicode/T18158b.stderr index a2148b39084b..f5826cf40eab 100644 --- a/testsuite/tests/parser/unicode/T18158b.stderr +++ b/testsuite/tests/parser/unicode/T18158b.stderr @@ -1,2 +1,3 @@ -T18158b.hs:1:14: error: lexical error at character '\8559' +T18158b.hs:1:14: error: [GHC-21231] + lexical error at character '\8559' diff --git a/testsuite/tests/parser/unicode/T18225B.stderr b/testsuite/tests/parser/unicode/T18225B.stderr index 67cff08f214f..eb48c5ca93c5 100644 --- a/testsuite/tests/parser/unicode/T18225B.stderr +++ b/testsuite/tests/parser/unicode/T18225B.stderr @@ -1 +1,3 @@ -T18225B.hs:11:23: Parse error in command: [| x |] + +T18225B.hs:11:23: error: [GHC-03790] + Parse error in command: [| x |] diff --git a/testsuite/tests/parser/unicode/T2302.stderr b/testsuite/tests/parser/unicode/T2302.stderr index e56021f5e54c..c57aa2a2d25a 100644 --- a/testsuite/tests/parser/unicode/T2302.stderr +++ b/testsuite/tests/parser/unicode/T2302.stderr @@ -1,2 +1,2 @@ -T2302.hs:2:5: error: Data constructor not in scope: À +T2302.hs:2:5: error: [GHC-88464] Data constructor not in scope: À diff --git a/testsuite/tests/parser/unicode/utf8_002.stderr b/testsuite/tests/parser/unicode/utf8_002.stderr index d8083f0c89ed..50a895da04af 100644 --- a/testsuite/tests/parser/unicode/utf8_002.stderr +++ b/testsuite/tests/parser/unicode/utf8_002.stderr @@ -1,2 +1,3 @@ -utf8_002.hs:2:1: lexical error (UTF-8 decoding error) +utf8_002.hs:2:1: error: [GHC-21231] + lexical error (UTF-8 decoding error) diff --git a/testsuite/tests/parser/unicode/utf8_003.stderr b/testsuite/tests/parser/unicode/utf8_003.stderr index be433d91418f..f91425cffd41 100644 --- a/testsuite/tests/parser/unicode/utf8_003.stderr +++ b/testsuite/tests/parser/unicode/utf8_003.stderr @@ -1,2 +1,3 @@ -utf8_003.hs:2:1: lexical error (UTF-8 decoding error) +utf8_003.hs:2:1: error: [GHC-21231] + lexical error (UTF-8 decoding error) diff --git a/testsuite/tests/parser/unicode/utf8_004.stderr b/testsuite/tests/parser/unicode/utf8_004.stderr index aff8256549c1..f0a83514e3c5 100644 --- a/testsuite/tests/parser/unicode/utf8_004.stderr +++ b/testsuite/tests/parser/unicode/utf8_004.stderr @@ -1,2 +1,3 @@ -utf8_004.hs:2:1: lexical error (UTF-8 decoding error) +utf8_004.hs:2:1: error: [GHC-21231] + lexical error (UTF-8 decoding error) diff --git a/testsuite/tests/parser/unicode/utf8_005.stderr b/testsuite/tests/parser/unicode/utf8_005.stderr index 3d551bae44e1..1f193d0823d1 100644 --- a/testsuite/tests/parser/unicode/utf8_005.stderr +++ b/testsuite/tests/parser/unicode/utf8_005.stderr @@ -1,2 +1,3 @@ -utf8_005.hs:2:1: lexical error (UTF-8 decoding error) +utf8_005.hs:2:1: error: [GHC-21231] + lexical error (UTF-8 decoding error) diff --git a/testsuite/tests/parser/unicode/utf8_010.stderr b/testsuite/tests/parser/unicode/utf8_010.stderr index a2bb9b52e293..79d289d2d211 100644 --- a/testsuite/tests/parser/unicode/utf8_010.stderr +++ b/testsuite/tests/parser/unicode/utf8_010.stderr @@ -1,3 +1,3 @@ -utf8_010.hs:2:8: +utf8_010.hs:2:8: error: [GHC-21231] lexical error in string/character literal (UTF-8 decoding error) diff --git a/testsuite/tests/parser/unicode/utf8_011.stderr b/testsuite/tests/parser/unicode/utf8_011.stderr index 0b34980303cd..48a04d26c37c 100644 --- a/testsuite/tests/parser/unicode/utf8_011.stderr +++ b/testsuite/tests/parser/unicode/utf8_011.stderr @@ -1,3 +1,3 @@ -utf8_011.hs:2:8: +utf8_011.hs:2:8: error: [GHC-21231] lexical error in string/character literal (UTF-8 decoding error) diff --git a/testsuite/tests/parser/unicode/utf8_020.stderr b/testsuite/tests/parser/unicode/utf8_020.stderr index 725410614292..e7ba8de25ea8 100644 --- a/testsuite/tests/parser/unicode/utf8_020.stderr +++ b/testsuite/tests/parser/unicode/utf8_020.stderr @@ -1,3 +1,3 @@ -utf8_020.hs:2:8: +utf8_020.hs:2:8: error: [GHC-21231] lexical error in string/character literal (UTF-8 decoding error) diff --git a/testsuite/tests/parser/unicode/utf8_021.stderr b/testsuite/tests/parser/unicode/utf8_021.stderr index 2867239846e7..aaa36f0b64b7 100644 --- a/testsuite/tests/parser/unicode/utf8_021.stderr +++ b/testsuite/tests/parser/unicode/utf8_021.stderr @@ -1,3 +1,3 @@ -utf8_021.hs:2:8: +utf8_021.hs:2:8: error: [GHC-21231] lexical error in string/character literal (UTF-8 decoding error) diff --git a/testsuite/tests/parser/unicode/utf8_022.stderr b/testsuite/tests/parser/unicode/utf8_022.stderr index 3f84d06de2a4..7ba319ce8436 100644 --- a/testsuite/tests/parser/unicode/utf8_022.stderr +++ b/testsuite/tests/parser/unicode/utf8_022.stderr @@ -1,3 +1,3 @@ -utf8_022.hs:2:8: +utf8_022.hs:2:8: error: [GHC-21231] lexical error in string/character literal (UTF-8 decoding error) diff --git a/testsuite/tests/partial-sigs/should_compile/ExprSigLocal.stderr b/testsuite/tests/partial-sigs/should_compile/ExprSigLocal.stderr index 6e23ec6ff5da..7804228b0b82 100644 --- a/testsuite/tests/partial-sigs/should_compile/ExprSigLocal.stderr +++ b/testsuite/tests/partial-sigs/should_compile/ExprSigLocal.stderr @@ -1,5 +1,5 @@ -ExprSigLocal.hs:9:35: warning: [-Wpartial-type-signatures (in -Wdefault)] +ExprSigLocal.hs:9:35: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘a’ Where: ‘a’ is a rigid type variable bound by the inferred type of <expression> :: a -> a @@ -10,7 +10,7 @@ ExprSigLocal.hs:9:35: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include y :: b -> b (bound at ExprSigLocal.hs:9:1) -ExprSigLocal.hs:11:21: warning: [-Wpartial-type-signatures (in -Wdefault)] +ExprSigLocal.hs:11:21: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘a’ Where: ‘a’ is a rigid type variable bound by the inferred type of g :: a -> a diff --git a/testsuite/tests/partial-sigs/should_compile/SplicesUsed.stderr b/testsuite/tests/partial-sigs/should_compile/SplicesUsed.stderr index fa77d1d0f707..1f776ecc42f3 100644 --- a/testsuite/tests/partial-sigs/should_compile/SplicesUsed.stderr +++ b/testsuite/tests/partial-sigs/should_compile/SplicesUsed.stderr @@ -1,12 +1,12 @@ [1 of 2] Compiling Splices ( Splices.hs, Splices.o ) [2 of 2] Compiling SplicesUsed ( SplicesUsed.hs, SplicesUsed.o ) -SplicesUsed.hs:7:15: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:7:15: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Maybe Bool’ • In the type ‘_’ In the type signature: maybeBool :: (_) -SplicesUsed.hs:8:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:8:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_a’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of <expression> :: w -> w @@ -18,7 +18,7 @@ SplicesUsed.hs:8:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include maybeBool :: Maybe Bool (bound at SplicesUsed.hs:8:1) -SplicesUsed.hs:8:26: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:8:26: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Bool’ • In the first argument of ‘Maybe’, namely ‘_’ In the type ‘Maybe _’ @@ -26,7 +26,7 @@ SplicesUsed.hs:8:26: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include maybeBool :: Maybe Bool (bound at SplicesUsed.hs:8:1) -SplicesUsed.hs:10:16: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:10:16: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘(Char, a)’ Where: ‘a’ is a rigid type variable bound by the inferred type of charA :: a -> (Char, a) @@ -34,7 +34,7 @@ SplicesUsed.hs:10:16: warning: [-Wpartial-type-signatures (in -Wdefault)] • In the type ‘a -> (_)’ In the type signature: charA :: a -> (_) -SplicesUsed.hs:13:13: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:13:13: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘a -> Bool’ Where: ‘a’ is a rigid type variable bound by the inferred type of filter' :: (a -> Bool) -> [a] -> [a] @@ -42,7 +42,7 @@ SplicesUsed.hs:13:13: warning: [-Wpartial-type-signatures (in -Wdefault)] • In the type ‘_ -> _ -> _’ In the type signature: filter' :: (_ -> _ -> _) -SplicesUsed.hs:13:13: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:13:13: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘[a]’ Where: ‘a’ is a rigid type variable bound by the inferred type of filter' :: (a -> Bool) -> [a] -> [a] @@ -50,7 +50,7 @@ SplicesUsed.hs:13:13: warning: [-Wpartial-type-signatures (in -Wdefault)] • In the type ‘_ -> _ -> _’ In the type signature: filter' :: (_ -> _ -> _) -SplicesUsed.hs:13:13: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:13:13: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘[a]’ Where: ‘a’ is a rigid type variable bound by the inferred type of filter' :: (a -> Bool) -> [a] -> [a] @@ -58,25 +58,25 @@ SplicesUsed.hs:13:13: warning: [-Wpartial-type-signatures (in -Wdefault)] • In the type ‘_ -> _ -> _’ In the type signature: filter' :: (_ -> _ -> _) -SplicesUsed.hs:16:2: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:16:2: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Eq a’ Where: ‘a’ is a rigid type variable bound by the inferred type of foo :: Eq a => a -> a -> Bool at SplicesUsed.hs:16:2-11 • In the type signature: foo :: _ => _ -SplicesUsed.hs:16:2: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:16:2: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘a -> a -> Bool’ Where: ‘a’ is a rigid type variable bound by the inferred type of foo :: Eq a => a -> a -> Bool at SplicesUsed.hs:16:2-11 • In the type signature: foo :: _ => _ -SplicesUsed.hs:18:2: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:18:2: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_a’ standing for ‘Bool’ • In the type signature: bar :: _a -> _b -> (_a, _b) -SplicesUsed.hs:18:2: warning: [-Wpartial-type-signatures (in -Wdefault)] +SplicesUsed.hs:18:2: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_b’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of bar :: Bool -> w -> (Bool, w) diff --git a/testsuite/tests/partial-sigs/should_compile/SuperCls.stderr b/testsuite/tests/partial-sigs/should_compile/SuperCls.stderr index 0f1a1fa77b1d..d4049ce61ef5 100644 --- a/testsuite/tests/partial-sigs/should_compile/SuperCls.stderr +++ b/testsuite/tests/partial-sigs/should_compile/SuperCls.stderr @@ -1,4 +1,4 @@ -SuperCls.hs:4:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +SuperCls.hs:4:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘()’ • In the type signature: f :: (Ord a, _) => a -> Bool diff --git a/testsuite/tests/partial-sigs/should_compile/T10403.stderr b/testsuite/tests/partial-sigs/should_compile/T10403.stderr index 38f562a51615..37f5ad522b87 100644 --- a/testsuite/tests/partial-sigs/should_compile/T10403.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T10403.stderr @@ -1,19 +1,19 @@ -T10403.hs:16:7: warning: [-Wpartial-type-signatures (in -Wdefault)] +T10403.hs:16:7: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Functor f’ Where: ‘f’ is a rigid type variable bound by the inferred type of h1 :: Functor f => (a1 -> a2) -> f a1 -> H f at T10403.hs:18:1-41 • In the type signature: h1 :: _ => _ -T10403.hs:16:12: warning: [-Wpartial-type-signatures (in -Wdefault)] +T10403.hs:16:12: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘(a1 -> a2) -> f a1 -> H f’ Where: ‘a2’, ‘a1’, ‘f’ are rigid type variables bound by the inferred type of h1 :: Functor f => (a1 -> a2) -> f a1 -> H f at T10403.hs:18:1-41 • In the type signature: h1 :: _ => _ -T10403.hs:20:7: warning: [-Wpartial-type-signatures (in -Wdefault)] +T10403.hs:20:7: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘(a1 -> a2) -> f0 a1 -> H f0’ Where: ‘f0’ is an ambiguous type variable @@ -22,7 +22,7 @@ T10403.hs:20:7: warning: [-Wpartial-type-signatures (in -Wdefault)] at T10403.hs:23:1-41 • In the type signature: h2 :: _ -T10403.hs:23:15: warning: [-Wdeferred-type-errors (in -Wdefault)] +T10403.hs:23:15: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • Ambiguous type variable ‘f0’ arising from a use of ‘fmap’ prevents the constraint ‘(Functor f0)’ from being solved. Relevant bindings include @@ -39,7 +39,7 @@ T10403.hs:23:15: warning: [-Wdeferred-type-errors (in -Wdefault)] In the expression: (H . fmap (const ())) (fmap f b) In an equation for ‘h2’: h2 f b = (H . fmap (const ())) (fmap f b) -T10403.hs:29:8: warning: [-Wdeferred-type-errors (in -Wdefault)] +T10403.hs:29:8: warning: [GHC-46956] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘f0’ with ‘B t’ Expected: H (B t) Actual: H f0 diff --git a/testsuite/tests/partial-sigs/should_compile/T10438.stderr b/testsuite/tests/partial-sigs/should_compile/T10438.stderr index 358fb52ba819..ded1e087f856 100644 --- a/testsuite/tests/partial-sigs/should_compile/T10438.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T10438.stderr @@ -1,5 +1,5 @@ -T10438.hs:7:22: warning: [-Wpartial-type-signatures (in -Wdefault)] +T10438.hs:7:22: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘p3’ Where: ‘p3’ is a rigid type variable bound by the inferred type of g :: p3 -> p3 diff --git a/testsuite/tests/partial-sigs/should_compile/T10463.stderr b/testsuite/tests/partial-sigs/should_compile/T10463.stderr index 4ae894f8fe53..9e74a9f02c0a 100644 --- a/testsuite/tests/partial-sigs/should_compile/T10463.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T10463.stderr @@ -1,5 +1,5 @@ -T10463.hs:5:9: warning: [-Wpartial-type-signatures (in -Wdefault)] +T10463.hs:5:9: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘[Char]’ • In a pattern type signature: _ In the pattern: x :: _ diff --git a/testsuite/tests/partial-sigs/should_compile/T10519.stderr b/testsuite/tests/partial-sigs/should_compile/T10519.stderr index d2db5da38e70..d5bc2a9430e7 100644 --- a/testsuite/tests/partial-sigs/should_compile/T10519.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T10519.stderr @@ -1,5 +1,5 @@ -T10519.hs:5:18: warning: [-Wpartial-type-signatures (in -Wdefault)] +T10519.hs:5:18: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Eq a’ Where: ‘a’ is a rigid type variable bound by the inferred type of foo :: Eq a => a -> a -> Bool diff --git a/testsuite/tests/partial-sigs/should_compile/T11016.stderr b/testsuite/tests/partial-sigs/should_compile/T11016.stderr index 8d3ffe4cf54a..667fcddfdfb1 100644 --- a/testsuite/tests/partial-sigs/should_compile/T11016.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T11016.stderr @@ -1,8 +1,8 @@ -T11016.hs:5:19: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11016.hs:5:19: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘()’ • In the type signature: f1 :: (?x :: Int, _) => Int -T11016.hs:8:22: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11016.hs:8:22: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Int’ • In the type signature: f2 :: (?x :: Int) => _ diff --git a/testsuite/tests/partial-sigs/should_compile/T11192.stderr b/testsuite/tests/partial-sigs/should_compile/T11192.stderr index 6cfbe6262829..e6c942ae6c90 100644 --- a/testsuite/tests/partial-sigs/should_compile/T11192.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T11192.stderr @@ -1,5 +1,5 @@ -T11192.hs:7:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11192.hs:7:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Int -> p -> p’ Where: ‘p’ is a rigid type variable bound by the inferred type of go :: Int -> p -> p @@ -18,7 +18,7 @@ T11192.hs:7:14: warning: [-Wpartial-type-signatures (in -Wdefault)] in go (0 :: Int) undefined • Relevant bindings include fails :: a (bound at T11192.hs:6:1) -T11192.hs:13:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11192.hs:13:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘p1 -> p2 -> p2’ Where: ‘p1’, ‘p2’ are rigid type variables bound by the inferred type of go :: p1 -> p2 -> p2 diff --git a/testsuite/tests/partial-sigs/should_compile/T11339a.stderr b/testsuite/tests/partial-sigs/should_compile/T11339a.stderr index c5c5e6f31209..225ebf2ec7e9 100644 --- a/testsuite/tests/partial-sigs/should_compile/T11339a.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T11339a.stderr @@ -1,5 +1,5 @@ -T11339a.hs:5:8: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11339a.hs:5:8: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘a -> a’ Where: ‘a’ is a rigid type variable bound by the inferred type of bar :: a -> a diff --git a/testsuite/tests/partial-sigs/should_compile/T11670.stderr b/testsuite/tests/partial-sigs/should_compile/T11670.stderr index 2d2672237399..8a5a342e816e 100644 --- a/testsuite/tests/partial-sigs/should_compile/T11670.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T11670.stderr @@ -1,5 +1,5 @@ -T11670.hs:10:42: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11670.hs:10:42: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘CLong’ • In the first argument of ‘IO’, namely ‘_’ In the type ‘IO _’ @@ -8,7 +8,7 @@ T11670.hs:10:42: warning: [-Wpartial-type-signatures (in -Wdefault)] ptr :: Ptr a (bound at T11670.hs:10:6) peek :: Ptr a -> IO CLong (bound at T11670.hs:10:1) -T11670.hs:13:40: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11670.hs:13:40: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Storable w’ Where: ‘w’ is a rigid type variable bound by the inferred type of <expression> :: Storable w => IO w @@ -21,7 +21,7 @@ T11670.hs:13:40: warning: [-Wpartial-type-signatures (in -Wdefault)] ptr :: Ptr a (bound at T11670.hs:13:7) peek2 :: Ptr a -> IO CLong (bound at T11670.hs:13:1) -T11670.hs:13:48: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11670.hs:13:48: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of <expression> :: Storable w => IO w diff --git a/testsuite/tests/partial-sigs/should_compile/T12033.stderr b/testsuite/tests/partial-sigs/should_compile/T12033.stderr index 9f9fdd6a17ce..af4bbec927d5 100644 --- a/testsuite/tests/partial-sigs/should_compile/T12033.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T12033.stderr @@ -1,5 +1,5 @@ -T12033.hs:12:22: warning: [-Wpartial-type-signatures (in -Wdefault)] +T12033.hs:12:22: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘v -> t’ Where: ‘v’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/partial-sigs/should_compile/T12156.stderr b/testsuite/tests/partial-sigs/should_compile/T12156.stderr index f1a5b9da145e..d0bcffc91b38 100644 --- a/testsuite/tests/partial-sigs/should_compile/T12156.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T12156.stderr @@ -1,2 +1,2 @@ -T12156.hs:3:14: error: Variable not in scope: v +T12156.hs:3:14: error: [GHC-88464] Variable not in scope: v diff --git a/testsuite/tests/partial-sigs/should_compile/T12531.stderr b/testsuite/tests/partial-sigs/should_compile/T12531.stderr index a17062d2f020..539fc2159718 100644 --- a/testsuite/tests/partial-sigs/should_compile/T12531.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T12531.stderr @@ -1,5 +1,5 @@ -T12531.hs:6:11: warning: [-Wtyped-holes (in -Wdefault)] +T12531.hs:6:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int# • In the first argument of ‘(+#)’, namely ‘_’ In the first argument of ‘I#’, namely ‘(_ +# x)’ diff --git a/testsuite/tests/partial-sigs/should_compile/T12844.stderr b/testsuite/tests/partial-sigs/should_compile/T12844.stderr index 52c0d8c7d11a..0c6e158c4057 100644 --- a/testsuite/tests/partial-sigs/should_compile/T12844.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T12844.stderr @@ -1,5 +1,5 @@ -T12844.hs:12:9: warning: [-Wpartial-type-signatures (in -Wdefault)] +T12844.hs:12:9: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘(Head rngs ~ '(r, r'), Foo rngs)’ Where: ‘r’, ‘r'’, ‘k1’, ‘k2’, ‘rngs’ diff --git a/testsuite/tests/partial-sigs/should_compile/T12845.stderr b/testsuite/tests/partial-sigs/should_compile/T12845.stderr index fb7cc70db41d..912784a092e2 100644 --- a/testsuite/tests/partial-sigs/should_compile/T12845.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T12845.stderr @@ -1,7 +1,8 @@ -T12845.hs:18:70: warning: [-Wpartial-type-signatures (in -Wdefault)] +T12845.hs:18:70: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘()’ • In the type signature: - broken :: forall r r' rngs. - ('(r, r') ~ Head rngs, Bar r r' ~ 'True, _) => - Foo r -> Proxy rngs -> () + broken :: forall r r' rngs. ('(r, r') ~ Head rngs, + Bar r r' ~ 'True, + _) => + Foo r -> Proxy rngs -> () diff --git a/testsuite/tests/partial-sigs/should_compile/T13324_compile2.stderr b/testsuite/tests/partial-sigs/should_compile/T13324_compile2.stderr index 5648054c3935..5ac4b22df613 100644 --- a/testsuite/tests/partial-sigs/should_compile/T13324_compile2.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T13324_compile2.stderr @@ -1,5 +1,5 @@ -T13324_compile2.hs:7:19: warning: [-Wpartial-type-signatures (in -Wdefault)] +T13324_compile2.hs:7:19: warning: [GHC-60661] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Show a’ • In the instance declaration for ‘Show (Option a)’ Suggested fix: diff --git a/testsuite/tests/partial-sigs/should_compile/T13482.stderr b/testsuite/tests/partial-sigs/should_compile/T13482.stderr index 85cd1115dc12..244474212000 100644 --- a/testsuite/tests/partial-sigs/should_compile/T13482.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T13482.stderr @@ -1,5 +1,5 @@ -T13482.hs:10:32: warning: [-Wpartial-type-signatures (in -Wdefault)] +T13482.hs:10:32: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘(Eq m, Monoid m)’ Where: ‘m’ is a rigid type variable bound by the inferred type of @@ -8,21 +8,21 @@ T13482.hs:10:32: warning: [-Wpartial-type-signatures (in -Wdefault)] • In the type signature: minimal1_noksig :: forall m. _ => Int -> Bool -T13482.hs:13:33: warning: [-Wpartial-type-signatures (in -Wdefault)] +T13482.hs:13:33: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘(Eq m, Monoid m)’ Where: ‘m’ is a rigid type variable bound by the inferred type of minimal1 :: (Eq m, Monoid m) => Bool at T13482.hs:13:21 • In the type signature: minimal1 :: forall (m :: Type). _ => Bool -T13482.hs:16:30: warning: [-Wpartial-type-signatures (in -Wdefault)] +T13482.hs:16:30: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Monoid m’ Where: ‘m’ is a rigid type variable bound by the inferred type of minimal2 :: (Eq m, Monoid m) => Bool at T13482.hs:16:20 • In the type signature: minimal2 :: forall m. (Eq m, _) => Bool -T13482.hs:19:34: warning: [-Wpartial-type-signatures (in -Wdefault)] +T13482.hs:19:34: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Eq m’ Where: ‘m’ is a rigid type variable bound by the inferred type of minimal3 :: (Monoid m, Eq m) => Bool diff --git a/testsuite/tests/partial-sigs/should_compile/T14217.stderr b/testsuite/tests/partial-sigs/should_compile/T14217.stderr index 913753be98b8..dd4573cc792c 100644 --- a/testsuite/tests/partial-sigs/should_compile/T14217.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T14217.stderr @@ -1,5 +1,5 @@ -T14217.hs:32:11: error: +T14217.hs:32:11: error: [GHC-88464] • Found extra-constraints wildcard standing for ‘(Eq a1, Eq a2, Eq a3, Eq a4, Eq a5, Eq a6, Eq a7, Eq a8, Eq a9, Eq a10, Eq a11, Eq a12, Eq a13, Eq a14, Eq a15, Eq a16, Eq a17, diff --git a/testsuite/tests/partial-sigs/should_compile/T14643.stderr b/testsuite/tests/partial-sigs/should_compile/T14643.stderr index 9c56cb629fd4..cc8920f7056c 100644 --- a/testsuite/tests/partial-sigs/should_compile/T14643.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T14643.stderr @@ -1,9 +1,8 @@ -T14643.hs:5:18: warning: [-Wpartial-type-signatures (in -Wdefault)] +T14643.hs:5:18: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘()’ • In the type signature: af :: (Num a, _) => a -> a -T14643.hs:5:18: warning: [-Wpartial-type-signatures (in -Wdefault)] +T14643.hs:5:18: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘()’ • In the type signature: ag :: (Num a, _) => a -> a - diff --git a/testsuite/tests/partial-sigs/should_compile/T14643a.stderr b/testsuite/tests/partial-sigs/should_compile/T14643a.stderr index 6f4147247266..d8f7b19a0232 100644 --- a/testsuite/tests/partial-sigs/should_compile/T14643a.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T14643a.stderr @@ -1,8 +1,8 @@ -T14643a.hs:5:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T14643a.hs:5:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘()’ • In the type signature: af :: (Num a, _) => a -> a -T14643a.hs:8:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T14643a.hs:8:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘()’ • In the type signature: ag :: (Num a, _) => a -> a diff --git a/testsuite/tests/partial-sigs/should_compile/T14658.stderr b/testsuite/tests/partial-sigs/should_compile/T14658.stderr index 7c76ea24e27b..1ff82e096650 100644 --- a/testsuite/tests/partial-sigs/should_compile/T14658.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T14658.stderr @@ -1,5 +1,5 @@ -T14658.hs:9:28: warning: [-Wpartial-type-signatures (in -Wdefault)] +T14658.hs:9:28: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Eq a’ Where: ‘a’ is a rigid type variable bound by the inferred type of diff --git a/testsuite/tests/partial-sigs/should_compile/T14715.stderr b/testsuite/tests/partial-sigs/should_compile/T14715.stderr index 4d3a6682416c..d36ce8263de0 100644 --- a/testsuite/tests/partial-sigs/should_compile/T14715.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T14715.stderr @@ -1,5 +1,5 @@ -T14715.hs:13:53: warning: [-Wpartial-type-signatures (in -Wdefault)] +T14715.hs:13:53: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Reduce z zq’ Where: ‘z’, ‘zq’ are rigid type variables bound by the inferred type of diff --git a/testsuite/tests/partial-sigs/should_compile/T15039a.stderr b/testsuite/tests/partial-sigs/should_compile/T15039a.stderr index 1f07a650aced..712e5425ee77 100644 --- a/testsuite/tests/partial-sigs/should_compile/T15039a.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T15039a.stderr @@ -1,5 +1,5 @@ -T15039a.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039a.hs:19:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (a ~ b)’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -11,7 +11,7 @@ T15039a.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex1 :: Dict (a ~ b) -> () (bound at T15039a.hs:19:1) -T15039a.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039a.hs:22:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (a ~ b)’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -23,7 +23,7 @@ T15039a.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex2 :: Dict (a ~ b) -> () (bound at T15039a.hs:22:1) -T15039a.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039a.hs:25:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (a ~~ b)’ Where: ‘a’, ‘k’, ‘b’ are rigid type variables bound by the type signature for: @@ -35,7 +35,7 @@ T15039a.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex3 :: Dict (a ~~ b) -> () (bound at T15039a.hs:25:1) -T15039a.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039a.hs:33:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (Coercible a b)’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -47,7 +47,7 @@ T15039a.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex6 :: Dict (Coercible a b) -> () (bound at T15039a.hs:33:1) -T15039a.hs:35:8: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039a.hs:35:8: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Coercible a b’ Where: ‘a’, ‘b’ are rigid type variables bound by the inferred type of ex7 :: Coercible a b => Coercion a b diff --git a/testsuite/tests/partial-sigs/should_compile/T15039b.stderr b/testsuite/tests/partial-sigs/should_compile/T15039b.stderr index 73d366eb655b..aa4703d6c3dd 100644 --- a/testsuite/tests/partial-sigs/should_compile/T15039b.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T15039b.stderr @@ -1,5 +1,5 @@ -T15039b.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039b.hs:19:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict ((a :: *) ~ (b :: *))’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -11,7 +11,7 @@ T15039b.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex1 :: Dict ((a :: *) ~ (b :: *)) -> () (bound at T15039b.hs:19:1) -T15039b.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039b.hs:22:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict ((a :: *) ~ (b :: *))’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -23,7 +23,7 @@ T15039b.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex2 :: Dict ((a :: *) ~ (b :: *)) -> () (bound at T15039b.hs:22:1) -T15039b.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039b.hs:25:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict ((a :: *) ~~ (b :: k))’ Where: ‘a’, ‘k’, ‘b’ are rigid type variables bound by @@ -36,7 +36,7 @@ T15039b.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex3 :: Dict ((a :: *) ~~ (b :: k)) -> () (bound at T15039b.hs:25:1) -T15039b.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039b.hs:33:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (Coercible @(*) a b)’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -48,7 +48,7 @@ T15039b.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex6 :: Dict (Coercible @(*) a b) -> () (bound at T15039b.hs:33:1) -T15039b.hs:35:8: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039b.hs:35:8: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Coercible @(*) a b’ Where: ‘a’, ‘b’ are rigid type variables bound by diff --git a/testsuite/tests/partial-sigs/should_compile/T15039c.stderr b/testsuite/tests/partial-sigs/should_compile/T15039c.stderr index 658c30c2b7f3..bc132260dc09 100644 --- a/testsuite/tests/partial-sigs/should_compile/T15039c.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T15039c.stderr @@ -1,5 +1,5 @@ -T15039c.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039c.hs:19:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (a ~ b)’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -11,7 +11,7 @@ T15039c.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex1 :: Dict (a ~ b) -> () (bound at T15039c.hs:19:1) -T15039c.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039c.hs:22:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (a ~~ b)’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -23,7 +23,7 @@ T15039c.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex2 :: Dict (a ~~ b) -> () (bound at T15039c.hs:22:1) -T15039c.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039c.hs:25:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (a ~~ b)’ Where: ‘a’, ‘k’, ‘b’ are rigid type variables bound by the type signature for: @@ -35,7 +35,7 @@ T15039c.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex3 :: Dict (a ~~ b) -> () (bound at T15039c.hs:25:1) -T15039c.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039c.hs:33:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (Coercible a b)’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -47,7 +47,7 @@ T15039c.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex6 :: Dict (Coercible a b) -> () (bound at T15039c.hs:33:1) -T15039c.hs:35:8: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039c.hs:35:8: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Coercible a b’ Where: ‘a’, ‘b’ are rigid type variables bound by the inferred type of ex7 :: Coercible a b => Coercion a b diff --git a/testsuite/tests/partial-sigs/should_compile/T15039d.stderr b/testsuite/tests/partial-sigs/should_compile/T15039d.stderr index 587b64126a2b..bdc3d6270812 100644 --- a/testsuite/tests/partial-sigs/should_compile/T15039d.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T15039d.stderr @@ -1,5 +1,5 @@ -T15039d.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039d.hs:19:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict ((a :: *) ~ (b :: *))’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -11,7 +11,7 @@ T15039d.hs:19:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex1 :: Dict ((a :: *) ~ (b :: *)) -> () (bound at T15039d.hs:19:1) -T15039d.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039d.hs:22:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict ((a :: *) ~~ (b :: *))’ Where: ‘a’, ‘b’ are rigid type variables bound by @@ -24,7 +24,7 @@ T15039d.hs:22:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex2 :: Dict ((a :: *) ~~ (b :: *)) -> () (bound at T15039d.hs:22:1) -T15039d.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039d.hs:25:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict ((a :: *) ~~ (b :: k))’ Where: ‘a’, ‘k’, ‘b’ are rigid type variables bound by @@ -37,7 +37,7 @@ T15039d.hs:25:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex3 :: Dict ((a :: *) ~~ (b :: k)) -> () (bound at T15039d.hs:25:1) -T15039d.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039d.hs:33:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Dict (Coercible @(*) a b)’ Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: @@ -49,7 +49,7 @@ T15039d.hs:33:14: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include ex6 :: Dict (Coercible @(*) a b) -> () (bound at T15039d.hs:33:1) -T15039d.hs:35:8: warning: [-Wpartial-type-signatures (in -Wdefault)] +T15039d.hs:35:8: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Coercible @(*) a b’ Where: ‘a’, ‘b’ are rigid type variables bound by diff --git a/testsuite/tests/partial-sigs/should_compile/T16152.stderr b/testsuite/tests/partial-sigs/should_compile/T16152.stderr index 554cf047660f..01d71ba64bb6 100644 --- a/testsuite/tests/partial-sigs/should_compile/T16152.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T16152.stderr @@ -1,5 +1,5 @@ -T16152.hs:7:18: warning: [-Wpartial-type-signatures (in -Wdefault)] +T16152.hs:7:18: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of top :: w diff --git a/testsuite/tests/partial-sigs/should_compile/T16334.stderr b/testsuite/tests/partial-sigs/should_compile/T16334.stderr index 83429e0d336f..e39c482b5413 100644 --- a/testsuite/tests/partial-sigs/should_compile/T16334.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T16334.stderr @@ -1,4 +1,4 @@ -T16334.hs:5:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T16334.hs:5:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_t’ standing for ‘Type’ • In the type signature: k :: (Int :: _t) diff --git a/testsuite/tests/partial-sigs/should_compile/T16728.stderr b/testsuite/tests/partial-sigs/should_compile/T16728.stderr index ebd01644dec6..6768b12d482e 100644 --- a/testsuite/tests/partial-sigs/should_compile/T16728.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T16728.stderr @@ -1,5 +1,5 @@ -T16728.hs:8:37: warning: [-Wpartial-type-signatures (in -Wdefault)] +T16728.hs:8:37: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘k’ Where: ‘k’ is a rigid type variable bound by the inferred type of f :: Proxy x diff --git a/testsuite/tests/partial-sigs/should_compile/T16728a.stderr b/testsuite/tests/partial-sigs/should_compile/T16728a.stderr index 2c7e59762382..a78fb1f2a639 100644 --- a/testsuite/tests/partial-sigs/should_compile/T16728a.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T16728a.stderr @@ -1,5 +1,5 @@ -T16728a.hs:4:22: warning: [-Wpartial-type-signatures (in -Wdefault)] +T16728a.hs:4:22: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred types of @@ -9,7 +9,7 @@ T16728a.hs:4:22: warning: [-Wpartial-type-signatures (in -Wdefault)] • In the type ‘a -> _’ In the type signature: g :: forall a. a -> _ -T16728a.hs:4:22: warning: [-Wpartial-type-signatures (in -Wdefault)] +T16728a.hs:4:22: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred types of @@ -18,4 +18,3 @@ T16728a.hs:4:22: warning: [-Wpartial-type-signatures (in -Wdefault)] at T16728a.hs:(5,1)-(7,9) • In the type ‘a -> _’ In the type signature: h :: forall a. a -> _ - diff --git a/testsuite/tests/partial-sigs/should_compile/T16728b.stderr b/testsuite/tests/partial-sigs/should_compile/T16728b.stderr index 84d10c1f459e..02dcbac79e83 100644 --- a/testsuite/tests/partial-sigs/should_compile/T16728b.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T16728b.stderr @@ -1,5 +1,5 @@ -T16728b.hs:4:22: warning: [-Wpartial-type-signatures (in -Wdefault)] +T16728b.hs:4:22: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘a’ Where: ‘a’ is a rigid type variable bound by the inferred type of g :: a -> a @@ -7,8 +7,7 @@ T16728b.hs:4:22: warning: [-Wpartial-type-signatures (in -Wdefault)] • In the type ‘a -> _’ In the type signature: g :: forall a. a -> _ -T16728b.hs:4:22: warning: [-Wpartial-type-signatures (in -Wdefault)] +T16728b.hs:4:22: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Bool’ • In the type ‘a -> _’ In the type signature: h :: forall a. a -> _ - diff --git a/testsuite/tests/partial-sigs/should_compile/T18008.stderr b/testsuite/tests/partial-sigs/should_compile/T18008.stderr index 4b59da8b0325..d5b35c957dbb 100644 --- a/testsuite/tests/partial-sigs/should_compile/T18008.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T18008.stderr @@ -1,5 +1,5 @@ -T18008.hs:5:43: warning: [-Wpartial-type-signatures (in -Wdefault)] +T18008.hs:5:43: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘String’ • In the type ‘(forall a. Show a => a -> String) -> _’ In the type signature: f :: (forall a. Show a => a -> String) -> _ diff --git a/testsuite/tests/partial-sigs/should_compile/T18646.stderr b/testsuite/tests/partial-sigs/should_compile/T18646.stderr index ab5bd90aa5f8..0a9a56e231b1 100644 --- a/testsuite/tests/partial-sigs/should_compile/T18646.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T18646.stderr @@ -1,19 +1,19 @@ -T18646.hs:9:17: warning: [-Wpartial-type-signatures (in -Wdefault)] +T18646.hs:9:17: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Applicative f’ Where: ‘f’ is a rigid type variable bound by the inferred type of bar :: (Foo (), Applicative f) => f () at T18646.hs:9:1-26 • In the type signature: bar :: (Foo (), _) => f () -T18646.hs:12:18: warning: [-Wpartial-type-signatures (in -Wdefault)] +T18646.hs:12:18: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Applicative f’ Where: ‘f’ is a rigid type variable bound by the inferred type of marie :: (Foo x, Applicative f) => f x at T18646.hs:12:1-26 • In the type signature: marie :: (Foo x, _) => f x -T18646.hs:15:9: warning: [-Wpartial-type-signatures (in -Wdefault)] +T18646.hs:15:9: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘(Applicative f, Foo x)’ Where: ‘f’, ‘x’ are rigid type variables bound by diff --git a/testsuite/tests/partial-sigs/should_compile/T20921.stderr b/testsuite/tests/partial-sigs/should_compile/T20921.stderr index 6c2156cc9f07..f0f827230912 100644 --- a/testsuite/tests/partial-sigs/should_compile/T20921.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T20921.stderr @@ -1,5 +1,5 @@ -T20921.hs:37:46: warning: [-Wpartial-type-signatures (in -Wdefault)] +T20921.hs:37:46: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘C i’ Where: ‘i’ is a rigid type variable bound by the inferred type of quux :: (OK (Boo i), C i) => Int diff --git a/testsuite/tests/partial-sigs/should_compile/T21667.stderr b/testsuite/tests/partial-sigs/should_compile/T21667.stderr index 9720853aa2f4..b76d5bd952cd 100644 --- a/testsuite/tests/partial-sigs/should_compile/T21667.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T21667.stderr @@ -1,5 +1,5 @@ -T21667.hs:46:40: warning: [-Wpartial-type-signatures (in -Wdefault)] +T21667.hs:46:40: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘"1" :: Symbol’ • In the second argument of ‘ExoticTraversal'’, namely ‘_’ In the type ‘ExoticTraversal' a _ f’ diff --git a/testsuite/tests/partial-sigs/should_compile/T21719.stderr b/testsuite/tests/partial-sigs/should_compile/T21719.stderr index 944729e88a92..0d1e529dcf2f 100644 --- a/testsuite/tests/partial-sigs/should_compile/T21719.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T21719.stderr @@ -1,5 +1,5 @@ -T21719.hs:29:27: warning: [-Wpartial-type-signatures (in -Wdefault)] +T21719.hs:29:27: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘MonadCheckedThrow m1’ Where: ‘m1’ is a rigid type variable bound by @@ -17,7 +17,7 @@ T21719.hs:29:27: warning: [-Wpartial-type-signatures (in -Wdefault)] baz = throwChecked Foo • Relevant bindings include foo :: m Int (bound at T21719.hs:24:1) -T21719.hs:29:33: warning: [-Wpartial-type-signatures (in -Wdefault)] +T21719.hs:29:33: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘m1 a’ Where: ‘m1’, ‘a’ are rigid type variables bound by the inferred type of diff --git a/testsuite/tests/partial-sigs/should_compile/T22065.stderr b/testsuite/tests/partial-sigs/should_compile/T22065.stderr index 42cde6935d77..c1ee21972383 100644 --- a/testsuite/tests/partial-sigs/should_compile/T22065.stderr +++ b/testsuite/tests/partial-sigs/should_compile/T22065.stderr @@ -1,5 +1,5 @@ -T22065.hs:10:30: warning: [-Wpartial-type-signatures (in -Wdefault)] +T22065.hs:10:30: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Foo’ • In an expression type signature: forall a. _ In the expression: Apply f x :: forall a. _ @@ -16,7 +16,7 @@ T22065.hs:10:30: warning: [-Wpartial-type-signatures (in -Wdefault)] x :: forall {w}. [w] (bound at T22065.hs:16:3) foo :: Foo (bound at T22065.hs:10:1) -T22065.hs:12:9: warning: [-Wpartial-type-signatures (in -Wdefault)] +T22065.hs:12:9: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of f :: [w] -> Int @@ -35,7 +35,7 @@ T22065.hs:12:9: warning: [-Wpartial-type-signatures (in -Wdefault)] x :: forall {w}. [w] (bound at T22065.hs:16:3) foo :: Foo (bound at T22065.hs:10:1) -T22065.hs:15:9: warning: [-Wpartial-type-signatures (in -Wdefault)] +T22065.hs:15:9: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of x :: [w] diff --git a/testsuite/tests/partial-sigs/should_compile/TypedSplice.stderr b/testsuite/tests/partial-sigs/should_compile/TypedSplice.stderr index 2ae23b0d3daf..7e48c8f80a9f 100644 --- a/testsuite/tests/partial-sigs/should_compile/TypedSplice.stderr +++ b/testsuite/tests/partial-sigs/should_compile/TypedSplice.stderr @@ -1,5 +1,5 @@ -TypedSplice.hs:9:22: warning: [-Wpartial-type-signatures (in -Wdefault)] +TypedSplice.hs:9:22: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Bool’ • In the type ‘_ -> _b’ In an expression type signature: _ -> _b @@ -7,7 +7,7 @@ TypedSplice.hs:9:22: warning: [-Wpartial-type-signatures (in -Wdefault)] • Relevant bindings include metaExp :: Code Q (Bool -> Bool) (bound at TypedSplice.hs:9:1) -TypedSplice.hs:9:27: warning: [-Wpartial-type-signatures (in -Wdefault)] +TypedSplice.hs:9:27: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_b’ standing for ‘Bool’ • In an expression type signature: _ -> _b In the Template Haskell quotation [|| not :: _ -> _b ||] diff --git a/testsuite/tests/partial-sigs/should_compile/WarningWildcardInstantiations.stderr b/testsuite/tests/partial-sigs/should_compile/WarningWildcardInstantiations.stderr index 23b6ee3c2efe..ee483a62a69d 100644 --- a/testsuite/tests/partial-sigs/should_compile/WarningWildcardInstantiations.stderr +++ b/testsuite/tests/partial-sigs/should_compile/WarningWildcardInstantiations.stderr @@ -2,28 +2,28 @@ TYPE SIGNATURES bar :: forall {t} {w}. t -> (t -> w) -> w foo :: forall {a}. (Show a, Enum a) => a -> String Dependent modules: [] -Dependent packages: [base-4.16.0.0] +Dependent packages: [base-4.17.0.0] -WarningWildcardInstantiations.hs:5:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +WarningWildcardInstantiations.hs:5:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_a’ standing for ‘a’ Where: ‘a’ is a rigid type variable bound by the inferred type of foo :: (Show a, Enum a) => a -> String at WarningWildcardInstantiations.hs:6:1-21 • In the type signature: foo :: (Show _a, _) => _a -> _ -WarningWildcardInstantiations.hs:5:18: warning: [-Wpartial-type-signatures (in -Wdefault)] +WarningWildcardInstantiations.hs:5:18: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Enum a’ Where: ‘a’ is a rigid type variable bound by the inferred type of foo :: (Show a, Enum a) => a -> String at WarningWildcardInstantiations.hs:6:1-21 • In the type signature: foo :: (Show _a, _) => _a -> _ -WarningWildcardInstantiations.hs:5:30: warning: [-Wpartial-type-signatures (in -Wdefault)] +WarningWildcardInstantiations.hs:5:30: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘String’ • In the type ‘_a -> _’ In the type signature: foo :: (Show _a, _) => _a -> _ -WarningWildcardInstantiations.hs:8:8: warning: [-Wpartial-type-signatures (in -Wdefault)] +WarningWildcardInstantiations.hs:8:8: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘t’ Where: ‘t’ is a rigid type variable bound by the inferred type of bar :: t -> (t -> w) -> w @@ -31,7 +31,7 @@ WarningWildcardInstantiations.hs:8:8: warning: [-Wpartial-type-signatures (in -W • In the type ‘_ -> _ -> _’ In the type signature: bar :: _ -> _ -> _ -WarningWildcardInstantiations.hs:8:13: warning: [-Wpartial-type-signatures (in -Wdefault)] +WarningWildcardInstantiations.hs:8:13: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘t -> w’ Where: ‘t’, ‘w’ are rigid type variables bound by the inferred type of bar :: t -> (t -> w) -> w @@ -39,7 +39,7 @@ WarningWildcardInstantiations.hs:8:13: warning: [-Wpartial-type-signatures (in - • In the type ‘_ -> _ -> _’ In the type signature: bar :: _ -> _ -> _ -WarningWildcardInstantiations.hs:8:18: warning: [-Wpartial-type-signatures (in -Wdefault)] +WarningWildcardInstantiations.hs:8:18: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of bar :: t -> (t -> w) -> w diff --git a/testsuite/tests/partial-sigs/should_fail/AnnotatedConstraint.stderr b/testsuite/tests/partial-sigs/should_fail/AnnotatedConstraint.stderr index 1dba8266615c..7d5b42dcc2ff 100644 --- a/testsuite/tests/partial-sigs/should_fail/AnnotatedConstraint.stderr +++ b/testsuite/tests/partial-sigs/should_fail/AnnotatedConstraint.stderr @@ -1,5 +1,5 @@ -AnnotatedConstraint.hs:7:8: error: +AnnotatedConstraint.hs:7:8: error: [GHC-39999] • No instance for ‘Eq (a0 -> a0)’ arising from a use of ‘foo’ (maybe you haven't applied a function to enough arguments?) • In the expression: foo id diff --git a/testsuite/tests/partial-sigs/should_fail/AnnotatedConstraintNotForgotten.stderr b/testsuite/tests/partial-sigs/should_fail/AnnotatedConstraintNotForgotten.stderr index 006bb7cc1a49..c657c99e54e6 100644 --- a/testsuite/tests/partial-sigs/should_fail/AnnotatedConstraintNotForgotten.stderr +++ b/testsuite/tests/partial-sigs/should_fail/AnnotatedConstraintNotForgotten.stderr @@ -1,5 +1,5 @@ -AnnotatedConstraintNotForgotten.hs:15:8: error: +AnnotatedConstraintNotForgotten.hs:15:8: error: [GHC-39999] • No instance for ‘Eq Foo’ arising from a use of ‘foo’ • In the expression: foo Foo In an equation for ‘test’: test = foo Foo diff --git a/testsuite/tests/partial-sigs/should_fail/Defaulting1MROff.stderr b/testsuite/tests/partial-sigs/should_fail/Defaulting1MROff.stderr index 59c67555471a..791a3854f3c1 100644 --- a/testsuite/tests/partial-sigs/should_fail/Defaulting1MROff.stderr +++ b/testsuite/tests/partial-sigs/should_fail/Defaulting1MROff.stderr @@ -1,4 +1,4 @@ -Defaulting1MROff.hs:7:10: warning: [-Wpartial-type-signatures (in -Wdefault)] +Defaulting1MROff.hs:7:10: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Integer’ • In the type signature: alpha :: _ diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInExpressionSignature.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInExpressionSignature.stderr index 117a8cca0d85..77150e85ed00 100644 --- a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInExpressionSignature.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInExpressionSignature.stderr @@ -1,5 +1,5 @@ -ExtraConstraintsWildcardInExpressionSignature.hs:5:20: warning: [-Wpartial-type-signatures (in -Wdefault)] +ExtraConstraintsWildcardInExpressionSignature.hs:5:20: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found extra-constraints wildcard standing for ‘Eq a1’ Where: ‘a1’ is a rigid type variable bound by the inferred type of <expression> :: Eq a1 => a1 -> a1 -> Bool @@ -15,7 +15,7 @@ ExtraConstraintsWildcardInExpressionSignature.hs:5:20: warning: [-Wpartial-type- foo :: a -> a -> Bool (bound at ExtraConstraintsWildcardInExpressionSignature.hs:5:1) -ExtraConstraintsWildcardInExpressionSignature.hs:5:25: warning: [-Wpartial-type-signatures (in -Wdefault)] +ExtraConstraintsWildcardInExpressionSignature.hs:5:25: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘a1 -> a1 -> Bool’ Where: ‘a1’ is a rigid type variable bound by the inferred type of <expression> :: Eq a1 => a1 -> a1 -> Bool diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSignature.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSignature.stderr index 9711e34121f0..4d161fb83781 100644 --- a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSignature.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSignature.stderr @@ -1,4 +1,4 @@ -ExtraConstraintsWildcardInPatternSignature.hs:4:11: error: +ExtraConstraintsWildcardInPatternSignature.hs:4:11: error: [GHC-65507] Extra-constraint wildcard ‘_’ not allowed in a pattern type-signature diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSplice.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSplice.stderr index e42e098ef3f7..6b858a0f3638 100644 --- a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSplice.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSplice.stderr @@ -1,5 +1,5 @@ -ExtraConstraintsWildcardInPatternSplice.hs:5:6: error: +ExtraConstraintsWildcardInPatternSplice.hs:5:6: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of foo :: w -> () diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInTypeSpliceUsed.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInTypeSpliceUsed.stderr index a8f98d9e62b4..a4999fa6c826 100644 --- a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInTypeSpliceUsed.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInTypeSpliceUsed.stderr @@ -1,6 +1,6 @@ [1 of 2] Compiling ExtraConstraintsWildcardInTypeSplice ( ExtraConstraintsWildcardInTypeSplice.hs, ExtraConstraintsWildcardInTypeSplice.o ) -ExtraConstraintsWildcardInTypeSplice.hs:7:16: error: +ExtraConstraintsWildcardInTypeSplice.hs:7:16: error: [GHC-65507] • Wildcard ‘_’ not allowed in a constraint except as the last top-level constraint of a type signature e.g f :: (Eq a, _) => blah diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotEnabled.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotEnabled.stderr index 496e1a73935b..fc7ae5a94a84 100644 --- a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotEnabled.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotEnabled.stderr @@ -1,5 +1,5 @@ -ExtraConstraintsWildcardNotEnabled.hs:4:10: error: +ExtraConstraintsWildcardNotEnabled.hs:4:10: error: [GHC-88464] • Found extra-constraints wildcard standing for ‘Show a’ Where: ‘a’ is a rigid type variable bound by the inferred type of show' :: Show a => a -> String diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotLast.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotLast.stderr index 86e5805a913f..5a76f1572003 100644 --- a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotLast.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotLast.stderr @@ -1,5 +1,5 @@ -ExtraConstraintsWildcardNotLast.hs:4:9: error: +ExtraConstraintsWildcardNotLast.hs:4:9: error: [GHC-65507] Wildcard ‘_’ not allowed in a constraint except as the last top-level constraint of a type signature e.g f :: (Eq a, _) => blah diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotPresent.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotPresent.stderr index 10f467ba99da..50e560f21dd1 100644 --- a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotPresent.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardNotPresent.stderr @@ -1,5 +1,5 @@ -ExtraConstraintsWildcardNotPresent.hs:6:11: error: +ExtraConstraintsWildcardNotPresent.hs:6:11: error: [GHC-39999] • No instance for ‘Show a’ arising from a use of ‘show’ Possible fix: add (Show a) to the context of diff --git a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardTwice.stderr b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardTwice.stderr index 5e6013da7f60..2574f141f0a4 100644 --- a/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardTwice.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardTwice.stderr @@ -1,5 +1,5 @@ -ExtraConstraintsWildcardTwice.hs:4:10: error: +ExtraConstraintsWildcardTwice.hs:4:10: error: [GHC-65507] Wildcard ‘_’ not allowed in a constraint except as the last top-level constraint of a type signature e.g f :: (Eq a, _) => blah diff --git a/testsuite/tests/partial-sigs/should_fail/Forall1Bad.stderr b/testsuite/tests/partial-sigs/should_fail/Forall1Bad.stderr index 4a2d1673272f..6e3b6d47aac5 100644 --- a/testsuite/tests/partial-sigs/should_fail/Forall1Bad.stderr +++ b/testsuite/tests/partial-sigs/should_fail/Forall1Bad.stderr @@ -1,5 +1,5 @@ -Forall1Bad.hs:9:13: error: +Forall1Bad.hs:9:13: error: [GHC-83865] • Couldn't match expected type ‘Char’ with actual type ‘Bool’ • In the first argument of ‘fall’, namely ‘True’ In the expression: fall True diff --git a/testsuite/tests/partial-sigs/should_fail/InstantiatedNamedWildcardsInConstraints.stderr b/testsuite/tests/partial-sigs/should_fail/InstantiatedNamedWildcardsInConstraints.stderr index 9e9505d7f024..6ba1b6f31197 100644 --- a/testsuite/tests/partial-sigs/should_fail/InstantiatedNamedWildcardsInConstraints.stderr +++ b/testsuite/tests/partial-sigs/should_fail/InstantiatedNamedWildcardsInConstraints.stderr @@ -1,5 +1,5 @@ -InstantiatedNamedWildcardsInConstraints.hs:4:14: error: +InstantiatedNamedWildcardsInConstraints.hs:4:14: error: [GHC-88464] • Found type wildcard ‘_a’ standing for ‘b’ Where: ‘b’ is a rigid type variable bound by the inferred type of foo :: (Enum b, Show b) => b -> (String, b) @@ -7,7 +7,7 @@ InstantiatedNamedWildcardsInConstraints.hs:4:14: error: To use the inferred type, enable PartialTypeSignatures • In the type signature: foo :: (Enum _a, _) => _a -> (String, b) -InstantiatedNamedWildcardsInConstraints.hs:4:18: error: +InstantiatedNamedWildcardsInConstraints.hs:4:18: error: [GHC-88464] • Found extra-constraints wildcard standing for ‘Show b’ Where: ‘b’ is a rigid type variable bound by the inferred type of foo :: (Enum b, Show b) => b -> (String, b) diff --git a/testsuite/tests/partial-sigs/should_fail/NamedExtraConstraintsWildcard.stderr b/testsuite/tests/partial-sigs/should_fail/NamedExtraConstraintsWildcard.stderr index a1b30fb7af06..229410f6d527 100644 --- a/testsuite/tests/partial-sigs/should_fail/NamedExtraConstraintsWildcard.stderr +++ b/testsuite/tests/partial-sigs/should_fail/NamedExtraConstraintsWildcard.stderr @@ -1,5 +1,5 @@ -NamedExtraConstraintsWildcard.hs:5:1: error: +NamedExtraConstraintsWildcard.hs:5:1: error: [GHC-05617] • Could not deduce ‘w0’ from the context: (Eq a, w) bound by the inferred type for ‘foo’: diff --git a/testsuite/tests/partial-sigs/should_fail/NamedWildcardExplicitForall.stderr b/testsuite/tests/partial-sigs/should_fail/NamedWildcardExplicitForall.stderr index 17ffbc1595b3..b213ea85573f 100644 --- a/testsuite/tests/partial-sigs/should_fail/NamedWildcardExplicitForall.stderr +++ b/testsuite/tests/partial-sigs/should_fail/NamedWildcardExplicitForall.stderr @@ -1,5 +1,5 @@ -NamedWildcardExplicitForall.hs:8:7: error: +NamedWildcardExplicitForall.hs:8:7: error: [GHC-25897] • Couldn't match type ‘_a’ with ‘Bool’ Expected: _a -> _a Actual: Bool -> Bool @@ -12,17 +12,17 @@ NamedWildcardExplicitForall.hs:8:7: error: • Relevant bindings include foo :: _a -> _a (bound at NamedWildcardExplicitForall.hs:8:1) -NamedWildcardExplicitForall.hs:10:8: error: +NamedWildcardExplicitForall.hs:10:8: error: [GHC-88464] • Found type wildcard ‘_a’ standing for ‘Bool’ To use the inferred type, enable PartialTypeSignatures • In the type signature: bar :: _a -> _a -NamedWildcardExplicitForall.hs:13:26: error: +NamedWildcardExplicitForall.hs:13:26: error: [GHC-88464] • Found type wildcard ‘_b’ standing for ‘Bool’ To use the inferred type, enable PartialTypeSignatures • In the type signature: baz :: forall _a. _a -> _b -> (_a, _b) -NamedWildcardExplicitForall.hs:14:12: error: +NamedWildcardExplicitForall.hs:14:12: error: [GHC-25897] • Couldn't match expected type ‘_a’ with actual type ‘Bool’ ‘_a’ is a rigid type variable bound by the inferred type of baz :: _a -> Bool -> (_a, Bool) @@ -35,7 +35,7 @@ NamedWildcardExplicitForall.hs:14:12: error: baz :: _a -> Bool -> (_a, Bool) (bound at NamedWildcardExplicitForall.hs:14:1) -NamedWildcardExplicitForall.hs:16:8: error: +NamedWildcardExplicitForall.hs:16:8: error: [GHC-88464] • Found type wildcard ‘_a’ standing for ‘Bool’ To use the inferred type, enable PartialTypeSignatures • In the type signature: qux :: _a -> (forall _a. _a -> _a) -> _a diff --git a/testsuite/tests/partial-sigs/should_fail/NamedWildcardInTypeSplice.stderr b/testsuite/tests/partial-sigs/should_fail/NamedWildcardInTypeSplice.stderr index ad78d8c7eff4..55940cf1a984 100644 --- a/testsuite/tests/partial-sigs/should_fail/NamedWildcardInTypeSplice.stderr +++ b/testsuite/tests/partial-sigs/should_fail/NamedWildcardInTypeSplice.stderr @@ -1,8 +1,8 @@ -NamedWildcardInTypeSplice.hs:8:16: error: +NamedWildcardInTypeSplice.hs:8:16: error: [GHC-76037] • Not in scope: type variable ‘_a’ • In the Template Haskell quotation [t| _a -> _a |] -NamedWildcardInTypeSplice.hs:8:22: error: +NamedWildcardInTypeSplice.hs:8:22: error: [GHC-76037] • Not in scope: type variable ‘_a’ • In the Template Haskell quotation [t| _a -> _a |] diff --git a/testsuite/tests/partial-sigs/should_fail/NamedWildcardsEnabled.stderr b/testsuite/tests/partial-sigs/should_fail/NamedWildcardsEnabled.stderr index 409ed511f0c0..d8fadbce0944 100644 --- a/testsuite/tests/partial-sigs/should_fail/NamedWildcardsEnabled.stderr +++ b/testsuite/tests/partial-sigs/should_fail/NamedWildcardsEnabled.stderr @@ -1,10 +1,10 @@ -NamedWildcardsEnabled.hs:4:8: error: +NamedWildcardsEnabled.hs:4:8: error: [GHC-88464] • Found type wildcard ‘_a’ standing for ‘Bool’ To use the inferred type, enable PartialTypeSignatures • In the type signature: foo :: _a -> _b -NamedWildcardsEnabled.hs:4:14: error: +NamedWildcardsEnabled.hs:4:14: error: [GHC-88464] • Found type wildcard ‘_b’ standing for ‘Bool’ To use the inferred type, enable PartialTypeSignatures • In the type signature: foo :: _a -> _b diff --git a/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotEnabled.stderr b/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotEnabled.stderr index 2fb55bfe2a83..6b995343bc4d 100644 --- a/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotEnabled.stderr +++ b/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotEnabled.stderr @@ -1,5 +1,5 @@ -NamedWildcardsNotEnabled.hs:5:9: error: +NamedWildcardsNotEnabled.hs:5:9: error: [GHC-25897] • Couldn't match expected type ‘_b’ with actual type ‘Bool’ ‘_b’ is a rigid type variable bound by the type signature for: @@ -10,7 +10,7 @@ NamedWildcardsNotEnabled.hs:5:9: error: • Relevant bindings include foo :: _a -> _b (bound at NamedWildcardsNotEnabled.hs:5:1) -NamedWildcardsNotEnabled.hs:5:13: error: +NamedWildcardsNotEnabled.hs:5:13: error: [GHC-25897] • Couldn't match expected type ‘Bool’ with actual type ‘_a’ ‘_a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotInMonotype.stderr b/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotInMonotype.stderr index a91d977ee73c..388ba5a0a12c 100644 --- a/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotInMonotype.stderr +++ b/testsuite/tests/partial-sigs/should_fail/NamedWildcardsNotInMonotype.stderr @@ -1,5 +1,5 @@ -NamedWildcardsNotInMonotype.hs:5:1: error: +NamedWildcardsNotInMonotype.hs:5:1: error: [GHC-39999] • Could not deduce ‘Eq w0’ from the context: (Show a, Eq w, Eq a) bound by the inferred type for ‘foo’: diff --git a/testsuite/tests/partial-sigs/should_fail/NestedExtraConstraintsWildcard.stderr b/testsuite/tests/partial-sigs/should_fail/NestedExtraConstraintsWildcard.stderr index 1dbe74f0cba5..9bba4ecb146f 100644 --- a/testsuite/tests/partial-sigs/should_fail/NestedExtraConstraintsWildcard.stderr +++ b/testsuite/tests/partial-sigs/should_fail/NestedExtraConstraintsWildcard.stderr @@ -1,5 +1,5 @@ -NestedExtraConstraintsWildcard.hs:4:23: error: +NestedExtraConstraintsWildcard.hs:4:23: error: [GHC-65507] Wildcard ‘_’ not allowed in a constraint except as the last top-level constraint of a type signature e.g f :: (Eq a, _) => blah diff --git a/testsuite/tests/partial-sigs/should_fail/NestedNamedExtraConstraintsWildcard.stderr b/testsuite/tests/partial-sigs/should_fail/NestedNamedExtraConstraintsWildcard.stderr index c632d6eb64ad..85ba3842dc31 100644 --- a/testsuite/tests/partial-sigs/should_fail/NestedNamedExtraConstraintsWildcard.stderr +++ b/testsuite/tests/partial-sigs/should_fail/NestedNamedExtraConstraintsWildcard.stderr @@ -1,5 +1,5 @@ -NestedNamedExtraConstraintsWildcard.hs:4:23: error: +NestedNamedExtraConstraintsWildcard.hs:4:23: error: [GHC-65507] Named wildcard ‘_a’ not allowed in a constraint Extra-constraint wildcards must be anonymous e.g f :: (Eq a, _) => blah diff --git a/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature.stderr b/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature.stderr index b4709125260a..b8790d81f40a 100644 --- a/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature.stderr +++ b/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature.stderr @@ -1,4 +1,4 @@ -PartialClassMethodSignature.hs:6:15: error: +PartialClassMethodSignature.hs:6:15: error: [GHC-65507] Wildcard ‘_’ not allowed in a class method signature for ‘foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature2.stderr b/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature2.stderr index 354f1d5ee733..c989ee27c00e 100644 --- a/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature2.stderr +++ b/testsuite/tests/partial-sigs/should_fail/PartialClassMethodSignature2.stderr @@ -1,4 +1,4 @@ -PartialClassMethodSignature2.hs:5:17: error: +PartialClassMethodSignature2.hs:5:17: error: [GHC-65507] Wildcard ‘_’ not allowed in a class method signature for ‘foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/PartialTypeSignaturesDisabled.stderr b/testsuite/tests/partial-sigs/should_fail/PartialTypeSignaturesDisabled.stderr index be6ea0ae80cf..eb49a8bfedbd 100644 --- a/testsuite/tests/partial-sigs/should_fail/PartialTypeSignaturesDisabled.stderr +++ b/testsuite/tests/partial-sigs/should_fail/PartialTypeSignaturesDisabled.stderr @@ -1,11 +1,11 @@ -PartialTypeSignaturesDisabled.hs:4:8: error: +PartialTypeSignaturesDisabled.hs:4:8: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘Bool’ To use the inferred type, enable PartialTypeSignatures • In the type ‘_ -> _’ In the type signature: foo :: _ -> _ -PartialTypeSignaturesDisabled.hs:4:13: error: +PartialTypeSignaturesDisabled.hs:4:13: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘Bool’ To use the inferred type, enable PartialTypeSignatures • In the type ‘_ -> _’ diff --git a/testsuite/tests/partial-sigs/should_fail/PatBind3.stderr b/testsuite/tests/partial-sigs/should_fail/PatBind3.stderr index a1a1295b123e..350da8f644e6 100644 --- a/testsuite/tests/partial-sigs/should_fail/PatBind3.stderr +++ b/testsuite/tests/partial-sigs/should_fail/PatBind3.stderr @@ -1,5 +1,5 @@ -PatBind3.hs:6:17: error: +PatBind3.hs:6:17: error: [GHC-83865] • Couldn't match type ‘(Bool, w)’ with ‘Char’ Expected: (Bool, w) -> Char Actual: (Bool, w) -> (Bool, w) diff --git a/testsuite/tests/partial-sigs/should_fail/ScopedNamedWildcardsBad.stderr b/testsuite/tests/partial-sigs/should_fail/ScopedNamedWildcardsBad.stderr index ee618dff5675..a6eec60511a5 100644 --- a/testsuite/tests/partial-sigs/should_fail/ScopedNamedWildcardsBad.stderr +++ b/testsuite/tests/partial-sigs/should_fail/ScopedNamedWildcardsBad.stderr @@ -1,5 +1,5 @@ -ScopedNamedWildcardsBad.hs:11:15: error: +ScopedNamedWildcardsBad.hs:11:15: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the first argument of ‘g’, namely ‘'x'’ In the expression: g 'x' diff --git a/testsuite/tests/partial-sigs/should_fail/T10045.stderr b/testsuite/tests/partial-sigs/should_fail/T10045.stderr index e6f6462d5d49..23d92740581f 100644 --- a/testsuite/tests/partial-sigs/should_fail/T10045.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T10045.stderr @@ -1,5 +1,5 @@ -T10045.hs:6:18: error: +T10045.hs:6:18: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘t1 -> Bool -> t2’ Where: ‘t1’, ‘t2’ are rigid type variables bound by the inferred type of copy :: t1 -> Bool -> t2 diff --git a/testsuite/tests/partial-sigs/should_fail/T10615.stderr b/testsuite/tests/partial-sigs/should_fail/T10615.stderr index e9c048ce1673..b2390ffa41e7 100644 --- a/testsuite/tests/partial-sigs/should_fail/T10615.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T10615.stderr @@ -1,12 +1,12 @@ -T10615.hs:5:7: error: +T10615.hs:5:7: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w1’ Where: ‘w1’ is an ambiguous type variable To use the inferred type, enable PartialTypeSignatures • In the type ‘_ -> f’ In the type signature: f1 :: _ -> f -T10615.hs:6:6: error: +T10615.hs:6:6: error: [GHC-25897] • Couldn't match type ‘f’ with ‘b1 -> w1’ Expected: w1 -> f Actual: w1 -> b1 -> w1 @@ -17,14 +17,14 @@ T10615.hs:6:6: error: In an equation for ‘f1’: f1 = const • Relevant bindings include f1 :: w1 -> f (bound at T10615.hs:6:1) -T10615.hs:8:7: error: +T10615.hs:8:7: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w0’ Where: ‘w0’ is an ambiguous type variable To use the inferred type, enable PartialTypeSignatures • In the type ‘_ -> _f’ In the type signature: f2 :: _ -> _f -T10615.hs:9:6: error: +T10615.hs:9:6: error: [GHC-25897] • Couldn't match type ‘_f’ with ‘b0 -> w0’ Expected: w0 -> _f Actual: w0 -> b0 -> w0 diff --git a/testsuite/tests/partial-sigs/should_fail/T10999.stderr b/testsuite/tests/partial-sigs/should_fail/T10999.stderr index 4942fb9f8a37..39e94b5033c4 100644 --- a/testsuite/tests/partial-sigs/should_fail/T10999.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T10999.stderr @@ -1,5 +1,5 @@ -T10999.hs:5:6: error: +T10999.hs:5:6: error: [GHC-88464] • Found extra-constraints wildcard standing for ‘Ord a’ Where: ‘a’ is a rigid type variable bound by the inferred type of f :: Ord a => () -> Set.Set a @@ -7,7 +7,7 @@ T10999.hs:5:6: error: To use the inferred type, enable PartialTypeSignatures • In the type signature: f :: _ => () -> _ -T10999.hs:5:17: error: +T10999.hs:5:17: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘Set.Set a’ Where: ‘a’ is a rigid type variable bound by the inferred type of f :: Ord a => () -> Set.Set a @@ -16,7 +16,7 @@ T10999.hs:5:17: error: • In the type ‘() -> _’ In the type signature: f :: _ => () -> _ -T10999.hs:8:28: error: +T10999.hs:8:28: error: [GHC-39999] • Ambiguous type variable ‘b1’ arising from a use of ‘f’ prevents the constraint ‘(Ord b1)’ from being solved. Relevant bindings include g :: [b1] (bound at T10999.hs:8:1) diff --git a/testsuite/tests/partial-sigs/should_fail/T11122.stderr b/testsuite/tests/partial-sigs/should_fail/T11122.stderr index a6b4c618ec12..1a173ec11aee 100644 --- a/testsuite/tests/partial-sigs/should_fail/T11122.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T11122.stderr @@ -1,5 +1,5 @@ -T11122.hs:19:18: warning: [-Wpartial-type-signatures (in -Wdefault)] +T11122.hs:19:18: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘Int’ • In the first argument of ‘Parser’, namely ‘_’ In the type ‘Parser _’ diff --git a/testsuite/tests/partial-sigs/should_fail/T11515.stderr b/testsuite/tests/partial-sigs/should_fail/T11515.stderr index df8da0320822..389b1331b356 100644 --- a/testsuite/tests/partial-sigs/should_fail/T11515.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T11515.stderr @@ -1,5 +1,5 @@ -T11515.hs:7:20: error: +T11515.hs:7:20: error: [GHC-88464] • Found extra-constraints wildcard standing for ‘()’ To use the inferred type, enable PartialTypeSignatures • In the type signature: foo :: (ShowSyn a, _) => a -> String diff --git a/testsuite/tests/partial-sigs/should_fail/T11976.stderr b/testsuite/tests/partial-sigs/should_fail/T11976.stderr index bcc69bf2d804..a2a1fead7d82 100644 --- a/testsuite/tests/partial-sigs/should_fail/T11976.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T11976.stderr @@ -1,5 +1,5 @@ -T11976.hs:7:20: error: +T11976.hs:7:20: error: [GHC-83865] • Expected kind ‘k0 -> *’, but ‘Lens _ _’ has kind ‘*’ • In the type ‘Lens _ _ _’ In an expression type signature: Lens _ _ _ diff --git a/testsuite/tests/partial-sigs/should_fail/T12039.stderr b/testsuite/tests/partial-sigs/should_fail/T12039.stderr index 2a5fe33b140e..690224f32d82 100644 --- a/testsuite/tests/partial-sigs/should_fail/T12039.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T12039.stderr @@ -1,4 +1,4 @@ -T12039.hs:5:11: error: +T12039.hs:5:11: error: [GHC-65507] Wildcard ‘_’ not allowed in the declaration for class ‘B’ diff --git a/testsuite/tests/partial-sigs/should_fail/T12634.stderr b/testsuite/tests/partial-sigs/should_fail/T12634.stderr index ef0386784c75..19a65352db1e 100644 --- a/testsuite/tests/partial-sigs/should_fail/T12634.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T12634.stderr @@ -1,5 +1,5 @@ -T12634.hs:15:58: error: +T12634.hs:15:58: error: [GHC-83865] • Expected a type, but ‘'(t, m, m', r)’ has kind ‘(k1 -> k2 -> *, k0, k1, k2)’ diff --git a/testsuite/tests/partial-sigs/should_fail/T12732.stderr b/testsuite/tests/partial-sigs/should_fail/T12732.stderr index 5188f6228bcd..e8977bf83cce 100644 --- a/testsuite/tests/partial-sigs/should_fail/T12732.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T12732.stderr @@ -1,6 +1,6 @@ -T12732.hs:4:10: error: Variable not in scope: x +T12732.hs:4:10: error: [GHC-88464] Variable not in scope: x -T12732.hs:5:27: error: Variable not in scope: x +T12732.hs:5:27: error: [GHC-88464] Variable not in scope: x -T12732.hs:6:11: error: Variable not in scope: x +T12732.hs:6:11: error: [GHC-88464] Variable not in scope: x diff --git a/testsuite/tests/partial-sigs/should_fail/T13324_fail1.stderr b/testsuite/tests/partial-sigs/should_fail/T13324_fail1.stderr index dd3a9948f985..92e8613b7d48 100644 --- a/testsuite/tests/partial-sigs/should_fail/T13324_fail1.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T13324_fail1.stderr @@ -1,10 +1,10 @@ -T13324_fail1.hs:7:26: error: +T13324_fail1.hs:7:26: error: [GHC-65507] Extra-constraint wildcard ‘_’ not allowed except as the sole constraint e.g., deriving instance _ => Eq (Foo a) in a deriving declaration -T13324_fail1.hs:8:25: error: +T13324_fail1.hs:8:25: error: [GHC-65507] Wildcard ‘_’ not allowed in a deriving declaration diff --git a/testsuite/tests/partial-sigs/should_fail/T13324_fail2.stderr b/testsuite/tests/partial-sigs/should_fail/T13324_fail2.stderr index 798272f7b054..f1237e87dcd7 100644 --- a/testsuite/tests/partial-sigs/should_fail/T13324_fail2.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T13324_fail2.stderr @@ -1,11 +1,11 @@ -T13324_fail2.hs:7:1: error: +T13324_fail2.hs:7:1: error: [GHC-39999] • No instance for ‘Eq (f (f a))’ arising from a 'deriving' declaration Possible fix: fill in the wildcard constraint yourself • When deriving the instance for (Eq (Foo f a)) -T13324_fail2.hs:11:1: error: +T13324_fail2.hs:11:1: error: [GHC-16437] • Can't make a derived instance of ‘Eq (T a)’: Constructor ‘MkT’ is a GADT • In the stand-alone deriving instance for ‘_ => Eq (T a)’ diff --git a/testsuite/tests/partial-sigs/should_fail/T14040a.stderr b/testsuite/tests/partial-sigs/should_fail/T14040a.stderr index 18f8439a7feb..6f5ee1ff2e2f 100644 --- a/testsuite/tests/partial-sigs/should_fail/T14040a.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T14040a.stderr @@ -1,13 +1,13 @@ -T14040a.hs:26:46: error: +T14040a.hs:26:46: error: [GHC-46956] • Couldn't match kind ‘k1’ with ‘WeirdList z’ Expected kind ‘WeirdList k1’, but ‘xs’ has kind ‘WeirdList (WeirdList z)’ - because kind variable ‘z’ would escape its scope - This (rigid, skolem) kind variable is bound by - an explicit forall (z :: Type) (x :: z) - (xs :: WeirdList (WeirdList z)) - at T14040a.hs:25:26-77 + • because kind variable ‘z’ would escape its scope + This (rigid, skolem) kind variable is bound by + an explicit forall (z :: Type) (x :: z) + (xs :: WeirdList (WeirdList z)) + at T14040a.hs:25:26-77 • In the second argument of ‘p’, namely ‘xs’ In the type ‘Sing wl -> (forall (y :: Type). p _ WeirdNil) @@ -29,15 +29,15 @@ T14040a.hs:26:46: error: -> p _ (WeirdCons x xs)) -> p _ wl -T14040a.hs:27:27: error: +T14040a.hs:27:27: error: [GHC-46956] • Couldn't match kind ‘k0’ with ‘z’ Expected kind ‘WeirdList k0’, but ‘WeirdCons x xs’ has kind ‘WeirdList z’ - because kind variable ‘z’ would escape its scope - This (rigid, skolem) kind variable is bound by - an explicit forall (z :: Type) (x :: z) - (xs :: WeirdList (WeirdList z)) - at T14040a.hs:25:26-77 + • because kind variable ‘z’ would escape its scope + This (rigid, skolem) kind variable is bound by + an explicit forall (z :: Type) (x :: z) + (xs :: WeirdList (WeirdList z)) + at T14040a.hs:25:26-77 • In the second argument of ‘p’, namely ‘(WeirdCons x xs)’ In the type ‘Sing wl -> (forall (y :: Type). p _ WeirdNil) diff --git a/testsuite/tests/partial-sigs/should_fail/T14449.stderr b/testsuite/tests/partial-sigs/should_fail/T14449.stderr index 01e73b5edb35..b35303ffeae7 100644 --- a/testsuite/tests/partial-sigs/should_fail/T14449.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T14449.stderr @@ -1,4 +1,4 @@ -T14449.hs:6:1: error: +T14449.hs:6:1: error: [GHC-88793] Couldn't match ‘a’ with ‘b’ both bound by the partial type signature: f :: a -> b -> _ diff --git a/testsuite/tests/partial-sigs/should_fail/T14479.stderr b/testsuite/tests/partial-sigs/should_fail/T14479.stderr index 84ba90a572a9..6c53d8defea5 100644 --- a/testsuite/tests/partial-sigs/should_fail/T14479.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T14479.stderr @@ -1,5 +1,5 @@ -T14479.hs:9:5: error: +T14479.hs:9:5: error: [GHC-94185] • Can't quantify over ‘b’ bound by the partial type signature: g :: forall b. Num b => _ -> b • In an equation for ‘foo’: diff --git a/testsuite/tests/partial-sigs/should_fail/T14584.stderr b/testsuite/tests/partial-sigs/should_fail/T14584.stderr index bfa69b1636ee..67ccd9d0da1d 100644 --- a/testsuite/tests/partial-sigs/should_fail/T14584.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T14584.stderr @@ -1,5 +1,5 @@ -T14584.hs:57:41: warning: [-Wdeferred-type-errors (in -Wdefault)] +T14584.hs:57:41: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • Could not deduce ‘SingI a’ arising from a use of ‘sing’ from the context: (Action act, Monoid a, Good m1) bound by the instance declaration at T14584.hs:55:10-89 @@ -10,7 +10,7 @@ T14584.hs:57:41: warning: [-Wdeferred-type-errors (in -Wdefault)] In the expression: act @_ @_ @act (fromSing @m (sing @m @a :: Sing _)) -T14584.hs:57:41: warning: [-Wdeferred-type-errors (in -Wdefault)] +T14584.hs:57:41: warning: [GHC-06200] [-Wdeferred-type-errors (in -Wdefault)] • Cannot use equality for substitution: a0 ~ a Doing so would be ill-kinded. • In the second argument of ‘fromSing’, namely @@ -22,7 +22,7 @@ T14584.hs:57:41: warning: [-Wdeferred-type-errors (in -Wdefault)] • Relevant bindings include monHom :: a -> a (bound at T14584.hs:57:3) -T14584.hs:57:50: warning: [-Wdeferred-type-errors (in -Wdefault)] +T14584.hs:57:50: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Could not deduce ‘m1 ~ *’ from the context: (Action act, Monoid a, Good m1) bound by the instance declaration at T14584.hs:55:10-89 @@ -35,7 +35,7 @@ T14584.hs:57:50: warning: [-Wdeferred-type-errors (in -Wdefault)] In the fourth argument of ‘act’, namely ‘(fromSing @m (sing @m @a :: Sing _))’ -T14584.hs:57:60: warning: [-Wpartial-type-signatures (in -Wdefault)] +T14584.hs:57:60: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘a0 :: m’ Where: ‘a0’ is an ambiguous type variable ‘m’ is a rigid type variable bound by diff --git a/testsuite/tests/partial-sigs/should_fail/T14584a.stderr b/testsuite/tests/partial-sigs/should_fail/T14584a.stderr index a7706d723e01..aabc6130e3db 100644 --- a/testsuite/tests/partial-sigs/should_fail/T14584a.stderr +++ b/testsuite/tests/partial-sigs/should_fail/T14584a.stderr @@ -1,11 +1,11 @@ -T14584a.hs:12:5: warning: [-Wdeferred-type-errors (in -Wdefault)] +T14584a.hs:12:5: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘()’ with actual type ‘m -> m’ - Probable cause: ‘id’ is applied to too few arguments - • In the expression: id @m :: _ + • Probable cause: ‘id’ is applied to too few arguments + In the expression: id @m :: _ In an equation for ‘f’: f = id @m :: _ -T14584a.hs:12:9: warning: [-Wdeferred-type-errors (in -Wdefault)] +T14584a.hs:12:9: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Expected a type, but ‘m’ has kind ‘k’ ‘k’ is a rigid type variable bound by the type signature for: @@ -15,14 +15,14 @@ T14584a.hs:12:9: warning: [-Wdeferred-type-errors (in -Wdefault)] In the expression: id @m :: _ In an equation for ‘f’: f = id @m :: _ -T14584a.hs:12:14: warning: [-Wpartial-type-signatures (in -Wdefault)] +T14584a.hs:12:14: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘()’ • In an expression type signature: _ In the expression: id @m :: _ In an equation for ‘f’: f = id @m :: _ • Relevant bindings include f :: () (bound at T14584a.hs:12:1) -T14584a.hs:15:17: warning: [-Wdeferred-type-errors (in -Wdefault)] +T14584a.hs:15:17: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Expected a type, but ‘m’ has kind ‘k’ ‘k’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/partial-sigs/should_fail/TidyClash.stderr b/testsuite/tests/partial-sigs/should_fail/TidyClash.stderr index a7a5ee85be42..b354fd8d01e5 100644 --- a/testsuite/tests/partial-sigs/should_fail/TidyClash.stderr +++ b/testsuite/tests/partial-sigs/should_fail/TidyClash.stderr @@ -1,5 +1,5 @@ -TidyClash.hs:8:19: error: +TidyClash.hs:8:19: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w1’ Where: ‘w1’ is a rigid type variable bound by the inferred type of bar :: w_ -> (w_, w1 -> w2) @@ -8,7 +8,7 @@ TidyClash.hs:8:19: error: • In the type ‘w_ -> (w_, _ -> _)’ In the type signature: bar :: w_ -> (w_, _ -> _) -TidyClash.hs:8:24: error: +TidyClash.hs:8:24: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w2’ Where: ‘w2’ is a rigid type variable bound by the inferred type of bar :: w_ -> (w_, w1 -> w2) diff --git a/testsuite/tests/partial-sigs/should_fail/TidyClash2.stderr b/testsuite/tests/partial-sigs/should_fail/TidyClash2.stderr index 504fbf5094ac..d6c07d7ba758 100644 --- a/testsuite/tests/partial-sigs/should_fail/TidyClash2.stderr +++ b/testsuite/tests/partial-sigs/should_fail/TidyClash2.stderr @@ -1,5 +1,5 @@ -TidyClash2.hs:13:20: error: +TidyClash2.hs:13:20: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w1’ Where: ‘w1’ is a rigid type variable bound by the inferred type of barry :: w1 -> w2 -> t @@ -8,7 +8,7 @@ TidyClash2.hs:13:20: error: • In the type ‘_ -> _ -> t’ In the type signature: barry :: forall t. _ -> _ -> t -TidyClash2.hs:13:25: error: +TidyClash2.hs:13:25: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w2’ Where: ‘w2’ is a rigid type variable bound by the inferred type of barry :: w1 -> w2 -> t @@ -17,7 +17,7 @@ TidyClash2.hs:13:25: error: • In the type ‘_ -> _ -> t’ In the type signature: barry :: forall t. _ -> _ -> t -TidyClash2.hs:14:13: error: +TidyClash2.hs:14:13: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w1’ Where: ‘w1’ is a rigid type variable bound by the inferred type of barry :: w1 -> w2 -> t @@ -30,7 +30,7 @@ TidyClash2.hs:14:13: error: • Relevant bindings include barry :: w1 -> w2 -> t (bound at TidyClash2.hs:14:1) -TidyClash2.hs:14:22: error: +TidyClash2.hs:14:22: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w2’ Where: ‘w2’ is a rigid type variable bound by the inferred type of barry :: w1 -> w2 -> t @@ -44,7 +44,7 @@ TidyClash2.hs:14:22: error: x :: w1 (bound at TidyClash2.hs:14:8) barry :: w1 -> w2 -> t (bound at TidyClash2.hs:14:1) -TidyClash2.hs:14:40: error: +TidyClash2.hs:14:40: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w3’ Where: ‘w3’ is a rigid type variable bound by the inferred type of <expression> :: w3 diff --git a/testsuite/tests/partial-sigs/should_fail/UnnamedConstraintWildcard1.stderr b/testsuite/tests/partial-sigs/should_fail/UnnamedConstraintWildcard1.stderr index 9efcdb86418a..8576e0f5df35 100644 --- a/testsuite/tests/partial-sigs/should_fail/UnnamedConstraintWildcard1.stderr +++ b/testsuite/tests/partial-sigs/should_fail/UnnamedConstraintWildcard1.stderr @@ -1,5 +1,5 @@ -UnnamedConstraintWildcard1.hs:4:13: error: +UnnamedConstraintWildcard1.hs:4:13: error: [GHC-65507] Wildcard ‘_’ not allowed in a constraint except as the last top-level constraint of a type signature e.g f :: (Eq a, _) => blah diff --git a/testsuite/tests/partial-sigs/should_fail/UnnamedConstraintWildcard2.stderr b/testsuite/tests/partial-sigs/should_fail/UnnamedConstraintWildcard2.stderr index c695321da79b..8becad9a9614 100644 --- a/testsuite/tests/partial-sigs/should_fail/UnnamedConstraintWildcard2.stderr +++ b/testsuite/tests/partial-sigs/should_fail/UnnamedConstraintWildcard2.stderr @@ -1,5 +1,5 @@ -UnnamedConstraintWildcard2.hs:4:8: error: +UnnamedConstraintWildcard2.hs:4:8: error: [GHC-65507] Wildcard ‘_’ not allowed in a constraint except as the last top-level constraint of a type signature e.g f :: (Eq a, _) => blah diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInADT1.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInADT1.stderr index 8d8827806053..b82dd1ef4f5e 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInADT1.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInADT1.stderr @@ -1,4 +1,4 @@ -WildcardInADT1.hs:4:26: error: +WildcardInADT1.hs:4:26: error: [GHC-65507] Wildcard ‘_’ not allowed in the definition of data constructor ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInADT2.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInADT2.stderr index 2c8acc330718..6537262707cc 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInADT2.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInADT2.stderr @@ -1,4 +1,4 @@ -WildcardInADT2.hs:4:34: error: +WildcardInADT2.hs:4:34: error: [GHC-65507] Wildcard ‘_’ not allowed in the definition of data constructor ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInADT3.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInADT3.stderr index 48e38d84ed92..fe2f70d00878 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInADT3.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInADT3.stderr @@ -1,4 +1,4 @@ -WildcardInADT3.hs:4:27: error: +WildcardInADT3.hs:4:27: error: [GHC-65507] Wildcard ‘_’ not allowed in the definition of data constructor ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext1.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext1.stderr index afd70202273e..e1ab8649884d 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext1.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext1.stderr @@ -2,6 +2,6 @@ WildcardInADTContext1.hs:1:37: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -WildcardInADTContext1.hs:4:13: error: +WildcardInADTContext1.hs:4:13: error: [GHC-65507] Wildcard ‘_’ not allowed in the data type declaration for ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext2.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext2.stderr index 32fc28b6fafc..8333aa4a1462 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext2.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInADTContext2.stderr @@ -2,6 +2,6 @@ WildcardInADTContext2.hs:1:53: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -WildcardInADTContext2.hs:4:10: error: +WildcardInADTContext2.hs:4:10: error: [GHC-76037] Not in scope: type variable ‘_a’ Suggested fix: Perhaps use ‘a’ (line 4) diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInDefault.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInDefault.stderr index 5321815171dd..1cb3b46f8e90 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInDefault.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInDefault.stderr @@ -1,4 +1,4 @@ -WildcardInDefault.hs:4:10: error: +WildcardInDefault.hs:4:10: error: [GHC-65507] Wildcard ‘_’ not allowed in a `default' declaration diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInDefaultSignature.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInDefaultSignature.stderr index 941ea1c5d456..98913a6f8bdb 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInDefaultSignature.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInDefaultSignature.stderr @@ -1,4 +1,4 @@ -WildcardInDefaultSignature.hs:7:16: error: +WildcardInDefaultSignature.hs:7:16: error: [GHC-65507] Wildcard ‘_’ not allowed in a class method signature for ‘f’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInDeriving.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInDeriving.stderr index 054c0a424cbb..68d01bb0f1f1 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInDeriving.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInDeriving.stderr @@ -1,4 +1,4 @@ -WildcardInDeriving.hs:5:22: error: +WildcardInDeriving.hs:5:22: error: [GHC-65507] Wildcard ‘_’ not allowed in the data type declaration for ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInForeignExport.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInForeignExport.stderr index e207df7528af..ede183a2bd10 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInForeignExport.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInForeignExport.stderr @@ -1,4 +1,4 @@ -WildcardInForeignExport.hs:6:37: error: +WildcardInForeignExport.hs:6:37: error: [GHC-65507] Wildcard ‘_’ not allowed in the foreign declaration for ‘foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInForeignImport.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInForeignImport.stderr index 3c34f027d15b..dc9daedfba3f 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInForeignImport.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInForeignImport.stderr @@ -1,4 +1,4 @@ -WildcardInForeignImport.hs:6:48: error: +WildcardInForeignImport.hs:6:48: error: [GHC-65507] Wildcard ‘_’ not allowed in the foreign declaration for ‘c_sin’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInGADT1.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInGADT1.stderr index c54264453992..41d5c582beba 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInGADT1.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInGADT1.stderr @@ -1,4 +1,4 @@ -WildcardInGADT1.hs:5:19: error: +WildcardInGADT1.hs:5:19: error: [GHC-65507] Wildcard ‘_’ not allowed in the definition of data constructor ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInGADT2.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInGADT2.stderr index bf63d2a99704..85dba04ad955 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInGADT2.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInGADT2.stderr @@ -1,4 +1,4 @@ -WildcardInGADT2.hs:5:17: error: +WildcardInGADT2.hs:5:17: error: [GHC-65507] Wildcard ‘_’ not allowed in the definition of data constructor ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInInstanceHead.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInInstanceHead.stderr index 367e10a16fe4..718f136e4610 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInInstanceHead.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInInstanceHead.stderr @@ -1,4 +1,4 @@ -WildcardInInstanceHead.hs:7:14: error: +WildcardInInstanceHead.hs:7:14: error: [GHC-65507] Wildcard ‘_’ not allowed in an instance declaration diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInInstanceSig.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInInstanceSig.stderr index 1e59fb7122df..466d971bd8d7 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInInstanceSig.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInInstanceSig.stderr @@ -1,4 +1,4 @@ -WildcardInInstanceSig.hs:5:13: error: +WildcardInInstanceSig.hs:5:13: error: [GHC-65507] Wildcard ‘_’ not allowed in a class method signature for ‘negate’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInNewtype.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInNewtype.stderr index 72e60eebdc7b..ce46867a6a4b 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInNewtype.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInNewtype.stderr @@ -1,4 +1,4 @@ -WildcardInNewtype.hs:7:29: error: +WildcardInNewtype.hs:7:29: error: [GHC-65507] Wildcard ‘_’ not allowed in the definition of data constructor ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInPatSynSig.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInPatSynSig.stderr index c27b0c90d141..ed517a02325e 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInPatSynSig.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInPatSynSig.stderr @@ -1,4 +1,4 @@ -WildcardInPatSynSig.hs:4:37: error: +WildcardInPatSynSig.hs:4:37: error: [GHC-65507] Wildcard ‘_’ not allowed in a pattern synonym signature for ‘Single’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInStandaloneDeriving.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInStandaloneDeriving.stderr index 0609021c158a..2af068b5a063 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInStandaloneDeriving.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInStandaloneDeriving.stderr @@ -1,4 +1,4 @@ -WildcardInStandaloneDeriving.hs:4:19: error: +WildcardInStandaloneDeriving.hs:4:19: error: [GHC-65507] Wildcard ‘_’ not allowed in a deriving declaration diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInTypeFamilyInstanceRHS.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInTypeFamilyInstanceRHS.stderr index 1572c86e0b44..3edb17a99ada 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInTypeFamilyInstanceRHS.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInTypeFamilyInstanceRHS.stderr @@ -1,4 +1,4 @@ -WildcardInTypeFamilyInstanceRHS.hs:8:25: error: +WildcardInTypeFamilyInstanceRHS.hs:8:25: error: [GHC-65507] Wildcard ‘_’ not allowed in the declaration for type synonym ‘Dual’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInTypeSynonymLHS.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInTypeSynonymLHS.stderr index ec438805e484..3a5fe4f5a0ac 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInTypeSynonymLHS.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInTypeSynonymLHS.stderr @@ -1,5 +1,5 @@ -WildcardInTypeSynonymLHS.hs:4:10: +WildcardInTypeSynonymLHS.hs:4:10: error: [GHC-77878] Unexpected type ‘_’ In the type declaration for ‘Foo’ A type declaration should have form diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInTypeSynonymRHS.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInTypeSynonymRHS.stderr index 6b921a113045..b16f3ffb080e 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInTypeSynonymRHS.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInTypeSynonymRHS.stderr @@ -1,4 +1,4 @@ -WildcardInTypeSynonymRHS.hs:4:18: error: +WildcardInTypeSynonymRHS.hs:4:18: error: [GHC-65507] Wildcard ‘_’ not allowed in the declaration for type synonym ‘Foo’ diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardInstantiations.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardInstantiations.stderr index 827356a7aeb5..a9804d8dcb80 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardInstantiations.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardInstantiations.stderr @@ -1,5 +1,5 @@ -WildcardInstantiations.hs:5:14: error: +WildcardInstantiations.hs:5:14: error: [GHC-88464] • Found type wildcard ‘_a’ standing for ‘a’ Where: ‘a’ is a rigid type variable bound by the inferred type of foo :: (Show a, Enum a) => a -> String @@ -7,7 +7,7 @@ WildcardInstantiations.hs:5:14: error: To use the inferred type, enable PartialTypeSignatures • In the type signature: foo :: (Show _a, _) => _a -> _ -WildcardInstantiations.hs:5:18: error: +WildcardInstantiations.hs:5:18: error: [GHC-88464] • Found extra-constraints wildcard standing for ‘Enum a’ Where: ‘a’ is a rigid type variable bound by the inferred type of foo :: (Show a, Enum a) => a -> String @@ -15,13 +15,13 @@ WildcardInstantiations.hs:5:18: error: To use the inferred type, enable PartialTypeSignatures • In the type signature: foo :: (Show _a, _) => _a -> _ -WildcardInstantiations.hs:5:30: error: +WildcardInstantiations.hs:5:30: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘String’ To use the inferred type, enable PartialTypeSignatures • In the type ‘_a -> _’ In the type signature: foo :: (Show _a, _) => _a -> _ -WildcardInstantiations.hs:8:8: error: +WildcardInstantiations.hs:8:8: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘t’ Where: ‘t’ is a rigid type variable bound by the inferred type of bar :: t -> (t -> w) -> w @@ -30,7 +30,7 @@ WildcardInstantiations.hs:8:8: error: • In the type ‘_ -> _ -> _’ In the type signature: bar :: _ -> _ -> _ -WildcardInstantiations.hs:8:13: error: +WildcardInstantiations.hs:8:13: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘t -> w’ Where: ‘t’, ‘w’ are rigid type variables bound by the inferred type of bar :: t -> (t -> w) -> w @@ -39,7 +39,7 @@ WildcardInstantiations.hs:8:13: error: • In the type ‘_ -> _ -> _’ In the type signature: bar :: _ -> _ -> _ -WildcardInstantiations.hs:8:18: error: +WildcardInstantiations.hs:8:18: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of bar :: t -> (t -> w) -> w diff --git a/testsuite/tests/partial-sigs/should_fail/WildcardsInPatternAndExprSig.stderr b/testsuite/tests/partial-sigs/should_fail/WildcardsInPatternAndExprSig.stderr index 726b43898ef9..cc577873fd5f 100644 --- a/testsuite/tests/partial-sigs/should_fail/WildcardsInPatternAndExprSig.stderr +++ b/testsuite/tests/partial-sigs/should_fail/WildcardsInPatternAndExprSig.stderr @@ -1,5 +1,5 @@ -WildcardsInPatternAndExprSig.hs:4:18: error: +WildcardsInPatternAndExprSig.hs:4:18: error: [GHC-88464] • Found type wildcard ‘_a’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of bar :: Maybe [w] -> w -> [w] @@ -12,7 +12,7 @@ WildcardsInPatternAndExprSig.hs:4:18: error: bar :: Maybe [w] -> w -> [w] (bound at WildcardsInPatternAndExprSig.hs:4:1) -WildcardsInPatternAndExprSig.hs:4:25: error: +WildcardsInPatternAndExprSig.hs:4:25: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘[w]’ Where: ‘w’ is a rigid type variable bound by the inferred type of bar :: Maybe [w] -> w -> [w] @@ -25,7 +25,7 @@ WildcardsInPatternAndExprSig.hs:4:25: error: bar :: Maybe [w] -> w -> [w] (bound at WildcardsInPatternAndExprSig.hs:4:1) -WildcardsInPatternAndExprSig.hs:4:38: error: +WildcardsInPatternAndExprSig.hs:4:38: error: [GHC-88464] • Found type wildcard ‘_b’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of bar :: Maybe [w] -> w -> [w] @@ -40,7 +40,7 @@ WildcardsInPatternAndExprSig.hs:4:38: error: bar :: Maybe [w] -> w -> [w] (bound at WildcardsInPatternAndExprSig.hs:4:1) -WildcardsInPatternAndExprSig.hs:4:49: error: +WildcardsInPatternAndExprSig.hs:4:49: error: [GHC-88464] • Found type wildcard ‘_c’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of bar :: Maybe [w] -> w -> [w] @@ -56,7 +56,7 @@ WildcardsInPatternAndExprSig.hs:4:49: error: bar :: Maybe [w] -> w -> [w] (bound at WildcardsInPatternAndExprSig.hs:4:1) -WildcardsInPatternAndExprSig.hs:4:66: error: +WildcardsInPatternAndExprSig.hs:4:66: error: [GHC-88464] • Found type wildcard ‘_d’ standing for ‘w’ Where: ‘w’ is a rigid type variable bound by the inferred type of bar :: Maybe [w] -> w -> [w] diff --git a/testsuite/tests/partial-sigs/should_run/T15415.stderr b/testsuite/tests/partial-sigs/should_run/T15415.stderr index 1070a07ca852..245bb02f391b 100644 --- a/testsuite/tests/partial-sigs/should_run/T15415.stderr +++ b/testsuite/tests/partial-sigs/should_run/T15415.stderr @@ -1,5 +1,5 @@ -<interactive>:1:7: error: +<interactive>:1:7: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w0 :: k0’ Where: ‘k0’ is an ambiguous type variable ‘w0’ is an ambiguous type variable @@ -7,34 +7,34 @@ • In the first argument of ‘Proxy’, namely ‘_’ In the type ‘Proxy _’ -<interactive>:1:17: error: +<interactive>:1:17: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘* -> *’ To use the inferred type, enable PartialTypeSignatures • In the kind ‘_’ In the first argument of ‘Proxy’, namely ‘(Maybe :: _)’ In the type ‘Proxy (Maybe :: _)’ -<interactive>:1:11: error: +<interactive>:1:11: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w0’ Where: ‘w0’ is an ambiguous type variable To use the inferred type, enable PartialTypeSignatures • In the first argument of ‘Dependent’, namely ‘_’ In the type ‘Dependent _’ -<interactive>:1:7: warning: [-Wpartial-type-signatures (in -Wdefault)] +<interactive>:1:7: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w0 :: k0’ Where: ‘k0’ is an ambiguous type variable ‘w0’ is an ambiguous type variable • In the first argument of ‘Proxy’, namely ‘_’ In the type ‘Proxy _’ -<interactive>:1:17: warning: [-Wpartial-type-signatures (in -Wdefault)] +<interactive>:1:17: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘* -> *’ • In the kind ‘_’ In the first argument of ‘Proxy’, namely ‘(Maybe :: _)’ In the type ‘Proxy (Maybe :: _)’ -<interactive>:1:11: warning: [-Wpartial-type-signatures (in -Wdefault)] +<interactive>:1:11: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘w0’ Where: ‘w0’ is an ambiguous type variable • In the first argument of ‘Dependent’, namely ‘_’ diff --git a/testsuite/tests/patsyn/should_compile/T11213.stderr b/testsuite/tests/patsyn/should_compile/T11213.stderr index 8d65044ec669..6ceac7628003 100644 --- a/testsuite/tests/patsyn/should_compile/T11213.stderr +++ b/testsuite/tests/patsyn/should_compile/T11213.stderr @@ -1,50 +1,50 @@ -T11213.hs:19:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:19:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern P :: Bool -T11213.hs:20:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:20:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Pe :: () => forall {a}. a -> Ex -T11213.hs:21:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:21:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Pu :: forall {p}. p -> p -T11213.hs:22:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:22:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Pue :: forall {a}. () => forall {a1}. a -> a1 -> (a, Ex) -T11213.hs:23:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:23:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Pur :: forall {a}. (Eq a, Num a) => a -> [a] -T11213.hs:24:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:24:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Purp :: forall {a1} {a2}. (Eq a1, Num a1) => Show a2 => a1 -> a2 -> ([a1], UnivProv a2) -T11213.hs:25:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:25:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Pure :: forall {a}. (Eq a, Num a) => forall {a1}. a -> a1 -> ([a], Ex) -T11213.hs:26:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:26:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Purep :: forall {a}. (Eq a, Num a) => forall {a1}. Show a1 => a -> a1 -> ([a], ExProv) -T11213.hs:27:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:27:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Pep :: () => forall {a}. Show a => a -> ExProv -T11213.hs:28:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:28:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Pup :: forall {a}. () => Show a => a -> UnivProv a -T11213.hs:29:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11213.hs:29:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern Puep :: forall {b}. () => diff --git a/testsuite/tests/patsyn/should_compile/T11283.stderr b/testsuite/tests/patsyn/should_compile/T11283.stderr index 5339bd699a0e..c4a555f10365 100644 --- a/testsuite/tests/patsyn/should_compile/T11283.stderr +++ b/testsuite/tests/patsyn/should_compile/T11283.stderr @@ -1,5 +1,5 @@ -T11283.hs:6:5: warning: [-Wmissing-fields (in -Wdefault)] +T11283.hs:6:5: warning: [GHC-20125] [-Wmissing-fields (in -Wdefault)] • Fields of ‘S’ not initialised: x :: Bool • In the expression: S {..} diff --git a/testsuite/tests/patsyn/should_compile/T11959.stderr b/testsuite/tests/patsyn/should_compile/T11959.stderr index 4645f3364159..d792e3c82802 100644 --- a/testsuite/tests/patsyn/should_compile/T11959.stderr +++ b/testsuite/tests/patsyn/should_compile/T11959.stderr @@ -1,3 +1,3 @@ -T11959Lib.hs:2:35: warning: [-Wduplicate-exports (in -Wdefault)] +T11959Lib.hs:2:35: warning: [GHC-47854] [-Wduplicate-exports (in -Wdefault)] ‘:>’ is exported by ‘pattern (:>)’ and ‘Vec2(Nil, (:>))’ diff --git a/testsuite/tests/patsyn/should_compile/T12484.stderr b/testsuite/tests/patsyn/should_compile/T12484.stderr index 6e7361251836..5635e8308162 100644 --- a/testsuite/tests/patsyn/should_compile/T12484.stderr +++ b/testsuite/tests/patsyn/should_compile/T12484.stderr @@ -1,4 +1,4 @@ -T12484.hs:6:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T12484.hs:6:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern RP :: forall {a}. a -> (a, Bool) diff --git a/testsuite/tests/patsyn/should_compile/T13441b.stderr b/testsuite/tests/patsyn/should_compile/T13441b.stderr index 4469086c82c8..d8a107809d2d 100644 --- a/testsuite/tests/patsyn/should_compile/T13441b.stderr +++ b/testsuite/tests/patsyn/should_compile/T13441b.stderr @@ -1,8 +1,9 @@ -T13441b.hs:12:19: error: +T13441b.hs:12:19: error: [GHC-25897] • Couldn't match expected type ‘[a0]’ with actual type ‘x’ ‘x’ is a rigid type variable bound by - the signature for pattern synonym ‘P’ at T13441b.hs:12:1-19 + the signature for pattern synonym ‘P’ + at T13441b.hs:12:1-19 • In the first argument of ‘MkS’, namely ‘x’ In the expression: MkS x In an equation for ‘P’: P x = MkS x diff --git a/testsuite/tests/patsyn/should_fail/T10426.stderr b/testsuite/tests/patsyn/should_fail/T10426.stderr index 263f92767928..e7f535ec3171 100644 --- a/testsuite/tests/patsyn/should_fail/T10426.stderr +++ b/testsuite/tests/patsyn/should_fail/T10426.stderr @@ -1,4 +1,4 @@ -T10426.hs:3:9: error: +T10426.hs:3:9: error: [GHC-13248] pattern synonym 'where' clause cannot be empty In the pattern synonym declaration for: Id diff --git a/testsuite/tests/patsyn/should_fail/T10873.stderr b/testsuite/tests/patsyn/should_fail/T10873.stderr index af151bbde7c7..45e0e01d4eb6 100644 --- a/testsuite/tests/patsyn/should_fail/T10873.stderr +++ b/testsuite/tests/patsyn/should_fail/T10873.stderr @@ -1,5 +1,5 @@ -T10873.hs:6:24: error: +T10873.hs:6:24: error: [GHC-39999] • No instance for ‘Show a’ arising from the "provided" constraints claimed by the signature of ‘Pat1’ @@ -8,7 +8,7 @@ T10873.hs:6:24: error: does not provide the constraint (Show a) • In the declaration for pattern synonym ‘Pat1’ -T10873.hs:10:23: error: +T10873.hs:10:23: error: [GHC-39999] • Could not deduce ‘Show a’ arising from the "provided" constraints claimed by the signature of ‘Pat2’ diff --git a/testsuite/tests/patsyn/should_fail/T11010.stderr b/testsuite/tests/patsyn/should_fail/T11010.stderr index af081b6a3650..e1da70f7746d 100644 --- a/testsuite/tests/patsyn/should_fail/T11010.stderr +++ b/testsuite/tests/patsyn/should_fail/T11010.stderr @@ -1,5 +1,5 @@ -T11010.hs:9:34: error: +T11010.hs:9:34: error: [GHC-25897] • Couldn't match type ‘a1’ with ‘Int’ Expected: a -> b Actual: a1 -> b diff --git a/testsuite/tests/patsyn/should_fail/T11039.stderr b/testsuite/tests/patsyn/should_fail/T11039.stderr index aa20358e1028..77527a147ef9 100644 --- a/testsuite/tests/patsyn/should_fail/T11039.stderr +++ b/testsuite/tests/patsyn/should_fail/T11039.stderr @@ -1,5 +1,5 @@ -T11039.hs:8:15: error: +T11039.hs:8:15: error: [GHC-25897] • Couldn't match type ‘f’ with ‘A’ Expected: f a Actual: A a diff --git a/testsuite/tests/patsyn/should_fail/T11053.stderr b/testsuite/tests/patsyn/should_fail/T11053.stderr index 7aaf7ff26c14..89983c85bd9a 100644 --- a/testsuite/tests/patsyn/should_fail/T11053.stderr +++ b/testsuite/tests/patsyn/should_fail/T11053.stderr @@ -1,19 +1,19 @@ -T11053.hs:7:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11053.hs:7:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern T :: Bool -T11053.hs:9:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11053.hs:9:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern J :: forall {a}. a -> Maybe a -T11053.hs:11:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11053.hs:11:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern J1 :: forall {a}. a -> Maybe a -T11053.hs:13:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11053.hs:13:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern J2 :: forall {a}. a -> Maybe a -T11053.hs:15:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T11053.hs:15:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern J3 :: forall {a}. a -> Maybe a diff --git a/testsuite/tests/patsyn/should_fail/T11265.stderr b/testsuite/tests/patsyn/should_fail/T11265.stderr index 7161c272b1b9..75d5a2be779d 100644 --- a/testsuite/tests/patsyn/should_fail/T11265.stderr +++ b/testsuite/tests/patsyn/should_fail/T11265.stderr @@ -1,5 +1,5 @@ -T11265.hs:6:12: error: +T11265.hs:6:12: error: [GHC-88634] • Pattern synonym ‘A’ cannot be used here (pattern synonyms cannot be promoted) • In the first argument of ‘F’, namely ‘A’ diff --git a/testsuite/tests/patsyn/should_fail/T11667.stderr b/testsuite/tests/patsyn/should_fail/T11667.stderr index d10c1594ce8d..e783d90e88da 100644 --- a/testsuite/tests/patsyn/should_fail/T11667.stderr +++ b/testsuite/tests/patsyn/should_fail/T11667.stderr @@ -1,5 +1,5 @@ -T11667.hs:12:22: error: +T11667.hs:12:22: error: [GHC-39999] • Could not deduce ‘Num a’ arising from the literal ‘42’ from the context: Eq a bound by the signature for pattern synonym ‘Pat1’ @@ -11,7 +11,7 @@ T11667.hs:12:22: error: In the pattern: Just 42 In the declaration for pattern synonym ‘Pat1’ -T11667.hs:18:28: error: +T11667.hs:18:28: error: [GHC-25897] • Couldn't match type ‘b’ with ‘Bool’ arising from the "provided" constraints claimed by the signature of ‘Pat2’ @@ -21,7 +21,7 @@ T11667.hs:18:28: error: • In the declaration for pattern synonym ‘Pat2’ • Relevant bindings include y :: b (bound at T11667.hs:18:21) -T11667.hs:24:24: error: +T11667.hs:24:24: error: [GHC-39999] • No instance for ‘Show a’ arising from the "provided" constraints claimed by the signature of ‘Pat3’ @@ -30,7 +30,7 @@ T11667.hs:24:24: error: does not provide the constraint (Show a) • In the declaration for pattern synonym ‘Pat3’ -T11667.hs:31:16: error: +T11667.hs:31:16: error: [GHC-39999] • Could not deduce ‘Num a’ arising from a use of ‘MkS’ from the context: (Eq a, Show a) bound by the signature for pattern synonym ‘Pat4’ diff --git a/testsuite/tests/patsyn/should_fail/T13470.stderr b/testsuite/tests/patsyn/should_fail/T13470.stderr index 87bd4884dc64..5f3c76cc4259 100644 --- a/testsuite/tests/patsyn/should_fail/T13470.stderr +++ b/testsuite/tests/patsyn/should_fail/T13470.stderr @@ -1,8 +1,8 @@ -T13470.hs:7:21: error: Not in scope: ‘not’ +T13470.hs:7:21: error: [GHC-76037] Not in scope: ‘not’ -T13470.hs:11:11: error: Not in scope: ‘nan’ +T13470.hs:11:11: error: [GHC-76037] Not in scope: ‘nan’ -T13470.hs:16:12: error: +T13470.hs:16:12: error: [GHC-76037] Not in scope: ‘x12345’ Suggested fix: Perhaps use ‘x123456’ (line 16) diff --git a/testsuite/tests/patsyn/should_fail/T15289.stderr b/testsuite/tests/patsyn/should_fail/T15289.stderr index 64cc153ff847..7c40deaf40e2 100644 --- a/testsuite/tests/patsyn/should_fail/T15289.stderr +++ b/testsuite/tests/patsyn/should_fail/T15289.stderr @@ -1,5 +1,5 @@ -T15289.hs:5:24: error: +T15289.hs:5:24: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type ‘Maybe’ diff --git a/testsuite/tests/patsyn/should_fail/T15685.stderr b/testsuite/tests/patsyn/should_fail/T15685.stderr index 281e976549b3..fa3d12a5493d 100644 --- a/testsuite/tests/patsyn/should_fail/T15685.stderr +++ b/testsuite/tests/patsyn/should_fail/T15685.stderr @@ -1,5 +1,5 @@ -T15685.hs:13:24: error: +T15685.hs:13:24: error: [GHC-25897] • Could not deduce ‘k ~ [k0]’ from the context: as ~ (a : as1) bound by a pattern with constructor: diff --git a/testsuite/tests/patsyn/should_fail/T15692.stderr b/testsuite/tests/patsyn/should_fail/T15692.stderr index 42de53beec36..d2563f0992f7 100644 --- a/testsuite/tests/patsyn/should_fail/T15692.stderr +++ b/testsuite/tests/patsyn/should_fail/T15692.stderr @@ -1,11 +1,11 @@ -T15692.hs:9:18: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15692.hs:9:18: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘F (f x)’ with actual type ‘Bool’ • In the pattern: False In the pattern: FS False In the declaration for pattern synonym ‘FS'’ -T15692.hs:9:18: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15692.hs:9:18: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘F (f0 x)’ with actual type ‘Bool’ • In the first argument of ‘FS’, namely ‘False’ In the expression: FS False diff --git a/testsuite/tests/patsyn/should_fail/T15694.stderr b/testsuite/tests/patsyn/should_fail/T15694.stderr index e3827b28c1b6..b6d88aee7d00 100644 --- a/testsuite/tests/patsyn/should_fail/T15694.stderr +++ b/testsuite/tests/patsyn/should_fail/T15694.stderr @@ -1,5 +1,5 @@ -T15694.hs:23:35: error: +T15694.hs:23:35: error: [GHC-25897] • Expected kind ‘k1 -> k0’, but ‘f a1’ has kind ‘ks’ ‘ks’ is a rigid type variable bound by the type signature for ‘ASSO’ diff --git a/testsuite/tests/patsyn/should_fail/T15695.stderr b/testsuite/tests/patsyn/should_fail/T15695.stderr index 05b4de5225f4..6753d8bb9c6b 100644 --- a/testsuite/tests/patsyn/should_fail/T15695.stderr +++ b/testsuite/tests/patsyn/should_fail/T15695.stderr @@ -1,5 +1,5 @@ -T15695.hs:40:14: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15695.hs:40:14: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Could not deduce ‘a2 ~ NA 'VO’ from the context: ((* -> * -> *) ~ (k -> k1 -> *), Either ~~ f, ctx ~~ (a2 ':&: (a3 ':&: 'E)), f a2 ~~ f1, f1 a3 ~~ a4) @@ -33,7 +33,7 @@ T15695.hs:40:14: warning: [-Wdeferred-type-errors (in -Wdefault)] from' :: ApplyT (* -> * -> *) Either ctx -> NS (NP NA) '[ '[ 'VO]] (bound at T15695.hs:40:1) -T15695.hs:41:33: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15695.hs:41:33: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type: a0 : as0 with: '[] Expected: NS (NP NA) '[] diff --git a/testsuite/tests/patsyn/should_fail/T16900.stderr b/testsuite/tests/patsyn/should_fail/T16900.stderr index 2838c7f8670a..2956905e0ec5 100644 --- a/testsuite/tests/patsyn/should_fail/T16900.stderr +++ b/testsuite/tests/patsyn/should_fail/T16900.stderr @@ -1,5 +1,5 @@ -T16900.hs:4:1: error: +T16900.hs:4:1: error: [GHC-72489] Recursive pattern synonym definition with following bindings: P1 (defined at T16900.hs:4:1-15) P2 (defined at T16900.hs:5:1-15) diff --git a/testsuite/tests/patsyn/should_fail/T18856.stderr b/testsuite/tests/patsyn/should_fail/T18856.stderr index ceee02910291..08a9e57c3dad 100644 --- a/testsuite/tests/patsyn/should_fail/T18856.stderr +++ b/testsuite/tests/patsyn/should_fail/T18856.stderr @@ -1,12 +1,12 @@ -T18856.hs:6:19: error: +T18856.hs:6:19: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Int’ • In the declaration for pattern synonym ‘P’ | 6 | pattern P p q <- (q, p, [(True,False)]) | ^ -T18856.hs:6:22: error: +T18856.hs:6:22: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Bool’ • In the declaration for pattern synonym ‘P’ | diff --git a/testsuite/tests/patsyn/should_fail/T9161-1.stderr b/testsuite/tests/patsyn/should_fail/T9161-1.stderr index 39faffdaa871..764dbb4521a1 100644 --- a/testsuite/tests/patsyn/should_fail/T9161-1.stderr +++ b/testsuite/tests/patsyn/should_fail/T9161-1.stderr @@ -1,5 +1,5 @@ -T9161-1.hs:8:14: error: +T9161-1.hs:8:14: error: [GHC-88634] • Pattern synonym ‘PATTERN’ cannot be used here (pattern synonyms cannot be promoted) • In the type signature: wrongLift :: PATTERN diff --git a/testsuite/tests/patsyn/should_fail/T9161-2.stderr b/testsuite/tests/patsyn/should_fail/T9161-2.stderr index 71f7cbe25732..e2c7e122360f 100644 --- a/testsuite/tests/patsyn/should_fail/T9161-2.stderr +++ b/testsuite/tests/patsyn/should_fail/T9161-2.stderr @@ -1,5 +1,5 @@ -T9161-2.hs:10:20: error: +T9161-2.hs:10:20: error: [GHC-88634] • Pattern synonym ‘PATTERN’ cannot be used here (pattern synonyms cannot be promoted) • In the first argument of ‘Proxy’, namely ‘PATTERN’ diff --git a/testsuite/tests/patsyn/should_fail/UnliftedPSBind.stderr b/testsuite/tests/patsyn/should_fail/UnliftedPSBind.stderr index 7bb123095f45..794c051a8ad7 100644 --- a/testsuite/tests/patsyn/should_fail/UnliftedPSBind.stderr +++ b/testsuite/tests/patsyn/should_fail/UnliftedPSBind.stderr @@ -1,5 +1,5 @@ -UnliftedPSBind.hs:12:9: error: [-Wunbanged-strict-patterns (in -Wextra), -Werror=unbanged-strict-patterns] +UnliftedPSBind.hs:12:9: error: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra), Werror=unbanged-strict-patterns] Pattern bindings containing unlifted types should use an outermost bang pattern: P x = P 4# diff --git a/testsuite/tests/patsyn/should_fail/export-class.stderr b/testsuite/tests/patsyn/should_fail/export-class.stderr index 3f8031fb70d7..1e0dc1ba017f 100644 --- a/testsuite/tests/patsyn/should_fail/export-class.stderr +++ b/testsuite/tests/patsyn/should_fail/export-class.stderr @@ -1,5 +1,5 @@ -export-class.hs:3:13: error: +export-class.hs:3:13: error: [GHC-66775] • Pattern synonyms can be bundled only with datatypes. • In the pattern synonym: P In the export: MyClass(.., P) diff --git a/testsuite/tests/patsyn/should_fail/export-ps-rec-sel.stderr b/testsuite/tests/patsyn/should_fail/export-ps-rec-sel.stderr index 4b3bdd0ea148..cd5a4afae831 100644 --- a/testsuite/tests/patsyn/should_fail/export-ps-rec-sel.stderr +++ b/testsuite/tests/patsyn/should_fail/export-ps-rec-sel.stderr @@ -1,13 +1,12 @@ -export-ps-rec-sel.hs:2:13: error: - Pattern synonyms can only be bundled with matching type constructors - Couldn't match expected type of ‘R’ with actual type of ‘Q’ - In the pattern synonym record selector: x - In the export: R(P, x) - -export-ps-rec-sel.hs:2:13: error: - Pattern synonyms can only be bundled with matching type constructors - Couldn't match expected type of ‘R’ with actual type of ‘Q’ - In the pattern synonym: P - In the export: R(P, x) +export-ps-rec-sel.hs:2:13: error: [GHC-66025] + • Pattern synonyms can only be bundled with matching type constructors + Couldn't match expected type of ‘R’ with actual type of ‘Q’ + • In the pattern synonym record selector: x + In the export: R(P, x) +export-ps-rec-sel.hs:2:13: error: [GHC-66025] + • Pattern synonyms can only be bundled with matching type constructors + Couldn't match expected type of ‘R’ with actual type of ‘Q’ + • In the pattern synonym: P + In the export: R(P, x) diff --git a/testsuite/tests/patsyn/should_fail/export-syntax.stderr b/testsuite/tests/patsyn/should_fail/export-syntax.stderr index 35858bce0d8a..92a538ea081c 100644 --- a/testsuite/tests/patsyn/should_fail/export-syntax.stderr +++ b/testsuite/tests/patsyn/should_fail/export-syntax.stderr @@ -1,4 +1,4 @@ -export-syntax.hs:1:12: error: +export-syntax.hs:1:12: error: [GHC-89515] Illegal export form Suggested fix: Perhaps you intended to use PatternSynonyms diff --git a/testsuite/tests/patsyn/should_fail/export-type-synonym.stderr b/testsuite/tests/patsyn/should_fail/export-type-synonym.stderr index d136d6e1c381..53e50b62d059 100644 --- a/testsuite/tests/patsyn/should_fail/export-type-synonym.stderr +++ b/testsuite/tests/patsyn/should_fail/export-type-synonym.stderr @@ -1,6 +1,6 @@ -export-type-synonym.hs:3:14: error: - Pattern synonyms can only be bundled with matching type constructors - Couldn't match expected type of ‘A’ with actual type of ‘C’ - In the pattern synonym: P - In the export: A(P) +export-type-synonym.hs:3:14: error: [GHC-66025] + • Pattern synonyms can only be bundled with matching type constructors + Couldn't match expected type of ‘A’ with actual type of ‘C’ + • In the pattern synonym: P + In the export: A(P) diff --git a/testsuite/tests/patsyn/should_fail/export-type.stderr b/testsuite/tests/patsyn/should_fail/export-type.stderr index 9ad622eefbb0..33f0889ecf44 100644 --- a/testsuite/tests/patsyn/should_fail/export-type.stderr +++ b/testsuite/tests/patsyn/should_fail/export-type.stderr @@ -1,18 +1,18 @@ -export-type.hs:3:16: error: - Pattern synonyms can only be bundled with matching type constructors - Couldn't match expected type of ‘A’ with actual type of ‘B’ - In the pattern synonym: MyB - In the export: A(.., MyB) +export-type.hs:3:16: error: [GHC-66025] + • Pattern synonyms can only be bundled with matching type constructors + Couldn't match expected type of ‘A’ with actual type of ‘B’ + • In the pattern synonym: MyB + In the export: A(.., MyB) -export-type.hs:3:27: error: - Pattern synonyms can only be bundled with matching type constructors - Couldn't match expected type of ‘B’ with actual type of ‘A’ - In the pattern synonym: MyA - In the export: B(MyA) +export-type.hs:3:27: error: [GHC-66025] + • Pattern synonyms can only be bundled with matching type constructors + Couldn't match expected type of ‘B’ with actual type of ‘A’ + • In the pattern synonym: MyA + In the export: B(MyA) -export-type.hs:3:35: error: - Pattern synonyms can only be bundled with matching type constructors - Couldn't match expected type of ‘C a’ with actual type of ‘B’ - In the pattern synonym: MyC - In the export: C(MyC) +export-type.hs:3:35: error: [GHC-66025] + • Pattern synonyms can only be bundled with matching type constructors + Couldn't match expected type of ‘C a’ with actual type of ‘B’ + • In the pattern synonym: MyC + In the export: C(MyC) diff --git a/testsuite/tests/patsyn/should_fail/import-syntax.stderr b/testsuite/tests/patsyn/should_fail/import-syntax.stderr index 5ada7e94aea3..8d85d40ccb92 100644 --- a/testsuite/tests/patsyn/should_fail/import-syntax.stderr +++ b/testsuite/tests/patsyn/should_fail/import-syntax.stderr @@ -1,3 +1,4 @@ -import-syntax.hs:4:22: error: - Illegal import form, this syntax can only be used to bundle pattern synonyms with types in module exports. +import-syntax.hs:4:22: error: [GHC-81284] + Illegal import form, this syntax can only be used to bundle + pattern synonyms with types in module exports. diff --git a/testsuite/tests/patsyn/should_fail/local.stderr b/testsuite/tests/patsyn/should_fail/local.stderr index c57080964045..0c38b181143b 100644 --- a/testsuite/tests/patsyn/should_fail/local.stderr +++ b/testsuite/tests/patsyn/should_fail/local.stderr @@ -1,4 +1,4 @@ -local.hs:7:5: +local.hs:7:5: error: [GHC-82077] Illegal pattern synonym declaration for ‘P’ Pattern synonym declarations are only valid at top level diff --git a/testsuite/tests/patsyn/should_fail/mixed-pat-syn-record-sels.stderr b/testsuite/tests/patsyn/should_fail/mixed-pat-syn-record-sels.stderr index 27dedd03b5f3..934a55a87e69 100644 --- a/testsuite/tests/patsyn/should_fail/mixed-pat-syn-record-sels.stderr +++ b/testsuite/tests/patsyn/should_fail/mixed-pat-syn-record-sels.stderr @@ -1,5 +1,5 @@ -mixed-pat-syn-record-sels.hs:9:9: error: - No constructor has all these fields: ‘a’, ‘b’ - In the expression: x {a = True, b = False} - In an equation for ‘foo’: foo x = x {a = True, b = False} +mixed-pat-syn-record-sels.hs:9:9: error: [GHC-14392] + • No constructor has all these fields: ‘a’, ‘b’ + • In the expression: x {a = True, b = False} + In an equation for ‘foo’: foo x = x {a = True, b = False} diff --git a/testsuite/tests/patsyn/should_fail/mono.stderr b/testsuite/tests/patsyn/should_fail/mono.stderr index 264579f91b5a..1b6a02ab3442 100644 --- a/testsuite/tests/patsyn/should_fail/mono.stderr +++ b/testsuite/tests/patsyn/should_fail/mono.stderr @@ -1,12 +1,12 @@ -mono.hs:7:4: error: +mono.hs:7:4: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: [Bool] Actual: [Int] • In the pattern: Single x In an equation for ‘f’: f (Single x) = x -mono.hs:7:16: error: +mono.hs:7:16: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Int’ • In the expression: x In an equation for ‘f’: f (Single x) = x diff --git a/testsuite/tests/patsyn/should_fail/records-check-sels.stderr b/testsuite/tests/patsyn/should_fail/records-check-sels.stderr index 22601c650195..e78434a5c2ff 100644 --- a/testsuite/tests/patsyn/should_fail/records-check-sels.stderr +++ b/testsuite/tests/patsyn/should_fail/records-check-sels.stderr @@ -1,3 +1,3 @@ -records-check-sels.hs:10:7: error: +records-check-sels.hs:10:7: error: [GHC-88464] Variable not in scope: a :: Maybe Bool -> t diff --git a/testsuite/tests/patsyn/should_fail/records-exquant.stderr b/testsuite/tests/patsyn/should_fail/records-exquant.stderr index 2f3a0f508b12..12c321f8da5b 100644 --- a/testsuite/tests/patsyn/should_fail/records-exquant.stderr +++ b/testsuite/tests/patsyn/should_fail/records-exquant.stderr @@ -1,5 +1,5 @@ -records-exquant.hs:8:7: error: +records-exquant.hs:8:7: error: [GHC-55876] • Cannot use record selector ‘a’ as a function due to escaped type variables • In the expression: a (Showable True) In an equation for ‘qux’: qux = a (Showable True) diff --git a/testsuite/tests/patsyn/should_fail/records-mixing-fields.stderr b/testsuite/tests/patsyn/should_fail/records-mixing-fields.stderr index 866d1468cde1..77901b9eeedb 100644 --- a/testsuite/tests/patsyn/should_fail/records-mixing-fields.stderr +++ b/testsuite/tests/patsyn/should_fail/records-mixing-fields.stderr @@ -1,12 +1,12 @@ -records-mixing-fields.hs:10:14: error: +records-mixing-fields.hs:10:14: error: [GHC-40887] • Cannot use a mixture of pattern synonym and record selectors Record selectors defined by ‘MyRec’: qux Pattern synonym selectors defined by ‘HisRec’: f1 • In the expression: a {f1 = 1, qux = "two"} In an equation for ‘updater1’: updater1 a = a {f1 = 1, qux = "two"} -records-mixing-fields.hs:12:14: error: +records-mixing-fields.hs:12:14: error: [GHC-40887] • Cannot use a mixture of pattern synonym and record selectors Record selectors defined by ‘MyRec’: foo Pattern synonym selectors defined by ‘HisRec’: f1 diff --git a/testsuite/tests/patsyn/should_fail/records-no-uni-update.stderr b/testsuite/tests/patsyn/should_fail/records-no-uni-update.stderr index c7e60f108510..1f08e480d445 100644 --- a/testsuite/tests/patsyn/should_fail/records-no-uni-update.stderr +++ b/testsuite/tests/patsyn/should_fail/records-no-uni-update.stderr @@ -1,5 +1,5 @@ -records-no-uni-update.hs:7:7: error: +records-no-uni-update.hs:7:7: error: [GHC-16444] • non-bidirectional pattern synonym ‘Uni’ used in an expression • In a record update at field ‘a’ and with pattern synonym ‘Uni’. diff --git a/testsuite/tests/patsyn/should_fail/records-no-uni-update2.stderr b/testsuite/tests/patsyn/should_fail/records-no-uni-update2.stderr index b30a23633186..ce4e9cc195d1 100644 --- a/testsuite/tests/patsyn/should_fail/records-no-uni-update2.stderr +++ b/testsuite/tests/patsyn/should_fail/records-no-uni-update2.stderr @@ -1,5 +1,5 @@ -records-no-uni-update2.hs:11:7: error: - non-bidirectional pattern synonym ‘Uni’ used in an expression - In the expression: Uni {a = "b"} - In an equation for ‘foo’: foo = Uni {a = "b"} +records-no-uni-update2.hs:11:7: error: [GHC-16444] + • non-bidirectional pattern synonym ‘Uni’ used in an expression + • In the expression: Uni {a = "b"} + In an equation for ‘foo’: foo = Uni {a = "b"} diff --git a/testsuite/tests/patsyn/should_fail/records-nofieldselectors.stderr b/testsuite/tests/patsyn/should_fail/records-nofieldselectors.stderr index 5b24406cbfc1..12765bddf728 100644 --- a/testsuite/tests/patsyn/should_fail/records-nofieldselectors.stderr +++ b/testsuite/tests/patsyn/should_fail/records-nofieldselectors.stderr @@ -1,5 +1,5 @@ -records-nofieldselectors.hs:9:12: error: +records-nofieldselectors.hs:9:12: error: [GHC-88464] Variable not in scope: x :: [a0] -> Int Suggested fix: Notice that ‘x’ is a field selector diff --git a/testsuite/tests/patsyn/should_fail/unboxed-bind.stderr b/testsuite/tests/patsyn/should_fail/unboxed-bind.stderr index e0f460690956..745c49f24db7 100644 --- a/testsuite/tests/patsyn/should_fail/unboxed-bind.stderr +++ b/testsuite/tests/patsyn/should_fail/unboxed-bind.stderr @@ -1,5 +1,5 @@ -unboxed-bind.hs:11:11: error: [-Wunbanged-strict-patterns (in -Wextra), -Werror=unbanged-strict-patterns] +unboxed-bind.hs:11:11: error: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra), Werror=unbanged-strict-patterns] Pattern bindings containing unlifted types should use an outermost bang pattern: P arg = x diff --git a/testsuite/tests/patsyn/should_fail/unboxed-wrapper-naked.stderr b/testsuite/tests/patsyn/should_fail/unboxed-wrapper-naked.stderr index e8d89500a8b6..bb41ac1299fd 100644 --- a/testsuite/tests/patsyn/should_fail/unboxed-wrapper-naked.stderr +++ b/testsuite/tests/patsyn/should_fail/unboxed-wrapper-naked.stderr @@ -1,3 +1,3 @@ -unboxed-wrapper-naked.hs:8:1: +unboxed-wrapper-naked.hs:8:1: error: [GHC-48099] Top-level bindings for unlifted types aren't allowed: x = P1 diff --git a/testsuite/tests/perf/compiler/T10547.stderr b/testsuite/tests/perf/compiler/T10547.stderr index bd07bc120e29..be6d08c7d0a8 100644 --- a/testsuite/tests/perf/compiler/T10547.stderr +++ b/testsuite/tests/perf/compiler/T10547.stderr @@ -1,5 +1,5 @@ -T10547.hs:35:25: error: +T10547.hs:35:25: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Char’ Expected: (T12, Char) Actual: (S12, Bool) diff --git a/testsuite/tests/perf/compiler/T13035.stderr b/testsuite/tests/perf/compiler/T13035.stderr index 50ee3a64aad1..1047391d9dfb 100644 --- a/testsuite/tests/perf/compiler/T13035.stderr +++ b/testsuite/tests/perf/compiler/T13035.stderr @@ -1,5 +1,5 @@ -T13035.hs:144:28: warning: [-Wpartial-type-signatures (in -Wdefault)] +T13035.hs:144:28: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘'[ 'Author] :: [Fields]’ • In the second argument of ‘MyRec’, namely ‘_’ In the type ‘MyRec RecipeFormatter _’ diff --git a/testsuite/tests/perf/compiler/T16875.stderr b/testsuite/tests/perf/compiler/T16875.stderr index 95c54362c3af..051819462334 100644 --- a/testsuite/tests/perf/compiler/T16875.stderr +++ b/testsuite/tests/perf/compiler/T16875.stderr @@ -1,5 +1,5 @@ -T16875.hs:13:5: warning: [-Wtyped-holes (in -Wdefault)] +T16875.hs:13:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: p Where: ‘p’ is a rigid type variable bound by the inferred type of a :: p diff --git a/testsuite/tests/perf/compiler/T9872a.stderr b/testsuite/tests/perf/compiler/T9872a.stderr index 636f6b22d855..b61dca2728eb 100644 --- a/testsuite/tests/perf/compiler/T9872a.stderr +++ b/testsuite/tests/perf/compiler/T9872a.stderr @@ -1,5 +1,5 @@ -T9872a.hs:17:8: error: +T9872a.hs:17:8: error: [GHC-39999] • No instance for ‘Show (Proxy (Cons diff --git a/testsuite/tests/perf/compiler/T9872b.stderr b/testsuite/tests/perf/compiler/T9872b.stderr index 308809568ae7..ec6549917e54 100644 --- a/testsuite/tests/perf/compiler/T9872b.stderr +++ b/testsuite/tests/perf/compiler/T9872b.stderr @@ -1,5 +1,5 @@ -T9872b.hs:19:8: error: +T9872b.hs:19:8: error: [GHC-39999] • No instance for ‘Show (Proxy '[ '[ 'Cube 'G 'B 'W 'R 'B 'G, 'Cube 'W 'G 'B 'W 'R 'R, diff --git a/testsuite/tests/perf/compiler/T9872b_defer.stderr b/testsuite/tests/perf/compiler/T9872b_defer.stderr index 2dd3ba6dfda8..e9dda29c315e 100644 --- a/testsuite/tests/perf/compiler/T9872b_defer.stderr +++ b/testsuite/tests/perf/compiler/T9872b_defer.stderr @@ -1,5 +1,5 @@ -T9872b_defer.hs:19:8: warning: [-Wdeferred-type-errors (in -Wdefault)] +T9872b_defer.hs:19:8: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • No instance for ‘Show (Proxy '[ '[ 'Cube 'G 'B 'W 'R 'B 'G, 'Cube 'W 'G 'B 'W 'R 'R, diff --git a/testsuite/tests/perf/compiler/T9872c.stderr b/testsuite/tests/perf/compiler/T9872c.stderr index da4f655794b7..be91bcaa820b 100644 --- a/testsuite/tests/perf/compiler/T9872c.stderr +++ b/testsuite/tests/perf/compiler/T9872c.stderr @@ -1,5 +1,5 @@ -T9872c.hs:18:8: error: +T9872c.hs:18:8: error: [GHC-39999] • No instance for ‘Show (Proxy (Cons diff --git a/testsuite/tests/perf/compiler/hard_hole_fits.stderr b/testsuite/tests/perf/compiler/hard_hole_fits.stderr index a81e8362c3bb..9565092d297f 100644 --- a/testsuite/tests/perf/compiler/hard_hole_fits.stderr +++ b/testsuite/tests/perf/compiler/hard_hole_fits.stderr @@ -1,5 +1,5 @@ -hard_hole_fits.hs:14:22: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:14:22: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsVar a b) = _ • Relevant bindings include @@ -18,7 +18,7 @@ hard_hole_fits.hs:14:22: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:15:32: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:15:32: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsUnboundVar xuv uv) = _ • Relevant bindings include @@ -37,7 +37,7 @@ hard_hole_fits.hs:15:32: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:16:33: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:16:33: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsOverLabel xol m_ip) = _ • Relevant bindings include @@ -56,7 +56,7 @@ hard_hole_fits.hs:16:33: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:17:27: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:17:27: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsIPVar xv hin) = _ • Relevant bindings include @@ -75,7 +75,7 @@ hard_hole_fits.hs:17:27: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:18:31: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:18:31: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsOverLit xole hol) = _ • Relevant bindings include @@ -94,7 +94,7 @@ hard_hole_fits.hs:18:31: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:19:25: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:19:25: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsLit xle hl) = _ • Relevant bindings include @@ -113,7 +113,7 @@ hard_hole_fits.hs:19:25: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:20:24: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:20:24: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsLam xl mg) = _ • Relevant bindings include @@ -132,7 +132,7 @@ hard_hole_fits.hs:20:24: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:21:40: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:21:40: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsLamCase xlc lc_variant mg) = _ @@ -153,7 +153,7 @@ hard_hole_fits.hs:21:40: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:22:28: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:22:28: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsApp xa gl gl') = _ • Relevant bindings include @@ -172,7 +172,7 @@ hard_hole_fits.hs:22:28: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:23:38: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:23:38: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsAppType xate gl at hwcb) = _ @@ -196,7 +196,7 @@ hard_hole_fits.hs:23:38: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:24:33: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:24:33: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (OpApp xoa gl gl' gl2) = _ • Relevant bindings include @@ -216,7 +216,7 @@ hard_hole_fits.hs:24:33: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:25:29: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:25:29: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (NegApp xna gl se) = _ • Relevant bindings include @@ -235,7 +235,7 @@ hard_hole_fits.hs:25:29: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:26:30: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:26:30: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsPar xp gl ab ac) = _ • Relevant bindings include @@ -257,7 +257,7 @@ hard_hole_fits.hs:26:30: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:27:32: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:27:32: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (SectionL xsl gl gl') = _ • Relevant bindings include @@ -276,7 +276,7 @@ hard_hole_fits.hs:27:32: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:28:32: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:28:32: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (SectionR xsr gl gl') = _ • Relevant bindings include @@ -295,7 +295,7 @@ hard_hole_fits.hs:28:32: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:29:38: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:29:38: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (ExplicitTuple xet gls box) = _ @@ -316,7 +316,7 @@ hard_hole_fits.hs:29:38: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:30:35: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:30:35: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (ExplicitSum xes n i gl) = _ • Relevant bindings include @@ -342,7 +342,7 @@ hard_hole_fits.hs:30:35: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:31:28: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:31:28: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsCase xc gl mg) = _ • Relevant bindings include @@ -362,7 +362,7 @@ hard_hole_fits.hs:31:28: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:32:33: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:32:33: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsIf xi m_se gl gl') = _ • Relevant bindings include @@ -382,7 +382,7 @@ hard_hole_fits.hs:32:33: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:33:30: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:33:30: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsMultiIf xmi gls) = _ • Relevant bindings include @@ -401,7 +401,7 @@ hard_hole_fits.hs:33:30: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:34:39: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:34:39: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsLet xl tkLet gl tkIn gl') = _ @@ -426,7 +426,7 @@ hard_hole_fits.hs:34:39: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:35:27: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:35:27: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsDo xd hsc gl) = _ • Relevant bindings include @@ -447,7 +447,7 @@ hard_hole_fits.hs:35:27: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:36:34: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:36:34: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (ExplicitList xel m_se) = _ • Relevant bindings include @@ -465,7 +465,7 @@ hard_hole_fits.hs:36:34: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:37:33: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:37:33: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (RecordCon xrc gl hrf) = _ • Relevant bindings include @@ -486,7 +486,7 @@ hard_hole_fits.hs:37:33: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:38:33: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:38:33: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (RecordUpd xru gl gls) = _ • Relevant bindings include @@ -508,7 +508,7 @@ hard_hole_fits.hs:38:33: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:39:40: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:39:40: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (ExprWithTySig xewts gl hwcb) = _ @@ -530,7 +530,7 @@ hard_hole_fits.hs:39:40: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:40:34: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:40:34: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (ArithSeq xas m_se asi) = _ • Relevant bindings include @@ -549,7 +549,7 @@ hard_hole_fits.hs:40:34: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:41:33: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:41:33: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsTypedBracket xb hb) = _ • Relevant bindings include @@ -567,7 +567,7 @@ hard_hole_fits.hs:41:33: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:42:35: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:42:35: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsUntypedBracket xb hb) = _ • Relevant bindings include @@ -585,7 +585,7 @@ hard_hole_fits.hs:42:35: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:43:32: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:43:32: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsTypedSplice xs hs) = _ • Relevant bindings include @@ -603,7 +603,7 @@ hard_hole_fits.hs:43:32: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:44:34: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:44:34: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsUntypedSplice xs hs) = _ • Relevant bindings include @@ -621,7 +621,7 @@ hard_hole_fits.hs:44:34: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:45:29: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:45:29: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsProc xp pat gl) = _ • Relevant bindings include @@ -641,7 +641,7 @@ hard_hole_fits.hs:45:29: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:46:27: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:46:27: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (HsStatic xs gl) = _ • Relevant bindings include @@ -659,11 +659,11 @@ hard_hole_fits.hs:46:27: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at hard_hole_fits.hs:8:8-20 (and originally defined in ‘GHC.Enum’)) -hard_hole_fits.hs:47:1: warning: [-Woverlapping-patterns (in -Wdefault)] +hard_hole_fits.hs:47:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘testMe’: testMe (XExpr xe) = ... -hard_hole_fits.hs:47:21: warning: [-Wtyped-holes (in -Wdefault)] +hard_hole_fits.hs:47:21: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In an equation for ‘testMe’: testMe (XExpr xe) = _ • Relevant bindings include diff --git a/testsuite/tests/plugins/T19926.stderr b/testsuite/tests/plugins/T19926.stderr index e943a7ffba9b..e454ba454380 100644 --- a/testsuite/tests/plugins/T19926.stderr +++ b/testsuite/tests/plugins/T19926.stderr @@ -2,4 +2,5 @@ T19926.hs:3:17: warning: [-Wunsafe] ‘T19926’ has been inferred as unsafe! Reason: - <no location info>: warning: Use of plugins makes the module unsafe + <no location info>: warning: [GHC-01687] + Use of plugins makes the module unsafe diff --git a/testsuite/tests/plugins/T20803b.stderr b/testsuite/tests/plugins/T20803b.stderr index 3bb08f775696..1fdd7b5dd6ae 100644 --- a/testsuite/tests/plugins/T20803b.stderr +++ b/testsuite/tests/plugins/T20803b.stderr @@ -1,3 +1,4 @@ parsePlugin -<no location info>: A lambda requires at least one parameter +<no location info>: error: [GHC-71614] + A lambda requires at least one parameter diff --git a/testsuite/tests/plugins/test-defaulting-plugin-fail.stderr b/testsuite/tests/plugins/test-defaulting-plugin-fail.stderr index c9843437b437..7e5fa3478b09 100644 --- a/testsuite/tests/plugins/test-defaulting-plugin-fail.stderr +++ b/testsuite/tests/plugins/test-defaulting-plugin-fail.stderr @@ -1,4 +1,5 @@ -test-defaulting-plugin-fail.hs:25:19: + +test-defaulting-plugin-fail.hs:25:19: [GHC-64725] Cannot satisfy: 5 <= a0 In the second argument of ‘(+)’, namely ‘e’ In the second argument of ‘($)’, namely ‘q + w + e’ diff --git a/testsuite/tests/plugins/test-defaulting-plugin.stderr b/testsuite/tests/plugins/test-defaulting-plugin.stderr index 5108d5c8055d..c50aaa1aa3ad 100644 --- a/testsuite/tests/plugins/test-defaulting-plugin.stderr +++ b/testsuite/tests/plugins/test-defaulting-plugin.stderr @@ -1,12 +1,12 @@ -test-defaulting-plugin.hs:28:11: warning: [-Wtype-defaults (in -Wall)] +test-defaulting-plugin.hs:28:11: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] Defaulting the type variable ‘a0’ to type ‘0’ in the following constraint KnownNat a0 arising from a use of ‘q’ In the first argument of ‘(+)’, namely ‘q’ In the second argument of ‘($)’, namely ‘q + w’ In a stmt of a 'do' block: print $ q + w -test-defaulting-plugin.hs:28:15: warning: [-Wtype-defaults (in -Wall)] +test-defaulting-plugin.hs:28:15: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] Defaulting the type variable ‘a0’ to type ‘2’ in the following constraints (KnownNat a0) arising from a use of ‘w’ at test-defaulting-plugin.hs:28:15 @@ -18,7 +18,7 @@ test-defaulting-plugin.hs:28:15: warning: [-Wtype-defaults (in -Wall)] In the second argument of ‘($)’, namely ‘q + w’ In a stmt of a 'do' block: print $ q + w -test-defaulting-plugin.hs:29:11: warning: [-Wtype-defaults (in -Wall)] +test-defaulting-plugin.hs:29:11: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] Defaulting the type variable ‘b0’ to type ‘0’ in the following constraint KnownNat b0 arising from a use of ‘mc’ In the second argument of ‘($)’, namely ‘mc Proxy Proxy’ @@ -27,7 +27,7 @@ test-defaulting-plugin.hs:29:11: warning: [-Wtype-defaults (in -Wall)] do print $ q + w print $ mc Proxy Proxy -test-defaulting-plugin.hs:29:11: warning: [-Wtype-defaults (in -Wall)] +test-defaulting-plugin.hs:29:11: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] Defaulting the type variable ‘a0’ to type ‘0’ in the following constraint KnownNat a0 arising from a use of ‘mc’ In the second argument of ‘($)’, namely ‘mc Proxy Proxy’ diff --git a/testsuite/tests/plugins/test-hole-plugin.stderr b/testsuite/tests/plugins/test-hole-plugin.stderr index 9e9b01b72691..89230a57bd93 100644 --- a/testsuite/tests/plugins/test-hole-plugin.stderr +++ b/testsuite/tests/plugins/test-hole-plugin.stderr @@ -1,5 +1,5 @@ -test-hole-plugin.hs:12:5: warning: [-Wtyped-holes (in -Wdefault)] +test-hole-plugin.hs:12:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _too_long :: [Int] -> Int Or perhaps ‘_too_long’ is mis-spelled, or not in scope • In an equation for ‘f’: f = _too_long @@ -8,7 +8,7 @@ test-hole-plugin.hs:12:5: warning: [-Wtyped-holes (in -Wdefault)] Valid hole fits include Error: Too many holes were checked, and the search aborted forthis hole. Try again with a higher limit. -test-hole-plugin.hs:13:5: warning: [-Wtyped-holes (in -Wdefault)] +test-hole-plugin.hs:13:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: [Int] -> Int • In an equation for ‘j’: j = _ • Relevant bindings include @@ -22,7 +22,7 @@ test-hole-plugin.hs:13:5: warning: [-Wtyped-holes (in -Wdefault)] head :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a (Some hole fits suppressed; use -fmax-valid-hole-fits=N or -fno-max-valid-hole-fits) -test-hole-plugin.hs:14:5: warning: [-Wtyped-holes (in -Wdefault)] +test-hole-plugin.hs:14:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _sort_by_mod_desc :: [Int] -> Int Or perhaps ‘_sort_by_mod_desc’ is mis-spelled, or not in scope • In an equation for ‘i’: i = _sort_by_mod_desc @@ -37,7 +37,7 @@ test-hole-plugin.hs:14:5: warning: [-Wtyped-holes (in -Wdefault)] last :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a (Some hole fits suppressed; use -fmax-valid-hole-fits=N or -fno-max-valid-hole-fits) -test-hole-plugin.hs:15:5: warning: [-Wtyped-holes (in -Wdefault)] +test-hole-plugin.hs:15:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _only_Data_List :: [Int] -> Int Or perhaps ‘_only_Data_List’ is mis-spelled, or not in scope • In an equation for ‘g’: g = _only_Data_List @@ -47,7 +47,7 @@ test-hole-plugin.hs:15:5: warning: [-Wtyped-holes (in -Wdefault)] head :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a last :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a -test-hole-plugin.hs:16:5: warning: [-Wtyped-holes (in -Wdefault)] +test-hole-plugin.hs:16:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _only_Prelude :: [Int] -> Int Or perhaps ‘_only_Prelude’ is mis-spelled, or not in scope • In an equation for ‘h’: h = _only_Prelude diff --git a/testsuite/tests/pmcheck/complete_sigs/T13363a.stderr b/testsuite/tests/pmcheck/complete_sigs/T13363a.stderr index a91b02806a29..17e1b5aa1ee2 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T13363a.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T13363a.stderr @@ -1,4 +1,4 @@ -T13363a.hs:16:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T13363a.hs:16:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘catchAll’: catchAll _ = ... diff --git a/testsuite/tests/pmcheck/complete_sigs/T13363b.stderr b/testsuite/tests/pmcheck/complete_sigs/T13363b.stderr index 541c084be16f..4a7c9c27fee1 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T13363b.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T13363b.stderr @@ -1,4 +1,4 @@ -T13363b.hs:17:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T13363b.hs:17:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f _ = ... diff --git a/testsuite/tests/pmcheck/complete_sigs/T13964.stderr b/testsuite/tests/pmcheck/complete_sigs/T13964.stderr index 4005321236c9..7999e7495581 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T13964.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T13964.stderr @@ -1,5 +1,5 @@ -T13964.hs:18:1: warning: [-Wincomplete-patterns (in -Wextra)] +T13964.hs:18:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘catchAll’: - Patterns of type ‘Boolean’ not matched: T + Patterns of type ‘Boolean’ not matched: T diff --git a/testsuite/tests/pmcheck/complete_sigs/T13965.stderr b/testsuite/tests/pmcheck/complete_sigs/T13965.stderr index 78aaa9490a56..85b8817f201a 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T13965.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T13965.stderr @@ -1,4 +1,4 @@ -T13965.hs:19:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T13965.hs:19:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘catchAll’: catchAll F = ... diff --git a/testsuite/tests/pmcheck/complete_sigs/T14059a.stderr b/testsuite/tests/pmcheck/complete_sigs/T14059a.stderr index 7004ac362847..a9ca40e09def 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T14059a.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T14059a.stderr @@ -1,10 +1,10 @@ -T14059a.hs:21:1: warning: [-Wincomplete-patterns (in -Wextra)] +T14059a.hs:21:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘wibble’: - Patterns of type ‘SBool z’ not matched: SFalse + Patterns of type ‘SBool z’ not matched: SFalse -T14059a.hs:24:1: warning: [-Wincomplete-patterns (in -Wextra)] +T14059a.hs:24:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘wobble’: - Patterns of type ‘SBool z’ not matched: SFalse + Patterns of type ‘SBool z’ not matched: SFalse diff --git a/testsuite/tests/pmcheck/complete_sigs/T14059b.stderr b/testsuite/tests/pmcheck/complete_sigs/T14059b.stderr index faaa442bc56b..c8b1d1203ad9 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T14059b.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T14059b.stderr @@ -1,10 +1,10 @@ -T14059b.hs:24:1: warning: [-Wincomplete-patterns (in -Wextra)] +T14059b.hs:24:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘wibble’: Patterns of type ‘Sing z’ not matched: SFalse -T14059b.hs:27:1: warning: [-Wincomplete-patterns (in -Wextra)] +T14059b.hs:27:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘wobble’: Patterns of type ‘Sing z’ not matched: SFalse diff --git a/testsuite/tests/pmcheck/complete_sigs/T14422.stderr b/testsuite/tests/pmcheck/complete_sigs/T14422.stderr index 564233a18914..1300ba85ab68 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T14422.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T14422.stderr @@ -1,8 +1,8 @@ -T14422.hs:31:1: warning: [-Wincomplete-patterns (in -Wextra)] +T14422.hs:31:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: Patterns of type ‘f a’ not matched: _ -T14422.hs:44:1: warning: [-Wincomplete-patterns (in -Wextra)] +T14422.hs:44:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘i’: Patterns of type ‘f a’ not matched: _ diff --git a/testsuite/tests/pmcheck/complete_sigs/T17386.stderr b/testsuite/tests/pmcheck/complete_sigs/T17386.stderr index 6c60cf13c013..5421352ff8af 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T17386.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T17386.stderr @@ -1,8 +1,8 @@ -T17386.hs:11:1: warning: [-Wincomplete-patterns (in -Wextra)] +T17386.hs:11:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘f’: Patterns of type ‘B’ not matched: F + In an equation for ‘f’: Patterns of type ‘B’ not matched: F -T17386.hs:18:1: warning: [-Wincomplete-patterns (in -Wextra)] +T17386.hs:18:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘g’: Patterns of type ‘B’ not matched: T + In an equation for ‘g’: Patterns of type ‘B’ not matched: T diff --git a/testsuite/tests/pmcheck/complete_sigs/T18960b.stderr b/testsuite/tests/pmcheck/complete_sigs/T18960b.stderr index 6148f75a0707..f7f1801cae3a 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T18960b.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T18960b.stderr @@ -1,5 +1,5 @@ -T18960b.hs:11:7: warning: [-Wincomplete-patterns (in -Wextra)] +T18960b.hs:11:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘((), String)’ not matched: @@ -9,7 +9,7 @@ T18960b.hs:11:7: warning: [-Wincomplete-patterns (in -Wextra)] P ((), ['h']) ... -T18960b.hs:18:7: warning: [-Wincomplete-patterns (in -Wextra)] +T18960b.hs:18:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘((), String)’ not matched: diff --git a/testsuite/tests/pmcheck/complete_sigs/T19475.stderr b/testsuite/tests/pmcheck/complete_sigs/T19475.stderr index 035f80475aa7..e8c11dd8175b 100644 --- a/testsuite/tests/pmcheck/complete_sigs/T19475.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/T19475.stderr @@ -1,4 +1,4 @@ -T19475.hs:19:1: warning: [-Wincomplete-patterns (in -Wextra)] +T19475.hs:19:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: Patterns of type ‘f a’ not matched: _ diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig01.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig01.stderr index 63cff81b5bd0..69acb0abfd04 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig01.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig01.stderr @@ -1,4 +1,4 @@ -completesig01.hs:20:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig01.hs:20:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘b’: b C = ... diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig02.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig02.stderr index dc24b31e63b3..7e11bd06c26e 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig02.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig02.stderr @@ -1,4 +1,4 @@ -completesig02.hs:10:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig02.hs:10:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘a’: Patterns of type ‘()’ not matched: () + In an equation for ‘a’: Patterns of type ‘()’ not matched: () diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig04.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig04.stderr index e04c57039061..d6cab09190bf 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig04.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig04.stderr @@ -1,12 +1,12 @@ -completesig04.hs:10:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig04.hs:10:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: - Patterns of type ‘T’ not matched: + Patterns of type ‘T’ not matched: B C -completesig04.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig04.hs:12:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: - Patterns of type ‘Maybe a’ not matched: Nothing + Patterns of type ‘Maybe a’ not matched: Nothing diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig06.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig06.stderr index 2d58080949f5..0ef790731501 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig06.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig06.stderr @@ -1,27 +1,27 @@ -completesig06.hs:13:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig06.hs:13:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘m1’: Patterns of type ‘T’ not matched: B -completesig06.hs:16:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig06.hs:16:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘m2’: Patterns of type ‘T’ not matched: A -completesig06.hs:20:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig06.hs:20:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘m3’: Patterns of type ‘T’ not matched: A B -completesig06.hs:23:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig06.hs:23:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘m4’: Patterns of type ‘T’, ‘S’ not matched: A D B D -completesig06.hs:29:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig06.hs:29:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘m5’: Patterns of type ‘T’, ‘S’ not matched: diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig07.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig07.stderr index 1145cb850eec..a1fbe3eba359 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig07.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig07.stderr @@ -1,19 +1,19 @@ -completesig07.hs:14:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig07.hs:14:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m1’: m1 A = ... -completesig07.hs:20:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig07.hs:20:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m2’: m2 A D = ... -completesig07.hs:23:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig07.hs:23:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘m3’: - Patterns of type ‘T’ not matched: + Patterns of type ‘T’ not matched: A B -completesig07.hs:24:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig07.hs:24:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m3’: m3 C = ... diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig08.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig08.stderr index 2c7d6658e744..52a11876acb1 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig08.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig08.stderr @@ -1,20 +1,20 @@ -completesig08.hs:15:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig08.hs:15:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m1’: m1 C = ... -completesig08.hs:20:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig08.hs:20:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m2’: m2 C D = ... -completesig08.hs:25:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig08.hs:25:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m3’: m3 A E = ... -completesig08.hs:26:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig08.hs:26:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m3’: m3 A F = ... -completesig08.hs:30:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig08.hs:30:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m4’: m4 E = ... diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig10.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig10.stderr index dfdd29dec9c7..27daa035085c 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig10.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig10.stderr @@ -1,12 +1,12 @@ -completesig10.hs:15:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig10.hs:15:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m1’: m1 C = ... -completesig10.hs:16:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig10.hs:16:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘m1’: m1 D = ... -completesig10.hs:20:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig10.hs:20:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘m2’: Patterns of type ‘T’ not matched: A + In an equation for ‘m2’: Patterns of type ‘T’ not matched: A diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig11.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig11.stderr index 1f02774757c3..1c19ee59dda7 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig11.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig11.stderr @@ -1,4 +1,4 @@ -completesig11.hs:14:1: warning: [-Wincomplete-patterns (in -Wextra)] +completesig11.hs:14:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘m1’: Patterns of type ‘T’ not matched: B + In an equation for ‘m1’: Patterns of type ‘T’ not matched: B diff --git a/testsuite/tests/pmcheck/complete_sigs/completesig14.stderr b/testsuite/tests/pmcheck/complete_sigs/completesig14.stderr index 06e9da88ce9b..a45b4c226653 100644 --- a/testsuite/tests/pmcheck/complete_sigs/completesig14.stderr +++ b/testsuite/tests/pmcheck/complete_sigs/completesig14.stderr @@ -1,4 +1,4 @@ -completesig14.hs:11:1: warning: [-Woverlapping-patterns (in -Wdefault)] +completesig14.hs:11:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘foo’: foo A = ... diff --git a/testsuite/tests/pmcheck/should_compile/CaseOfKnownCon.stderr b/testsuite/tests/pmcheck/should_compile/CaseOfKnownCon.stderr index 1f0932395685..f045975fec62 100644 --- a/testsuite/tests/pmcheck/should_compile/CaseOfKnownCon.stderr +++ b/testsuite/tests/pmcheck/should_compile/CaseOfKnownCon.stderr @@ -1,4 +1,4 @@ -CaseOfKnownCon.hs:8:3: warning: [-Woverlapping-patterns (in -Wdefault)] +CaseOfKnownCon.hs:8:3: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: (True, True) -> ... diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase001.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase001.stderr index 2ec756449290..8eb4de3e8ce0 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase001.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase001.stderr @@ -1,15 +1,15 @@ -EmptyCase001.hs:9:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase001.hs:9:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Int’ not matched: _ -EmptyCase001.hs:14:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase001.hs:14:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘String’ not matched: [] (_:_) -EmptyCase001.hs:18:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase001.hs:18:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Char’ not matched: _ diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase002.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase002.stderr index aac509d1f131..8c662019a70b 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase002.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase002.stderr @@ -1,23 +1,23 @@ -EmptyCase002.hs:16:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase002.hs:16:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘T’ not matched: MkT _ -EmptyCase002.hs:43:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase002.hs:43:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘T1 B’ not matched: MkT1 B1 MkT1 B2 -EmptyCase002.hs:47:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase002.hs:47:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘T1 (E Int)’ not matched: MkT1 False MkT1 True -EmptyCase002.hs:51:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase002.hs:51:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘T1 diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase003.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase003.stderr index 11c2addfa3b4..cccd0e3ddf4c 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase003.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase003.stderr @@ -1,12 +1,12 @@ -EmptyCase003.hs:15:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase003.hs:15:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In a \case alternative: Patterns of type ‘A a’ not matched: _ + In a \case alternative: Patterns of type ‘A a’ not matched: _ -EmptyCase003.hs:32:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase003.hs:32:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In a \case alternative: Patterns of type ‘C a’ not matched: _ + In a \case alternative: Patterns of type ‘C a’ not matched: _ -EmptyCase003.hs:37:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase003.hs:37:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In a \case alternative: Patterns of type ‘C Int’ not matched: _ + In a \case alternative: Patterns of type ‘C Int’ not matched: _ diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase004.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase004.stderr index 9491cc06df81..5c56862052c0 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase004.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase004.stderr @@ -1,37 +1,37 @@ -EmptyCase004.hs:15:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase004.hs:15:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘A Bool’ not matched: A2 -EmptyCase004.hs:19:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase004.hs:19:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘A a’ not matched: A1 A2 -EmptyCase004.hs:31:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase004.hs:31:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘B a a’ not matched: B1 _ -EmptyCase004.hs:35:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase004.hs:35:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘B a b’ not matched: B1 _ B2 -EmptyCase004.hs:47:6: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase004.hs:47:6: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘A a’ not matched: A1 A2 -EmptyCase004.hs:50:9: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase004.hs:50:9: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘B a b’ not matched: B2 -EmptyCase004.hs:51:9: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase004.hs:51:9: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘B a b’ not matched: B1 _ diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase005.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase005.stderr index da479135f6fe..156698438b97 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase005.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase005.stderr @@ -1,35 +1,35 @@ -EmptyCase005.hs:24:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase005.hs:24:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Void3’ not matched: Void3 _ -EmptyCase005.hs:67:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase005.hs:67:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘T ()’ not matched: T1 T2 -EmptyCase005.hs:73:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase005.hs:73:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘T Bool’ not matched: MkTBool False MkTBool True -EmptyCase005.hs:79:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase005.hs:79:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘T Int’ not matched: MkTInt _ -EmptyCase005.hs:91:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase005.hs:91:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘G Int’ not matched: MkV False MkV True -EmptyCase005.hs:101:8: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase005.hs:101:8: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘H Int’ not matched: _ diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase006.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase006.stderr index 7c75c73115c4..e76802b6ae9d 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase006.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase006.stderr @@ -1,10 +1,10 @@ -EmptyCase006.hs:18:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase006.hs:18:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo1 Int’ not matched: Foo1 MkGA1 -EmptyCase006.hs:26:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase006.hs:26:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo1 a’ not matched: diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase007.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase007.stderr index 14693dcdcb72..659d801090c6 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase007.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase007.stderr @@ -1,29 +1,29 @@ -EmptyCase007.hs:21:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase007.hs:21:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo2 a’ not matched: Foo2 _ -EmptyCase007.hs:25:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase007.hs:25:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo2 (a, a)’ not matched: Foo2 _ -EmptyCase007.hs:33:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase007.hs:33:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo2 Int’ not matched: Foo2 (_, _) -EmptyCase007.hs:37:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase007.hs:37:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo2 Char’ not matched: Foo2 _ -EmptyCase007.hs:44:17: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase007.hs:44:17: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘FA Char’ not matched: _ -EmptyCase007.hs:48:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase007.hs:48:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo2 [Int]’ not matched: diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase008.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase008.stderr index 66e70e0a7e93..1ca24e8b330e 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase008.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase008.stderr @@ -1,22 +1,22 @@ -EmptyCase008.hs:17:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase008.hs:17:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo3 Int’ not matched: Foo3 (MkDA1 _) Foo3 MkDA2 -EmptyCase008.hs:21:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase008.hs:21:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo3 a’ not matched: Foo3 _ -EmptyCase008.hs:40:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase008.hs:40:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo4 Int ()’ not matched: Foo4 MkDB1 -EmptyCase008.hs:48:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase008.hs:48:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Foo4 a b’ not matched: Foo4 _ diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase009.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase009.stderr index 622493b44669..7be9a48ad3e5 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase009.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase009.stderr @@ -1,14 +1,14 @@ -EmptyCase009.hs:21:9: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase009.hs:21:9: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Bar f’ not matched: Bar _ -EmptyCase009.hs:33:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase009.hs:33:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Bar (DB ())’ not matched: Bar MkDB2_u -EmptyCase009.hs:42:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase009.hs:42:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Bar GB’ not matched: Bar MkGB3 diff --git a/testsuite/tests/pmcheck/should_compile/EmptyCase010.stderr b/testsuite/tests/pmcheck/should_compile/EmptyCase010.stderr index 0672f17f69d8..e394e4b5d4c5 100644 --- a/testsuite/tests/pmcheck/should_compile/EmptyCase010.stderr +++ b/testsuite/tests/pmcheck/should_compile/EmptyCase010.stderr @@ -1,29 +1,29 @@ -EmptyCase010.hs:24:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase010.hs:24:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Baz GC a’ not matched: Baz MkGC1 Baz (MkGC2 _) -EmptyCase010.hs:28:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase010.hs:28:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Baz GC 'T1’ not matched: Baz MkGC1 -EmptyCase010.hs:37:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase010.hs:37:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Baz GD Maybe’ not matched: Baz MkGD1 Baz MkGD3 -EmptyCase010.hs:41:9: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase010.hs:41:9: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Baz GD (Either Int)’ not matched: Baz MkGD3 -EmptyCase010.hs:45:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase010.hs:45:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Baz GD f’ not matched: @@ -31,17 +31,17 @@ EmptyCase010.hs:45:7: warning: [-Wincomplete-patterns (in -Wextra)] Baz MkGD2 Baz MkGD3 -EmptyCase010.hs:57:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase010.hs:57:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Baz (DC ()) a’ not matched: Baz _ -EmptyCase010.hs:69:7: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase010.hs:69:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a \case alternative: Patterns of type ‘Baz (DC Bool) [Int]’ not matched: Baz MkDC2 -EmptyCase010.hs:73:9: warning: [-Wincomplete-patterns (in -Wextra)] +EmptyCase010.hs:73:9: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Baz f a’ not matched: Baz _ diff --git a/testsuite/tests/pmcheck/should_compile/LongDistanceInfo.stderr b/testsuite/tests/pmcheck/should_compile/LongDistanceInfo.stderr index dd40d2af6f36..23f8e7f96c67 100644 --- a/testsuite/tests/pmcheck/should_compile/LongDistanceInfo.stderr +++ b/testsuite/tests/pmcheck/should_compile/LongDistanceInfo.stderr @@ -1,4 +1,4 @@ -LongDistanceInfo.hs:8:3: warning: [-Woverlapping-patterns (in -Wdefault)] +LongDistanceInfo.hs:8:3: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: A -> ... diff --git a/testsuite/tests/pmcheck/should_compile/T10746.stderr b/testsuite/tests/pmcheck/should_compile/T10746.stderr index a2229d3ec606..6c4591d4afc6 100644 --- a/testsuite/tests/pmcheck/should_compile/T10746.stderr +++ b/testsuite/tests/pmcheck/should_compile/T10746.stderr @@ -1,5 +1,5 @@ -T10746.hs:9:10: warning: [-Wincomplete-patterns (in -Wextra)] +T10746.hs:9:10: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Bool’ not matched: diff --git a/testsuite/tests/pmcheck/should_compile/T11245.stderr b/testsuite/tests/pmcheck/should_compile/T11245.stderr index 4e976a71c6f9..c4ea0df53dd7 100644 --- a/testsuite/tests/pmcheck/should_compile/T11245.stderr +++ b/testsuite/tests/pmcheck/should_compile/T11245.stderr @@ -1,4 +1,4 @@ -T11245.hs:5:7: warning: [-Wincomplete-patterns (in -Wextra)] +T11245.hs:5:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘a’: Guards do not cover entire pattern space diff --git a/testsuite/tests/pmcheck/should_compile/T11336b.stderr b/testsuite/tests/pmcheck/should_compile/T11336b.stderr index 85dad6a81c1a..0835da60da45 100644 --- a/testsuite/tests/pmcheck/should_compile/T11336b.stderr +++ b/testsuite/tests/pmcheck/should_compile/T11336b.stderr @@ -1,4 +1,4 @@ -T11336b.hs:25:1: warning: [-Wincomplete-patterns (in -Wextra)] +T11336b.hs:25:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘fun’: Patterns of type ‘Proxy a’ not matched: _ diff --git a/testsuite/tests/pmcheck/should_compile/T11822.stderr b/testsuite/tests/pmcheck/should_compile/T11822.stderr index d2994b65aab7..567e5c4d206e 100644 --- a/testsuite/tests/pmcheck/should_compile/T11822.stderr +++ b/testsuite/tests/pmcheck/should_compile/T11822.stderr @@ -1,5 +1,5 @@ -T11822.hs:33:1: warning: [-Wincomplete-patterns (in -Wextra)] +T11822.hs:33:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘mkTreeNode’: Patterns of type ‘prefix’, ‘Seq SiblingDependencies’, ‘Set prefix’, diff --git a/testsuite/tests/pmcheck/should_compile/T12957.stderr b/testsuite/tests/pmcheck/should_compile/T12957.stderr index e062bb3bb199..abc5802cc24e 100644 --- a/testsuite/tests/pmcheck/should_compile/T12957.stderr +++ b/testsuite/tests/pmcheck/should_compile/T12957.stderr @@ -1,9 +1,9 @@ -T12957.hs:4:5: warning: [-Wincomplete-patterns (in -Wextra)] +T12957.hs:4:5: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘[GHC.Types.Any]’ not matched: [] -T12957.hs:4:16: warning: [-Woverlapping-patterns (in -Wdefault)] +T12957.hs:4:16: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: (_ : _) -> ... diff --git a/testsuite/tests/pmcheck/should_compile/T12957a.stderr b/testsuite/tests/pmcheck/should_compile/T12957a.stderr index 6a656ae32ff7..9e2160672c18 100644 --- a/testsuite/tests/pmcheck/should_compile/T12957a.stderr +++ b/testsuite/tests/pmcheck/should_compile/T12957a.stderr @@ -1,5 +1,5 @@ -T12957a.hs:25:35: warning: [-Winaccessible-code (in -Wdefault)] +T12957a.hs:25:35: warning: [GHC-40564] [-Winaccessible-code (in -Wdefault)] • Inaccessible code in a pattern with constructor: BFields :: [()] -> Fields 'B, in a case alternative @@ -12,7 +12,7 @@ T12957a.hs:25:35: warning: [-Winaccessible-code (in -Wdefault)] with type constructor ‘S’ and data constructor ‘S’. -T12957a.hs:25:35: warning: [-Wdeferred-type-errors (in -Wdefault)] +T12957a.hs:25:35: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘'B’ with ‘'A’ Expected: Fields 'A Actual: Fields 'B diff --git a/testsuite/tests/pmcheck/should_compile/T14141.stderr b/testsuite/tests/pmcheck/should_compile/T14141.stderr index 32eade4ce0be..dbd7e1726161 100644 --- a/testsuite/tests/pmcheck/should_compile/T14141.stderr +++ b/testsuite/tests/pmcheck/should_compile/T14141.stderr @@ -1,8 +1,8 @@ -T14141.hs:27:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T14141.hs:27:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘f’: f MkD = ... -T14141.hs:42:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T14141.hs:42:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘exhaustive’: exhaustive B = ... diff --git a/testsuite/tests/pmcheck/should_compile/T15305.stderr b/testsuite/tests/pmcheck/should_compile/T15305.stderr index 61f47322a0a6..e8761ebb4e0a 100644 --- a/testsuite/tests/pmcheck/should_compile/T15305.stderr +++ b/testsuite/tests/pmcheck/should_compile/T15305.stderr @@ -1,5 +1,5 @@ -T15305.hs:48:23: warning: [-Wincomplete-patterns (in -Wextra)] +T15305.hs:48:23: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Abyss’ not matched: MkAbyss _ diff --git a/testsuite/tests/pmcheck/should_compile/T15450.stderr b/testsuite/tests/pmcheck/should_compile/T15450.stderr index a9268100f116..18f4a931f899 100644 --- a/testsuite/tests/pmcheck/should_compile/T15450.stderr +++ b/testsuite/tests/pmcheck/should_compile/T15450.stderr @@ -1,11 +1,11 @@ -T15450.hs:6:7: warning: [-Wincomplete-patterns (in -Wextra)] +T15450.hs:6:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Bool’ not matched: False True -T15450.hs:9:7: warning: [-Wincomplete-patterns (in -Wextra)] +T15450.hs:9:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Bool’ not matched: False diff --git a/testsuite/tests/pmcheck/should_compile/T17218.stderr b/testsuite/tests/pmcheck/should_compile/T17218.stderr index a8ac1b9ab8a2..8acd7fad19b1 100644 --- a/testsuite/tests/pmcheck/should_compile/T17218.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17218.stderr @@ -1,4 +1,4 @@ -T17218.hs:11:1: warning: [-Wincomplete-patterns (in -Wextra)] +T17218.hs:11:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive - In an equation for ‘f’: Patterns of type ‘T’ not matched: P + In an equation for ‘f’: Patterns of type ‘T’ not matched: P diff --git a/testsuite/tests/pmcheck/should_compile/T17234.stderr b/testsuite/tests/pmcheck/should_compile/T17234.stderr index 0a1912cfab99..d3da2ac1a50b 100644 --- a/testsuite/tests/pmcheck/should_compile/T17234.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17234.stderr @@ -1,4 +1,4 @@ -T17234.hs:8:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17234.hs:8:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘f’: f !_ = ... diff --git a/testsuite/tests/pmcheck/should_compile/T17248.stderr b/testsuite/tests/pmcheck/should_compile/T17248.stderr index d19619464e76..c5887ec3b227 100644 --- a/testsuite/tests/pmcheck/should_compile/T17248.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17248.stderr @@ -1,12 +1,12 @@ -T17248.hs:9:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17248.hs:9:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘f’: f (T1 _) True = ... -T17248.hs:14:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17248.hs:14:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g (T2 _) True = ... -T17248.hs:15:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17248.hs:15:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘g’: g !_ True = ... diff --git a/testsuite/tests/pmcheck/should_compile/T17340.stderr b/testsuite/tests/pmcheck/should_compile/T17340.stderr index 7e87ccb887e9..5dc63cf1f67c 100644 --- a/testsuite/tests/pmcheck/should_compile/T17340.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17340.stderr @@ -1,52 +1,52 @@ -T17340.hs:15:4: warning: [-Wredundant-bang-patterns] +T17340.hs:15:4: warning: [GHC-38520] [-Wredundant-bang-patterns] Pattern match has redundant bang In an equation for ‘f’: f x = ... -T17340.hs:19:4: warning: [-Wredundant-bang-patterns] +T17340.hs:19:4: warning: [GHC-38520] [-Wredundant-bang-patterns] Pattern match has redundant bang In an equation for ‘g’: g x = ... -T17340.hs:23:9: warning: [-Wredundant-bang-patterns] +T17340.hs:23:9: warning: [GHC-38520] [-Wredundant-bang-patterns] Pattern match has redundant bang In an equation for ‘h’: h x = ... -T17340.hs:27:4: warning: [-Wredundant-bang-patterns] +T17340.hs:27:4: warning: [GHC-38520] [-Wredundant-bang-patterns] Pattern match has redundant bang In an equation for ‘k’: k _ = ... -T17340.hs:31:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17340.hs:31:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘t’: t !() True = ... -T17340.hs:36:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17340.hs:36:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘q’: q !True = ... -T17340.hs:41:4: warning: [-Wredundant-bang-patterns] +T17340.hs:41:4: warning: [GHC-38520] [-Wredundant-bang-patterns] Pattern match has redundant bang In an equation for ‘i’: i x = ... -T17340.hs:41:8: warning: [-Woverlapping-patterns (in -Wdefault)] +T17340.hs:41:8: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘i’: i !x | x = ... -T17340.hs:47:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17340.hs:47:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘w’: w (T2 _) True = ... -T17340.hs:48:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17340.hs:48:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘w’: w !_ True = ... -T17340.hs:53:7: warning: [-Wredundant-bang-patterns] +T17340.hs:53:7: warning: [GHC-38520] [-Wredundant-bang-patterns] Pattern match has redundant bang In an equation for ‘z’: z x = ... -T17340.hs:53:11: warning: [-Woverlapping-patterns (in -Wdefault)] +T17340.hs:53:11: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘z’: z t2 !x | T2 _ <- t2, x = ... -T17340.hs:54:11: warning: [-Woverlapping-patterns (in -Wdefault)] +T17340.hs:54:11: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘z’: z t2 !x | !_ <- t2, x = ... diff --git a/testsuite/tests/pmcheck/should_compile/T17465.stderr b/testsuite/tests/pmcheck/should_compile/T17465.stderr index 6b0068201eec..4b6c32dd0277 100644 --- a/testsuite/tests/pmcheck/should_compile/T17465.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17465.stderr @@ -1,20 +1,20 @@ -T17465.hs:5:5: warning: [-Woverlapping-patterns (in -Wdefault)] +T17465.hs:5:5: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f _ | False = ... -T17465.hs:10:5: warning: [-Woverlapping-patterns (in -Wdefault)] +T17465.hs:10:5: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g () | False = ... -T17465.hs:11:5: warning: [-Woverlapping-patterns (in -Wdefault)] +T17465.hs:11:5: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g () | False = ... -T17465.hs:16:5: warning: [-Woverlapping-patterns (in -Wdefault)] +T17465.hs:16:5: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘h’: h x | () <- x, False = ... -T17465.hs:17:5: warning: [-Woverlapping-patterns (in -Wdefault)] +T17465.hs:17:5: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘h’: h x | False = ... diff --git a/testsuite/tests/pmcheck/should_compile/T17646.stderr b/testsuite/tests/pmcheck/should_compile/T17646.stderr index e5a3964a0a28..e13bb888560f 100644 --- a/testsuite/tests/pmcheck/should_compile/T17646.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17646.stderr @@ -1,9 +1,9 @@ -T17646.hs:11:1: warning: [-Wincomplete-patterns (in -Wextra)] +T17646.hs:11:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: Guards do not cover entire pattern space -T17646.hs:11:5: warning: [-Winaccessible-code (in -Wdefault)] +T17646.hs:11:5: warning: [GHC-40564] [-Winaccessible-code (in -Wdefault)] • Inaccessible code in a pattern with constructor: B :: T 'False, in a pattern binding in @@ -16,6 +16,6 @@ T17646.hs:11:5: warning: [-Winaccessible-code (in -Wdefault)] B <- A In an equation for ‘g’: g | B <- A = () -T17646.hs:11:5: warning: [-Woverlapping-patterns (in -Wdefault)] +T17646.hs:11:5: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g | B <- A = ... diff --git a/testsuite/tests/pmcheck/should_compile/T17725.stderr b/testsuite/tests/pmcheck/should_compile/T17725.stderr index 3bf20a6479b9..410cfd4eae40 100644 --- a/testsuite/tests/pmcheck/should_compile/T17725.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17725.stderr @@ -1,4 +1,4 @@ -T17725.hs:9:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17725.hs:9:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f (IInt 42) True = ... diff --git a/testsuite/tests/pmcheck/should_compile/T17729.stderr b/testsuite/tests/pmcheck/should_compile/T17729.stderr index edc7900388f8..c0e340af8415 100644 --- a/testsuite/tests/pmcheck/should_compile/T17729.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17729.stderr @@ -1,5 +1,5 @@ -T17729.hs:5:17: warning: [-Wincomplete-patterns (in -Wextra)] +T17729.hs:5:17: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: - Patterns of type ‘(Maybe a, ())’ not matched: ((Just _), ()) + Patterns of type ‘(Maybe a, ())’ not matched: ((Just _), ()) diff --git a/testsuite/tests/pmcheck/should_compile/T17836b.stderr b/testsuite/tests/pmcheck/should_compile/T17836b.stderr index ba590aaf85ad..714e7b4f85fc 100644 --- a/testsuite/tests/pmcheck/should_compile/T17836b.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17836b.stderr @@ -1,8 +1,8 @@ -T17836b.hs:11:1: warning: [-Wincomplete-patterns (in -Wextra)] +T17836b.hs:11:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘massive’: - Patterns of type ‘T recty’ not matched: + Patterns of type ‘T recty’ not matched: T _ P (T _) P (P (T _)) diff --git a/testsuite/tests/pmcheck/should_compile/T17977.stderr b/testsuite/tests/pmcheck/should_compile/T17977.stderr index 9817638af651..4fb5c0037636 100644 --- a/testsuite/tests/pmcheck/should_compile/T17977.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17977.stderr @@ -1,5 +1,5 @@ -T17977.hs:31:1: warning: [-Wincomplete-patterns (in -Wextra)] +T17977.hs:31:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: Patterns of type ‘SNat m’, ‘SNat n’, ‘SNat o’, diff --git a/testsuite/tests/pmcheck/should_compile/T17977b.stderr b/testsuite/tests/pmcheck/should_compile/T17977b.stderr index d46492db2235..9286a9d6472e 100644 --- a/testsuite/tests/pmcheck/should_compile/T17977b.stderr +++ b/testsuite/tests/pmcheck/should_compile/T17977b.stderr @@ -1,4 +1,4 @@ -T17977b.hs:21:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T17977b.hs:21:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘f'’: f' (Down r) = ... diff --git a/testsuite/tests/pmcheck/should_compile/T18249.stderr b/testsuite/tests/pmcheck/should_compile/T18249.stderr index b13160e18376..6ca63a3ad6a9 100644 --- a/testsuite/tests/pmcheck/should_compile/T18249.stderr +++ b/testsuite/tests/pmcheck/should_compile/T18249.stderr @@ -1,20 +1,20 @@ -T18249.hs:14:8: warning: [-Woverlapping-patterns (in -Wdefault)] +T18249.hs:14:8: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f !_ | False = ... -T18249.hs:25:4: warning: [-Wredundant-bang-patterns] +T18249.hs:25:4: warning: [GHC-38520] [-Wredundant-bang-patterns] Pattern match has redundant bang In an equation for ‘g’: g _ = ... -T18249.hs:29:16: warning: [-Woverlapping-patterns (in -Wdefault)] +T18249.hs:29:16: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘h’: h (# _, _ #) | False = ... -T18249.hs:33:13: warning: [-Woverlapping-patterns (in -Wdefault)] +T18249.hs:33:13: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘i’: i !_ | False = ... -T18249.hs:34:13: warning: [-Woverlapping-patterns (in -Wdefault)] +T18249.hs:34:13: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘i’: i (I# !_) | False = ... diff --git a/testsuite/tests/pmcheck/should_compile/T18341.stderr b/testsuite/tests/pmcheck/should_compile/T18341.stderr index ee4838a8905c..987ffb5418ab 100644 --- a/testsuite/tests/pmcheck/should_compile/T18341.stderr +++ b/testsuite/tests/pmcheck/should_compile/T18341.stderr @@ -1,24 +1,24 @@ -T18341.hs:12:18: warning: [-Woverlapping-patterns (in -Wdefault)] +T18341.hs:12:18: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘f’: f (MkT _ _ _) | False = ... -T18341.hs:13:18: warning: [-Woverlapping-patterns (in -Wdefault)] +T18341.hs:13:18: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f (MkT !_ _ _) | False = ... -T18341.hs:17:18: warning: [-Woverlapping-patterns (in -Wdefault)] +T18341.hs:17:18: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘g’: g (MkT _ _ _) | False = ... -T18341.hs:18:18: warning: [-Woverlapping-patterns (in -Wdefault)] +T18341.hs:18:18: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘g’: g (MkT _ !_ _) | False = ... -T18341.hs:22:18: warning: [-Woverlapping-patterns (in -Wdefault)] +T18341.hs:22:18: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘h’: h (MkT _ _ _) | False = ... -T18341.hs:23:18: warning: [-Woverlapping-patterns (in -Wdefault)] +T18341.hs:23:18: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘h’: h (MkT _ _ !_) | False = ... diff --git a/testsuite/tests/pmcheck/should_compile/T18572.stderr b/testsuite/tests/pmcheck/should_compile/T18572.stderr index b56ef9f18613..c0f9807b9444 100644 --- a/testsuite/tests/pmcheck/should_compile/T18572.stderr +++ b/testsuite/tests/pmcheck/should_compile/T18572.stderr @@ -1,5 +1,5 @@ -T18572.hs:12:1: warning: [-Winaccessible-code (in -Wdefault)] +T18572.hs:12:1: warning: [GHC-40564] [-Winaccessible-code (in -Wdefault)] • Inaccessible code in a pattern with constructor: STrue :: SBool 'True, in a pattern binding @@ -7,11 +7,11 @@ T18572.hs:12:1: warning: [-Winaccessible-code (in -Wdefault)] • In the pattern: STrue In a pattern binding: STrue = SFalse -T18572.hs:12:1: warning: [-Wincomplete-uni-patterns (in -Wall)] +T18572.hs:12:1: warning: [GHC-62161] [-Wincomplete-uni-patterns (in -Wall)] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘SBool 'False’ not matched: SFalse -T18572.hs:12:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T18572.hs:12:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a pattern binding: STrue = ... diff --git a/testsuite/tests/pmcheck/should_compile/T18609.stderr b/testsuite/tests/pmcheck/should_compile/T18609.stderr index 60a123dcfbc3..5d2216f69080 100644 --- a/testsuite/tests/pmcheck/should_compile/T18609.stderr +++ b/testsuite/tests/pmcheck/should_compile/T18609.stderr @@ -1,13 +1,13 @@ -T18609.hs:36:25: warning: [-Woverlapping-patterns (in -Wdefault)] +T18609.hs:36:25: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘invZero’: invZero !_ !_ | False = ... -T18609.hs:51:20: warning: [-Woverlapping-patterns (in -Wdefault)] +T18609.hs:51:20: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘f’: f !_ !_ !_ !_ !_ | False = ... -T18609.hs:59:35: warning: [-Woverlapping-patterns (in -Wdefault)] +T18609.hs:59:35: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘g’: g !_ !_ !_ !_ !_ !_ !_ !_ !_ !_ | False = ... diff --git a/testsuite/tests/pmcheck/should_compile/T18610.stderr b/testsuite/tests/pmcheck/should_compile/T18610.stderr index c4576625628e..76948f4674f1 100644 --- a/testsuite/tests/pmcheck/should_compile/T18610.stderr +++ b/testsuite/tests/pmcheck/should_compile/T18610.stderr @@ -1,14 +1,14 @@ -T18610.hs:15:3: warning: [-Woverlapping-patterns (in -Wdefault)] +T18610.hs:15:3: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: (True, False) -> ... -T18610.hs:24:7: warning: [-Wincomplete-patterns (in -Wextra)] +T18610.hs:24:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘(Bool, Bool)’ not matched: _ -T18610.hs:53:3: warning: [-Winaccessible-code (in -Wdefault)] +T18610.hs:53:3: warning: [GHC-40564] [-Winaccessible-code (in -Wdefault)] • Inaccessible code in a pattern with constructor: Refl :: forall {k} (a :: k). a :~: a, in an equation for ‘k’ diff --git a/testsuite/tests/pmcheck/should_compile/T18670.stderr b/testsuite/tests/pmcheck/should_compile/T18670.stderr index 4929374740f9..51f7acfc031b 100644 --- a/testsuite/tests/pmcheck/should_compile/T18670.stderr +++ b/testsuite/tests/pmcheck/should_compile/T18670.stderr @@ -1,5 +1,5 @@ -T18670.hs:16:1: warning: [-Wincomplete-patterns (in -Wextra)] +T18670.hs:16:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: - Patterns of type ‘T a’, ‘a :~: Int’ not matched: TBool _ + Patterns of type ‘T a’, ‘a :~: Int’ not matched: TBool _ diff --git a/testsuite/tests/pmcheck/should_compile/T18708.stderr b/testsuite/tests/pmcheck/should_compile/T18708.stderr index ac838c365090..4d58dfda78ad 100644 --- a/testsuite/tests/pmcheck/should_compile/T18708.stderr +++ b/testsuite/tests/pmcheck/should_compile/T18708.stderr @@ -1,5 +1,5 @@ -T18708.hs:18:3: warning: [-Wincomplete-patterns (in -Wextra)] +T18708.hs:18:3: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: - Patterns of type ‘Text’ not matched: p where p is not one of {"y"} + Patterns of type ‘Text’ not matched: p where p is not one of {"y"} diff --git a/testsuite/tests/pmcheck/should_compile/T18932.stderr b/testsuite/tests/pmcheck/should_compile/T18932.stderr index 1da153f79580..2127ba62b4b4 100644 --- a/testsuite/tests/pmcheck/should_compile/T18932.stderr +++ b/testsuite/tests/pmcheck/should_compile/T18932.stderr @@ -1,13 +1,13 @@ -T18932.hs:10:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T18932.hs:10:1: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f (MkT2 y) = ... -T18932.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)] +T18932.hs:12:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f'’: Patterns of type ‘T a’ not matched: MkT2 _ -T18932.hs:14:1: warning: [-Wincomplete-patterns (in -Wextra)] +T18932.hs:14:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: Patterns of type ‘T a’, ‘T a’, ‘T a’ not matched: diff --git a/testsuite/tests/pmcheck/should_compile/T19271.stderr b/testsuite/tests/pmcheck/should_compile/T19271.stderr index 6ca6ebdaddb2..4dc068461f21 100644 --- a/testsuite/tests/pmcheck/should_compile/T19271.stderr +++ b/testsuite/tests/pmcheck/should_compile/T19271.stderr @@ -1,5 +1,5 @@ -T19271.hs:11:5: warning: [-Wincomplete-patterns (in -Wextra)] +T19271.hs:11:5: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Roles’ not matched: diff --git a/testsuite/tests/pmcheck/should_compile/T20642.stderr b/testsuite/tests/pmcheck/should_compile/T20642.stderr index 3843b53045fc..184092e04640 100644 --- a/testsuite/tests/pmcheck/should_compile/T20642.stderr +++ b/testsuite/tests/pmcheck/should_compile/T20642.stderr @@ -1,17 +1,17 @@ -T20642.hs:10:3: warning: [-Wincomplete-uni-patterns (in -Wall)] +T20642.hs:10:3: warning: [GHC-62161] [-Wincomplete-uni-patterns (in -Wall)] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘([a], [a])’ not matched: (_, []) -T20642.hs:14:7: warning: [-Wincomplete-patterns (in -Wextra)] +T20642.hs:14:7: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘Maybe a’ not matched: Nothing Just _ -T20642.hs:18:1: warning: [-Wincomplete-patterns (in -Wextra)] +T20642.hs:18:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: Patterns of type ‘(Bool, [a])’ not matched: (_, (_:_)) diff --git a/testsuite/tests/pmcheck/should_compile/T2204.stderr b/testsuite/tests/pmcheck/should_compile/T2204.stderr index 5bd3dba32236..6bf770852380 100644 --- a/testsuite/tests/pmcheck/should_compile/T2204.stderr +++ b/testsuite/tests/pmcheck/should_compile/T2204.stderr @@ -1,5 +1,5 @@ -T2204.hs:6:1: warning: [-Wincomplete-patterns (in -Wextra)] +T2204.hs:6:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: Patterns of type ‘String’ not matched: @@ -9,7 +9,7 @@ T2204.hs:6:1: warning: [-Wincomplete-patterns (in -Wextra)] ('0':p:_) where p is not one of {'1'} ... -T2204.hs:9:1: warning: [-Wincomplete-patterns (in -Wextra)] +T2204.hs:9:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: Patterns of type ‘Int’ not matched: p where p is not one of {0} diff --git a/testsuite/tests/pmcheck/should_compile/T9951b.stderr b/testsuite/tests/pmcheck/should_compile/T9951b.stderr index c4466613667e..5e432916cc5b 100644 --- a/testsuite/tests/pmcheck/should_compile/T9951b.stderr +++ b/testsuite/tests/pmcheck/should_compile/T9951b.stderr @@ -1,5 +1,5 @@ -T9951b.hs:7:1: warning: [-Wincomplete-patterns (in -Wextra)] +T9951b.hs:7:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: Patterns of type ‘String’ not matched: diff --git a/testsuite/tests/pmcheck/should_compile/TooManyDeltas.stderr b/testsuite/tests/pmcheck/should_compile/TooManyDeltas.stderr index bd9ca3f0f016..b6092fa8ec69 100644 --- a/testsuite/tests/pmcheck/should_compile/TooManyDeltas.stderr +++ b/testsuite/tests/pmcheck/should_compile/TooManyDeltas.stderr @@ -1,9 +1,9 @@ -TooManyDeltas.hs:14:1: warning: [-Wincomplete-patterns (in -Wextra)] +TooManyDeltas.hs:14:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: Patterns of type ‘T’, ‘T’ not matched: _ _ -TooManyDeltas.hs:14:1: warning: +TooManyDeltas.hs:14:1: warning: [GHC-61505] Pattern match checker ran into -fmax-pmcheck-models=0 limit, so • Redundant clauses might not be reported at all • Redundant clauses might be reported as inaccessible @@ -11,7 +11,7 @@ TooManyDeltas.hs:14:1: warning: Suggested fix: Increase the limit or resolve the warnings to suppress this message. -TooManyDeltas.hs:19:1: warning: +TooManyDeltas.hs:19:1: warning: [GHC-61505] Pattern match checker ran into -fmax-pmcheck-models=0 limit, so • Redundant clauses might not be reported at all • Redundant clauses might be reported as inaccessible @@ -19,10 +19,10 @@ TooManyDeltas.hs:19:1: warning: Suggested fix: Increase the limit or resolve the warnings to suppress this message. -TooManyDeltas.hs:20:1: warning: [-Woverlapping-patterns (in -Wdefault)] +TooManyDeltas.hs:20:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘g’: g A A = ... -TooManyDeltas.hs:21:1: warning: [-Woverlapping-patterns (in -Wdefault)] +TooManyDeltas.hs:21:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘g’: g A A = ... diff --git a/testsuite/tests/pmcheck/should_compile/pmc001.stderr b/testsuite/tests/pmcheck/should_compile/pmc001.stderr index 4e10c5bf0a26..5ea3cfa74d02 100644 --- a/testsuite/tests/pmcheck/should_compile/pmc001.stderr +++ b/testsuite/tests/pmcheck/should_compile/pmc001.stderr @@ -1,5 +1,5 @@ -pmc001.hs:14:1: warning: [-Wincomplete-patterns (in -Wextra)] +pmc001.hs:14:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: Patterns of type ‘T [a]’, ‘T [a]’ not matched: @@ -8,7 +8,7 @@ pmc001.hs:14:1: warning: [-Wincomplete-patterns (in -Wextra)] MkT3 MkT1 MkT3 (MkT2 _) -pmc001.hs:19:1: warning: [-Wincomplete-patterns (in -Wextra)] +pmc001.hs:19:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: Patterns of type ‘T [a]’, ‘T [a]’ not matched: diff --git a/testsuite/tests/pmcheck/should_compile/pmc003.stderr b/testsuite/tests/pmcheck/should_compile/pmc003.stderr index 03e0df0d464f..c3889c0e398a 100644 --- a/testsuite/tests/pmcheck/should_compile/pmc003.stderr +++ b/testsuite/tests/pmcheck/should_compile/pmc003.stderr @@ -1,4 +1,4 @@ -pmc003.hs:7:1: warning: [-Woverlapping-patterns (in -Wdefault)] +pmc003.hs:7:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘f’: f True False = ... diff --git a/testsuite/tests/pmcheck/should_compile/pmc004.stderr b/testsuite/tests/pmcheck/should_compile/pmc004.stderr index 7bce24399f24..43b92da3b065 100644 --- a/testsuite/tests/pmcheck/should_compile/pmc004.stderr +++ b/testsuite/tests/pmcheck/should_compile/pmc004.stderr @@ -1,4 +1,4 @@ -pmc004.hs:16:1: warning: [-Woverlapping-patterns (in -Wdefault)] +pmc004.hs:16:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘h’: h _ G1 = ... diff --git a/testsuite/tests/pmcheck/should_compile/pmc005.stderr b/testsuite/tests/pmcheck/should_compile/pmc005.stderr index 8cc9eaffcb94..4cdb6cdacfd0 100644 --- a/testsuite/tests/pmcheck/should_compile/pmc005.stderr +++ b/testsuite/tests/pmcheck/should_compile/pmc005.stderr @@ -1,9 +1,9 @@ -pmc005.hs:11:1: warning: [-Wincomplete-patterns (in -Wextra)] +pmc005.hs:11:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘foo’: - Patterns of type ‘T c’, ‘T c’ not matched: TBool TBool + Patterns of type ‘T c’, ‘T c’ not matched: TBool TBool -pmc005.hs:12:1: warning: [-Woverlapping-patterns (in -Wdefault)] +pmc005.hs:12:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘foo’: foo _ TList = ... diff --git a/testsuite/tests/pmcheck/should_compile/pmc007.stderr b/testsuite/tests/pmcheck/should_compile/pmc007.stderr index a68618d3f256..4b9f185ebf05 100644 --- a/testsuite/tests/pmcheck/should_compile/pmc007.stderr +++ b/testsuite/tests/pmcheck/should_compile/pmc007.stderr @@ -1,11 +1,11 @@ -pmc007.hs:7:1: warning: [-Wincomplete-patterns (in -Wextra)] +pmc007.hs:7:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘f’: Patterns of type ‘a’ not matched: p where p is not one of {"ab", "ac"} -pmc007.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)] +pmc007.hs:12:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: Patterns of type ‘String’ not matched: @@ -15,7 +15,7 @@ pmc007.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)] ('a':p:_) where p is not one of {'b', 'c'} ... -pmc007.hs:18:11: warning: [-Wincomplete-patterns (in -Wextra)] +pmc007.hs:18:11: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘String’ not matched: diff --git a/testsuite/tests/pmcheck/should_compile/pmc009.stderr b/testsuite/tests/pmcheck/should_compile/pmc009.stderr index 21132abc08ba..a3bed54637fe 100644 --- a/testsuite/tests/pmcheck/should_compile/pmc009.stderr +++ b/testsuite/tests/pmcheck/should_compile/pmc009.stderr @@ -1,5 +1,5 @@ -pmc009.hs:6:1: warning: [-Wincomplete-patterns (in -Wextra)] +pmc009.hs:6:1: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘addPatSynSelector’: Patterns of type ‘GenLocated l (HsBindLR idL idR)’ not matched: _ diff --git a/testsuite/tests/polykinds/KindVType.stderr b/testsuite/tests/polykinds/KindVType.stderr index bf8c99c03b75..11427eb82b06 100644 --- a/testsuite/tests/polykinds/KindVType.stderr +++ b/testsuite/tests/polykinds/KindVType.stderr @@ -1,5 +1,5 @@ -KindVType.hs:8:8: error: +KindVType.hs:8:8: error: [GHC-83865] • Couldn't match type ‘Int’ with ‘Maybe’ Expected: Proxy Maybe Actual: Proxy Int diff --git a/testsuite/tests/polykinds/PolyKinds02.stderr b/testsuite/tests/polykinds/PolyKinds02.stderr index b95cd4f2078c..ecbfbf66d625 100644 --- a/testsuite/tests/polykinds/PolyKinds02.stderr +++ b/testsuite/tests/polykinds/PolyKinds02.stderr @@ -1,6 +1,5 @@ -PolyKinds02.hs:13:16: error: +PolyKinds02.hs:13:16: error: [GHC-83865] • Expected kind ‘Nat’, but ‘Nat’ has kind ‘*’ • In the second argument of ‘Vec’, namely ‘Nat’ - In the type signature: - vec :: Vec Nat Nat + In the type signature: vec :: Vec Nat Nat diff --git a/testsuite/tests/polykinds/PolyKinds04.stderr b/testsuite/tests/polykinds/PolyKinds04.stderr index faa4f4cd692b..ebb9e4c6bb2f 100644 --- a/testsuite/tests/polykinds/PolyKinds04.stderr +++ b/testsuite/tests/polykinds/PolyKinds04.stderr @@ -1,5 +1,5 @@ -PolyKinds04.hs:6:16: error: +PolyKinds04.hs:6:16: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the first argument of ‘A’, namely ‘Maybe’ diff --git a/testsuite/tests/polykinds/PolyKinds06.stderr b/testsuite/tests/polykinds/PolyKinds06.stderr index e5c9daa8c396..2df7d645634a 100644 --- a/testsuite/tests/polykinds/PolyKinds06.stderr +++ b/testsuite/tests/polykinds/PolyKinds06.stderr @@ -1,5 +1,5 @@ -PolyKinds06.hs:9:11: error: +PolyKinds06.hs:9:11: error: [GHC-88634] • Type constructor ‘A’ cannot be used here (it is defined and used in the same recursive group) • In the kind ‘A -> *’ diff --git a/testsuite/tests/polykinds/PolyKinds07.stderr b/testsuite/tests/polykinds/PolyKinds07.stderr index 596cae306e19..9ddfa0230a47 100644 --- a/testsuite/tests/polykinds/PolyKinds07.stderr +++ b/testsuite/tests/polykinds/PolyKinds07.stderr @@ -1,5 +1,5 @@ -PolyKinds07.hs:10:11: error: +PolyKinds07.hs:10:11: error: [GHC-88634] • Data constructor ‘A1’ cannot be used here (it is defined and used in the same recursive group) • In the first argument of ‘B’, namely ‘'A1’ diff --git a/testsuite/tests/polykinds/T11142.stderr b/testsuite/tests/polykinds/T11142.stderr index e061d41bce81..3b151a9dc141 100644 --- a/testsuite/tests/polykinds/T11142.stderr +++ b/testsuite/tests/polykinds/T11142.stderr @@ -1,10 +1,10 @@ -T11142.hs:9:49: error: +T11142.hs:9:49: error: [GHC-46956] • Expected kind ‘k’, but ‘b’ has kind ‘k0’ - because kind variable ‘k’ would escape its scope - This (rigid, skolem) kind variable is bound by - an explicit forall k (a :: k) - at T11142.hs:9:26-35 + • because kind variable ‘k’ would escape its scope + This (rigid, skolem) kind variable is bound by + an explicit forall k (a :: k) + at T11142.hs:9:26-35 • In the second argument of ‘SameKind’, namely ‘b’ In the type signature: foo :: forall b. (forall k (a :: k). SameKind a b) -> () diff --git a/testsuite/tests/polykinds/T11203.stderr b/testsuite/tests/polykinds/T11203.stderr index decefbd1faf2..0dbd7db2790e 100644 --- a/testsuite/tests/polykinds/T11203.stderr +++ b/testsuite/tests/polykinds/T11203.stderr @@ -1,4 +1,4 @@ -T11203.hs:7:9: error: +T11203.hs:7:9: error: [GHC-17370] • Different names for the same type variable: ‘k1’ and ‘k2’ • In the data declaration for ‘Q’ diff --git a/testsuite/tests/polykinds/T11399.stderr b/testsuite/tests/polykinds/T11399.stderr index 9174cd0b7d17..80ebbf38bade 100644 --- a/testsuite/tests/polykinds/T11399.stderr +++ b/testsuite/tests/polykinds/T11399.stderr @@ -1,5 +1,5 @@ -T11399.hs:10:32: error: +T11399.hs:10:32: error: [GHC-18872] • Couldn't match kind ‘GHC.Types.RuntimeRep’ with ‘*’ When matching kinds a :: * -> * diff --git a/testsuite/tests/polykinds/T11466.stderr b/testsuite/tests/polykinds/T11466.stderr index 616f31725076..0c5d57f2bd00 100644 --- a/testsuite/tests/polykinds/T11466.stderr +++ b/testsuite/tests/polykinds/T11466.stderr @@ -1,4 +1,4 @@ -T11466.hs:15:10: error: +T11466.hs:15:10: error: [GHC-75863] • Illegal implicit parameter ‘?x::Int’ • In the instance declaration for ‘Eq T’ diff --git a/testsuite/tests/polykinds/T11516.stderr b/testsuite/tests/polykinds/T11516.stderr index 0bee63f2b345..b4e8598aa856 100644 --- a/testsuite/tests/polykinds/T11516.stderr +++ b/testsuite/tests/polykinds/T11516.stderr @@ -1,5 +1,5 @@ -T11516.hs:12:16: error: +T11516.hs:12:16: error: [GHC-83865] • Expected kind ‘i -> i -> *’, but ‘()’ has kind ‘*’ • In the first argument of ‘Varpi’, namely ‘()’ In the instance declaration for ‘Varpi (->) (->) (Either f)’ diff --git a/testsuite/tests/polykinds/T11520.stderr b/testsuite/tests/polykinds/T11520.stderr index 8b9ddb09a89a..38d871f58658 100644 --- a/testsuite/tests/polykinds/T11520.stderr +++ b/testsuite/tests/polykinds/T11520.stderr @@ -1,5 +1,5 @@ -T11520.hs:16:77: error: +T11520.hs:16:77: error: [GHC-25897] • Expected kind ‘k2 -> k1’, but ‘g’ has kind ‘k4’ ‘k4’ is a rigid type variable bound by an instance declaration diff --git a/testsuite/tests/polykinds/T11611.stderr b/testsuite/tests/polykinds/T11611.stderr index 6c723786b0eb..36eb3687d164 100644 --- a/testsuite/tests/polykinds/T11611.stderr +++ b/testsuite/tests/polykinds/T11611.stderr @@ -1,5 +1,5 @@ -T11611.hs:8:37: error: +T11611.hs:8:37: error: [GHC-83865] • Expected kind ‘[*]’, but ‘a’ has kind ‘*’ • In the first argument of ‘A’, namely ‘a’ In the first argument of ‘Show’, namely ‘(A a)’ diff --git a/testsuite/tests/polykinds/T11821a.stderr b/testsuite/tests/polykinds/T11821a.stderr index cc18f2c0fdbd..6774e6ecde5c 100644 --- a/testsuite/tests/polykinds/T11821a.stderr +++ b/testsuite/tests/polykinds/T11821a.stderr @@ -1,4 +1,4 @@ -T11821a.hs:4:16: error: +T11821a.hs:4:16: error: [GHC-17370] • Different names for the same type variable: ‘k1’ and ‘k2’ • In the type declaration for ‘SameKind’ diff --git a/testsuite/tests/polykinds/T12055a.stderr b/testsuite/tests/polykinds/T12055a.stderr index 505158b001df..4e19219a2366 100644 --- a/testsuite/tests/polykinds/T12055a.stderr +++ b/testsuite/tests/polykinds/T12055a.stderr @@ -1,5 +1,5 @@ -T12055a.hs:28:1: error: +T12055a.hs:28:1: error: [GHC-80003] • Non type-variable argument in the constraint: Category (Dom f) • In the context: (Category (Dom f), Category (Cod f)) While checking the super-classes of class ‘Functor’ diff --git a/testsuite/tests/polykinds/T12444.stderr b/testsuite/tests/polykinds/T12444.stderr index 0a75b049ecf2..e6403aa82b79 100644 --- a/testsuite/tests/polykinds/T12444.stderr +++ b/testsuite/tests/polykinds/T12444.stderr @@ -1,5 +1,5 @@ -T12444.hs:19:11: error: +T12444.hs:19:11: error: [GHC-25897] • Couldn't match type ‘b’ with ‘'Succ (c :+: b)’ Expected: SNat ('Succ (c :+: b)) Actual: SNat b diff --git a/testsuite/tests/polykinds/T12593.stderr b/testsuite/tests/polykinds/T12593.stderr index fcf194ba5081..27a4c46092ca 100644 --- a/testsuite/tests/polykinds/T12593.stderr +++ b/testsuite/tests/polykinds/T12593.stderr @@ -1,5 +1,5 @@ -T12593.hs:12:31: error: +T12593.hs:12:31: error: [GHC-83865] • Expecting one more argument to ‘k’ Expected a type, but ‘k’ has kind diff --git a/testsuite/tests/polykinds/T13267.stderr b/testsuite/tests/polykinds/T13267.stderr index ff6d7fd79bef..b0193e9bdd7e 100644 --- a/testsuite/tests/polykinds/T13267.stderr +++ b/testsuite/tests/polykinds/T13267.stderr @@ -1,10 +1,10 @@ -T13267.hs:6:10: error: +T13267.hs:6:10: error: [GHC-53946] • Illegal instance for a type synonym A class instance must be for a class • In the instance declaration for ‘C1 Int’ -T13267.hs:10:10: error: +T13267.hs:10:10: error: [GHC-53946] • Illegal instance for a type synonym A class instance must be for a class • In the instance declaration for ‘C2 Int’ diff --git a/testsuite/tests/polykinds/T13393.stderr b/testsuite/tests/polykinds/T13393.stderr index 38360592494d..8b56b124519d 100644 --- a/testsuite/tests/polykinds/T13393.stderr +++ b/testsuite/tests/polykinds/T13393.stderr @@ -1,5 +1,5 @@ -T13393.hs:61:3: error: +T13393.hs:61:3: error: [GHC-39999] • Ambiguous type variable ‘t0’ arising from a use of ‘mapM’ prevents the constraint ‘(Traversable t0)’ from being solved. Probable fix: use a type annotation to specify what ‘t0’ should be. diff --git a/testsuite/tests/polykinds/T13625.stderr b/testsuite/tests/polykinds/T13625.stderr index 98208fcde3a5..4778e28ab9a9 100644 --- a/testsuite/tests/polykinds/T13625.stderr +++ b/testsuite/tests/polykinds/T13625.stderr @@ -1,5 +1,5 @@ -T13625.hs:5:11: error: +T13625.hs:5:11: error: [GHC-88634] • Data constructor ‘Y’ cannot be used here (it is defined and used in the same recursive group) • In the kind ‘Y’ diff --git a/testsuite/tests/polykinds/T13659.stderr b/testsuite/tests/polykinds/T13659.stderr index dad726be5f72..2eab88d38629 100644 --- a/testsuite/tests/polykinds/T13659.stderr +++ b/testsuite/tests/polykinds/T13659.stderr @@ -1,5 +1,5 @@ -T13659.hs:14:15: error: +T13659.hs:14:15: error: [GHC-83865] • Expected kind ‘[*]’, but ‘a’ has kind ‘*’ • In the first argument of ‘Format’, namely ‘a’ In the type ‘Format a’ diff --git a/testsuite/tests/polykinds/T13738.stderr b/testsuite/tests/polykinds/T13738.stderr index 0bcce304ba69..3dc5250cca63 100644 --- a/testsuite/tests/polykinds/T13738.stderr +++ b/testsuite/tests/polykinds/T13738.stderr @@ -1,4 +1,4 @@ -T13738.hs:12:31: error: Not in scope: type variable ‘k’ +T13738.hs:12:31: error: [GHC-76037] Not in scope: type variable ‘k’ -T13738.hs:13:31: error: Not in scope: type variable ‘k’ +T13738.hs:13:31: error: [GHC-76037] Not in scope: type variable ‘k’ diff --git a/testsuite/tests/polykinds/T13985.stderr b/testsuite/tests/polykinds/T13985.stderr index ba07f3cda103..16bc48bc7be8 100644 --- a/testsuite/tests/polykinds/T13985.stderr +++ b/testsuite/tests/polykinds/T13985.stderr @@ -1,10 +1,10 @@ -T13985.hs:13:41: error: Not in scope: type variable ‘k’ +T13985.hs:13:41: error: [GHC-76037] Not in scope: type variable ‘k’ -T13985.hs:16:43: error: Not in scope: type variable ‘a’ +T13985.hs:16:43: error: [GHC-76037] Not in scope: type variable ‘a’ -T13985.hs:23:26: error: Not in scope: type variable ‘k’ +T13985.hs:23:26: error: [GHC-76037] Not in scope: type variable ‘k’ -T13985.hs:24:37: error: Not in scope: type variable ‘a’ +T13985.hs:24:37: error: [GHC-76037] Not in scope: type variable ‘a’ -T13985.hs:28:39: error: Not in scope: type variable ‘x’ +T13985.hs:28:39: error: [GHC-76037] Not in scope: type variable ‘x’ diff --git a/testsuite/tests/polykinds/T14172.stderr b/testsuite/tests/polykinds/T14172.stderr index b4eb6302d05a..d79af1f7c02a 100644 --- a/testsuite/tests/polykinds/T14172.stderr +++ b/testsuite/tests/polykinds/T14172.stderr @@ -1,5 +1,5 @@ -T14172.hs:7:46: error: +T14172.hs:7:46: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘a'’ Where: ‘a'’ is a rigid type variable bound by the inferred type of @@ -10,7 +10,7 @@ T14172.hs:7:46: error: In the first argument of ‘f’, namely ‘(h _)’ In the type ‘(a -> f b) -> g a -> f (h _)’ -T14172.hs:8:19: error: +T14172.hs:8:19: error: [GHC-25897] • Couldn't match type ‘a’ with ‘g'1 a'0’ Expected: (f'0 a -> f (f'0 b)) -> g a -> f (h a') Actual: (Unwrapped (Compose f'0 g'1 a'0) -> f (Unwrapped (h a'))) diff --git a/testsuite/tests/polykinds/T14174.stderr b/testsuite/tests/polykinds/T14174.stderr index 4aafa647fd70..ed79dd08aeb1 100644 --- a/testsuite/tests/polykinds/T14174.stderr +++ b/testsuite/tests/polykinds/T14174.stderr @@ -1,5 +1,5 @@ -T14174.hs:6:27: error: +T14174.hs:6:27: error: [GHC-83865] • Expecting one more argument to ‘x’ Expected kind ‘x Int’, but ‘x’ has kind ‘* -> *’ • In the second argument of ‘T’, namely ‘x’ diff --git a/testsuite/tests/polykinds/T14265.stderr b/testsuite/tests/polykinds/T14265.stderr index 188430bdbbd9..7f782ff8fce3 100644 --- a/testsuite/tests/polykinds/T14265.stderr +++ b/testsuite/tests/polykinds/T14265.stderr @@ -1,5 +1,5 @@ -T14265.hs:7:12: error: +T14265.hs:7:12: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w :: k’ Where: ‘k’, ‘w’ are rigid type variables bound by the inferred type of f :: proxy w -> () @@ -9,7 +9,7 @@ T14265.hs:7:12: error: In the type ‘proxy _ -> ()’ In the type signature: f :: proxy _ -> () -T14265.hs:10:15: error: +T14265.hs:10:15: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w1’ Where: ‘w1’ is a rigid type variable bound by the inferred type of foo :: StateT w1 w2 () @@ -19,7 +19,7 @@ T14265.hs:10:15: error: In the type ‘StateT _ _ ()’ In the type signature: foo :: StateT _ _ () -T14265.hs:10:17: error: +T14265.hs:10:17: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘w2 :: * -> *’ Where: ‘w2’ is a rigid type variable bound by the inferred type of foo :: StateT w1 w2 () diff --git a/testsuite/tests/polykinds/T14520.stderr b/testsuite/tests/polykinds/T14520.stderr index 20e1b5cf33c6..7fa6545a07d8 100644 --- a/testsuite/tests/polykinds/T14520.stderr +++ b/testsuite/tests/polykinds/T14520.stderr @@ -1,7 +1,7 @@ -T14520.hs:15:24: error: +T14520.hs:15:24: error: [GHC-83865] • Expected kind ‘bat w w’, but ‘Id’ has kind ‘XXX @a0 @(*) (XXX @a0 @(a0 ~>> *) kat0 b0) b0’ - The type variables ‘kat0’, ‘b0’ are ambiguous + The type variables ‘kat0’, ‘b0’ are ambiguous • In the first argument of ‘Sing’, namely ‘(Id :: bat w w)’ In the type signature: sId :: Sing w -> Sing (Id :: bat w w) diff --git a/testsuite/tests/polykinds/T14555.stderr b/testsuite/tests/polykinds/T14555.stderr index f85c1b44cc59..78efb9c0a19f 100644 --- a/testsuite/tests/polykinds/T14555.stderr +++ b/testsuite/tests/polykinds/T14555.stderr @@ -1,5 +1,5 @@ -T14555.hs:12:34: error: +T14555.hs:12:34: error: [GHC-25897] • Couldn't match kind ‘rep’ with ‘GHC.Types.LiftedRep’ Expected kind ‘TYPE rep’, but ‘a -> b’ has kind ‘*’ • In the second argument of ‘Exp’, namely ‘(a -> b)’ diff --git a/testsuite/tests/polykinds/T14563.stderr b/testsuite/tests/polykinds/T14563.stderr index e2dd07a6d692..b567c0914a61 100644 --- a/testsuite/tests/polykinds/T14563.stderr +++ b/testsuite/tests/polykinds/T14563.stderr @@ -1,5 +1,5 @@ -T14563.hs:9:39: error: +T14563.hs:9:39: error: [GHC-25897] • Couldn't match kind ‘rep''’ with ‘GHC.Types.LiftedRep’ Expected kind ‘TYPE rep -> TYPE rep''’, but ‘h’ has kind ‘TYPE rep -> *’ diff --git a/testsuite/tests/polykinds/T14580.stderr b/testsuite/tests/polykinds/T14580.stderr index 154e191f7ec3..2fe8b646366e 100644 --- a/testsuite/tests/polykinds/T14580.stderr +++ b/testsuite/tests/polykinds/T14580.stderr @@ -1,5 +1,5 @@ -T14580.hs:8:32: error: +T14580.hs:8:32: error: [GHC-25897] • Couldn't match kind ‘b’ with ‘a -> *’ Expected kind ‘Cat a’, but ‘iso :: cat a b’ has kind ‘cat a b’ • In the first argument of ‘ISO’, namely ‘(iso :: cat a b)’ diff --git a/testsuite/tests/polykinds/T14846.stderr b/testsuite/tests/polykinds/T14846.stderr index 8ff308ba1dbf..2959f7669a7b 100644 --- a/testsuite/tests/polykinds/T14846.stderr +++ b/testsuite/tests/polykinds/T14846.stderr @@ -1,5 +1,5 @@ -T14846.hs:38:8: error: +T14846.hs:38:8: error: [GHC-25897] • Couldn't match type ‘rÃki’ with ‘Hom riki’ Expected: rÃki a a Actual: Hom riki a a @@ -22,7 +22,7 @@ T14846.hs:38:8: error: rÃki a a In the instance declaration for ‘Category (Hom riki)’ -T14846.hs:39:44: error: +T14846.hs:39:44: error: [GHC-25897] • Couldn't match kind ‘k3’ with ‘Struct cls2’ Expected kind ‘Struct cls2 -> Constraint’, but ‘cls’ has kind ‘k3 -> Constraint’ diff --git a/testsuite/tests/polykinds/T15116.stderr b/testsuite/tests/polykinds/T15116.stderr index bcbf89f8dc88..04dc639779cc 100644 --- a/testsuite/tests/polykinds/T15116.stderr +++ b/testsuite/tests/polykinds/T15116.stderr @@ -1,5 +1,5 @@ -T15116.hs:7:12: error: +T15116.hs:7:12: error: [GHC-88634] • Data constructor ‘MkA’ cannot be used here (it is defined and used in the same recursive group) • In the first argument of ‘A’, namely ‘MkA’ diff --git a/testsuite/tests/polykinds/T15116a.stderr b/testsuite/tests/polykinds/T15116a.stderr index 148432f5caed..a63cce3bc299 100644 --- a/testsuite/tests/polykinds/T15116a.stderr +++ b/testsuite/tests/polykinds/T15116a.stderr @@ -1,5 +1,5 @@ -T15116a.hs:6:21: error: +T15116a.hs:6:21: error: [GHC-88634] • Data constructor ‘MkB’ cannot be used here (it is defined and used in the same recursive group) • In the first argument of ‘Proxy’, namely ‘'MkB’ diff --git a/testsuite/tests/polykinds/T15577.stderr b/testsuite/tests/polykinds/T15577.stderr index 7f875be9fdcb..a241305371d9 100644 --- a/testsuite/tests/polykinds/T15577.stderr +++ b/testsuite/tests/polykinds/T15577.stderr @@ -1,5 +1,5 @@ -T15577.hs:21:18: error: +T15577.hs:21:18: error: [GHC-83865] • Expecting one more argument to ‘f’ Expected a type, but ‘f’ has kind ‘* -> *’ • In the type ‘f’ diff --git a/testsuite/tests/polykinds/T15787.stderr b/testsuite/tests/polykinds/T15787.stderr index c2c50af86ab0..831cde0235a8 100644 --- a/testsuite/tests/polykinds/T15787.stderr +++ b/testsuite/tests/polykinds/T15787.stderr @@ -1,5 +1,5 @@ -T15787.hs:16:14: error: +T15787.hs:16:14: error: [GHC-25897] • Expected a type, but ‘k’ has kind ‘ob1’ ‘ob1’ is a rigid type variable bound by the type signature for ‘Kl’ diff --git a/testsuite/tests/polykinds/T15789.stderr b/testsuite/tests/polykinds/T15789.stderr index dc052ceaa78f..039f932c80fb 100644 --- a/testsuite/tests/polykinds/T15789.stderr +++ b/testsuite/tests/polykinds/T15789.stderr @@ -1,5 +1,5 @@ -T15789.hs:10:80: error: +T15789.hs:10:80: error: [GHC-83865] • Expected kind ‘k2 -> *’, but ‘cat b’ has kind ‘*’ • In the first argument of ‘Cat’, namely ‘(forall b. cat b u)’ In the kind ‘forall (cat :: forall xx. xx -> Type) a. diff --git a/testsuite/tests/polykinds/T15804.stderr b/testsuite/tests/polykinds/T15804.stderr index e89bbf8c80f7..98ec68dd6898 100644 --- a/testsuite/tests/polykinds/T15804.stderr +++ b/testsuite/tests/polykinds/T15804.stderr @@ -1,5 +1,5 @@ -T15804.hs:5:12: error: +T15804.hs:5:12: error: [GHC-25897] • Expected a type, but ‘a :: k’ has kind ‘k’ • In the kind ‘(a :: k) -> *’ In the data type declaration for ‘T’ diff --git a/testsuite/tests/polykinds/T15881.stderr b/testsuite/tests/polykinds/T15881.stderr index 47cc5abf5c01..b77751986fcf 100644 --- a/testsuite/tests/polykinds/T15881.stderr +++ b/testsuite/tests/polykinds/T15881.stderr @@ -1,5 +1,5 @@ -T15881.hs:8:18: error: +T15881.hs:8:18: error: [GHC-27958] • Expected kind ‘k0’, but ‘n’ has kind ‘k0 -> *’ • In the first argument of ‘n’, namely ‘n’ In the kind ‘n n’ diff --git a/testsuite/tests/polykinds/T15881a.stderr b/testsuite/tests/polykinds/T15881a.stderr index 23f207dff31c..e5509dc052cf 100644 --- a/testsuite/tests/polykinds/T15881a.stderr +++ b/testsuite/tests/polykinds/T15881a.stderr @@ -1,5 +1,5 @@ -T15881a.hs:8:22: error: +T15881a.hs:8:22: error: [GHC-25897] • Expected a type, but ‘a’ has kind ‘n’ • In the kind ‘a -> Type’ In the data type declaration for ‘A’ diff --git a/testsuite/tests/polykinds/T16221a.stderr b/testsuite/tests/polykinds/T16221a.stderr index 06fb5e0af11d..e86bcb33ea60 100644 --- a/testsuite/tests/polykinds/T16221a.stderr +++ b/testsuite/tests/polykinds/T16221a.stderr @@ -1,5 +1,5 @@ -T16221a.hs:6:49: error: +T16221a.hs:6:49: error: [GHC-25897] • Expected kind ‘k’, but ‘b’ has kind ‘k1’ ‘k1’ is a rigid type variable bound by an explicit forall k (b :: k) diff --git a/testsuite/tests/polykinds/T16244.stderr b/testsuite/tests/polykinds/T16244.stderr index 3e9c22923398..1d9a4560968f 100644 --- a/testsuite/tests/polykinds/T16244.stderr +++ b/testsuite/tests/polykinds/T16244.stderr @@ -1,5 +1,5 @@ -T16244.hs:12:18: error: +T16244.hs:12:18: error: [GHC-25897] • Expected kind ‘k1’, but ‘b’ has kind ‘k2’ ‘k2’ is a rigid type variable bound by the class declaration for ‘C’ diff --git a/testsuite/tests/polykinds/T16245.stderr b/testsuite/tests/polykinds/T16245.stderr index 09cb055f3b3a..41c7d0d8ab2c 100644 --- a/testsuite/tests/polykinds/T16245.stderr +++ b/testsuite/tests/polykinds/T16245.stderr @@ -1,5 +1,5 @@ -T16245.hs:12:36: error: +T16245.hs:12:36: error: [GHC-25897] • Expected kind ‘k1’, but ‘b’ has kind ‘k2’ ‘k2’ is a rigid type variable bound by the class declaration for ‘C’ diff --git a/testsuite/tests/polykinds/T16245a.stderr b/testsuite/tests/polykinds/T16245a.stderr index a7df4f2fbc58..2d99b7f41540 100644 --- a/testsuite/tests/polykinds/T16245a.stderr +++ b/testsuite/tests/polykinds/T16245a.stderr @@ -1,5 +1,5 @@ -T16245a.hs:12:66: error: +T16245a.hs:12:66: error: [GHC-25897] • Expected kind ‘k1’, but ‘b’ has kind ‘k2’ ‘k2’ is a rigid type variable bound by the newtype declaration for ‘T’ diff --git a/testsuite/tests/polykinds/T16247.stderr b/testsuite/tests/polykinds/T16247.stderr index 5c78312f2964..a16e4959cbcd 100644 --- a/testsuite/tests/polykinds/T16247.stderr +++ b/testsuite/tests/polykinds/T16247.stderr @@ -1,5 +1,5 @@ -T16247.hs:10:20: error: +T16247.hs:10:20: error: [GHC-97739] • These kind and type variables: a k (b :: k) are out of dependency order. Perhaps try this ordering: k (a :: k) (b :: k) diff --git a/testsuite/tests/polykinds/T16247a.stderr b/testsuite/tests/polykinds/T16247a.stderr index 8bcd75ac9b1b..6ce35c277a3a 100644 --- a/testsuite/tests/polykinds/T16247a.stderr +++ b/testsuite/tests/polykinds/T16247a.stderr @@ -1,5 +1,5 @@ -T16247a.hs:22:28: error: +T16247a.hs:22:28: error: [GHC-97739] • These kind and type variables: p k are out of dependency order. Perhaps try this ordering: k (p :: k) diff --git a/testsuite/tests/polykinds/T16263.stderr b/testsuite/tests/polykinds/T16263.stderr index 9696f2238d28..29031dc09ee3 100644 --- a/testsuite/tests/polykinds/T16263.stderr +++ b/testsuite/tests/polykinds/T16263.stderr @@ -1,4 +1,4 @@ -T16263.hs:7:1: error: +T16263.hs:7:1: error: [GHC-01259] • Illegal constraint in a kind: Eq a => * • In the data type declaration for ‘Q’ diff --git a/testsuite/tests/polykinds/T16762.stderr b/testsuite/tests/polykinds/T16762.stderr index 6793e5220e1f..21ef106718d4 100644 --- a/testsuite/tests/polykinds/T16762.stderr +++ b/testsuite/tests/polykinds/T16762.stderr @@ -1,5 +1,5 @@ -T16762.hs:11:17: error: +T16762.hs:11:17: error: [GHC-97739] • These kind and type variables: a kx (b :: kx) are out of dependency order. Perhaps try this ordering: kx (a :: kx) (b :: kx) diff --git a/testsuite/tests/polykinds/T16762a.stderr b/testsuite/tests/polykinds/T16762a.stderr index 0a96f77d827a..51bd3f77d1ec 100644 --- a/testsuite/tests/polykinds/T16762a.stderr +++ b/testsuite/tests/polykinds/T16762a.stderr @@ -1,5 +1,5 @@ -T16762a.hs:12:22: error: +T16762a.hs:12:22: error: [GHC-97739] • These kind and type variables: a k (b :: k) are out of dependency order. Perhaps try this ordering: k (a :: k) (b :: k) diff --git a/testsuite/tests/polykinds/T16762c.stderr b/testsuite/tests/polykinds/T16762c.stderr index aa813f345b6b..db259692a4a8 100644 --- a/testsuite/tests/polykinds/T16762c.stderr +++ b/testsuite/tests/polykinds/T16762c.stderr @@ -1,5 +1,5 @@ -T16762c.hs:10:17: error: +T16762c.hs:10:17: error: [GHC-97739] • These kind and type variables: a k (b :: k) are out of dependency order. Perhaps try this ordering: k (a :: k) (b :: k) diff --git a/testsuite/tests/polykinds/T16902.stderr b/testsuite/tests/polykinds/T16902.stderr index 2472fdcb3457..a918f90b950a 100644 --- a/testsuite/tests/polykinds/T16902.stderr +++ b/testsuite/tests/polykinds/T16902.stderr @@ -1,5 +1,5 @@ -T16902.hs:12:10: error: +T16902.hs:12:10: error: [GHC-25897] • Expected a type, but found something with kind ‘a’ ‘a’ is a rigid type variable bound by the type signature for ‘MkF’ diff --git a/testsuite/tests/polykinds/T17841.stderr b/testsuite/tests/polykinds/T17841.stderr index 878f30ae7a02..5c95fb8d0677 100644 --- a/testsuite/tests/polykinds/T17841.stderr +++ b/testsuite/tests/polykinds/T17841.stderr @@ -1,5 +1,5 @@ -T17841.hs:8:45: error: +T17841.hs:8:45: error: [GHC-25897] • Expected a type, but ‘t’ has kind ‘k’ ‘k’ is a rigid type variable bound by the class declaration for ‘Foo’ diff --git a/testsuite/tests/polykinds/T17963.stderr b/testsuite/tests/polykinds/T17963.stderr index 94f730cb30ea..e6a6035b875f 100644 --- a/testsuite/tests/polykinds/T17963.stderr +++ b/testsuite/tests/polykinds/T17963.stderr @@ -1,5 +1,5 @@ -T17963.hs:15:23: error: +T17963.hs:15:23: error: [GHC-25897] • Couldn't match kind ‘rep’ with ‘GHC.Types.LiftedRep’ When matching kinds k0 :: * diff --git a/testsuite/tests/polykinds/T18300.stderr b/testsuite/tests/polykinds/T18300.stderr index 3ddd175d551c..1d12d219a4ea 100644 --- a/testsuite/tests/polykinds/T18300.stderr +++ b/testsuite/tests/polykinds/T18300.stderr @@ -1,2 +1,3 @@ -T18300.hs:9:23: error: Not in scope: data constructor ‘LiftedRep’ +T18300.hs:9:23: error: [GHC-76037] + Not in scope: data constructor ‘LiftedRep’ diff --git a/testsuite/tests/polykinds/T18451.stderr b/testsuite/tests/polykinds/T18451.stderr index 0626e69b790d..8747b7f51d3f 100644 --- a/testsuite/tests/polykinds/T18451.stderr +++ b/testsuite/tests/polykinds/T18451.stderr @@ -1,5 +1,5 @@ -T18451.hs:11:58: error: +T18451.hs:11:58: error: [GHC-27958] • Expected kind ‘k0’, but ‘b’ has kind ‘k’ Type variable kinds: a :: k0 diff --git a/testsuite/tests/polykinds/T18451a.stderr b/testsuite/tests/polykinds/T18451a.stderr index 7a53c03d2257..a64a34de74d1 100644 --- a/testsuite/tests/polykinds/T18451a.stderr +++ b/testsuite/tests/polykinds/T18451a.stderr @@ -1,5 +1,5 @@ -T18451a.hs:11:15: error: +T18451a.hs:11:15: error: [GHC-97739] • These kind and type variables: a b (c :: Const Type b) are out of dependency order. Perhaps try this ordering: (b :: k) (a :: Const (*) b) (c :: Const (*) b) diff --git a/testsuite/tests/polykinds/T18451b.stderr b/testsuite/tests/polykinds/T18451b.stderr index f426c73fa0da..9389400d6d58 100644 --- a/testsuite/tests/polykinds/T18451b.stderr +++ b/testsuite/tests/polykinds/T18451b.stderr @@ -1,5 +1,5 @@ -T18451b.hs:11:15: error: +T18451b.hs:11:15: error: [GHC-97739] • These kind and type variables: a b (c :: Const Type b) are out of dependency order. Perhaps try this ordering: (b :: k) (a :: Const (*) b) (c :: Const (*) b) diff --git a/testsuite/tests/polykinds/T5716.stderr b/testsuite/tests/polykinds/T5716.stderr index 41bf5173398d..0ae323c25f64 100644 --- a/testsuite/tests/polykinds/T5716.stderr +++ b/testsuite/tests/polykinds/T5716.stderr @@ -1,5 +1,5 @@ -T5716.hs:14:39: error: +T5716.hs:14:39: error: [GHC-88634] • Data constructor ‘DFInt’ cannot be used here (it comes from a data family instance) • In the first argument of ‘U1’, namely ‘DFInt’ diff --git a/testsuite/tests/polykinds/T5716a.stderr b/testsuite/tests/polykinds/T5716a.stderr index acec5e146db9..e6d861c71a32 100644 --- a/testsuite/tests/polykinds/T5716a.stderr +++ b/testsuite/tests/polykinds/T5716a.stderr @@ -1,7 +1,7 @@ -T5716a.hs:10:27: - Data constructor ‘Bar’ cannot be used here - (it comes from a data family instance) - In the type ‘(Bar a)’ - In the definition of data constructor ‘Bar’ - In the data instance declaration for ‘DF’ +T5716a.hs:10:27: error: [GHC-88634] + • Data constructor ‘Bar’ cannot be used here + (it comes from a data family instance) + • In the type ‘(Bar a)’ + In the definition of data constructor ‘Bar’ + In the data instance declaration for ‘DF’ diff --git a/testsuite/tests/polykinds/T6054.stderr b/testsuite/tests/polykinds/T6054.stderr index 3c967a12be8b..c215c26424f6 100644 --- a/testsuite/tests/polykinds/T6054.stderr +++ b/testsuite/tests/polykinds/T6054.stderr @@ -1,5 +1,5 @@ -T6054.hs:7:14: error: +T6054.hs:7:14: error: [GHC-39999] • No instance for ‘Bar '() a0’ arising from an expression type signature • In the first argument of ‘print’, namely diff --git a/testsuite/tests/polykinds/T6129.stderr b/testsuite/tests/polykinds/T6129.stderr index 451d851c5de4..7056cc331878 100644 --- a/testsuite/tests/polykinds/T6129.stderr +++ b/testsuite/tests/polykinds/T6129.stderr @@ -1,7 +1,7 @@ -T6129.hs:12:11: - Data constructor ‘DInt’ cannot be used here - (it comes from a data family instance) - In the first argument of ‘X’, namely ‘DInt’ - In the type ‘X DInt’ - In the definition of data constructor ‘X1’ +T6129.hs:12:11: error: [GHC-88634] + • Data constructor ‘DInt’ cannot be used here + (it comes from a data family instance) + • In the first argument of ‘X’, namely ‘DInt’ + In the type ‘X DInt’ + In the definition of data constructor ‘X1’ diff --git a/testsuite/tests/polykinds/T7224.stderr b/testsuite/tests/polykinds/T7224.stderr index 8a6be86ce07b..9ef09aed7b60 100644 --- a/testsuite/tests/polykinds/T7224.stderr +++ b/testsuite/tests/polykinds/T7224.stderr @@ -1,5 +1,5 @@ -T7224.hs:7:19: error: +T7224.hs:7:19: error: [GHC-25897] • Expected kind ‘i’, but ‘i’ has kind ‘*’ ‘i’ is a rigid type variable bound by the class declaration for ‘PMonad'’ @@ -8,7 +8,7 @@ T7224.hs:7:19: error: In the type signature: ret' :: a -> m i i a In the class declaration for ‘PMonad'’ -T7224.hs:8:14: error: +T7224.hs:8:14: error: [GHC-25897] • Expected kind ‘i’, but ‘i’ has kind ‘*’ ‘i’ is a rigid type variable bound by the class declaration for ‘PMonad'’ diff --git a/testsuite/tests/polykinds/T7230.stderr b/testsuite/tests/polykinds/T7230.stderr index 679a96bddd7f..696a4f0d1c44 100644 --- a/testsuite/tests/polykinds/T7230.stderr +++ b/testsuite/tests/polykinds/T7230.stderr @@ -1,5 +1,5 @@ -T7230.hs:48:32: error: +T7230.hs:48:32: error: [GHC-05617] • Could not deduce ‘(x :<<= x1) ~ 'True’ from the context: Increasing xs ~ 'True bound by the type signature for: diff --git a/testsuite/tests/polykinds/T7278.stderr b/testsuite/tests/polykinds/T7278.stderr index 93b0e9aa3d03..52ff5ad28757 100644 --- a/testsuite/tests/polykinds/T7278.stderr +++ b/testsuite/tests/polykinds/T7278.stderr @@ -1,5 +1,5 @@ -T7278.hs:9:43: error: +T7278.hs:9:43: error: [GHC-25897] • Expected kind ‘* -> * -> *’, but ‘t’ has kind ‘k1’ ‘k1’ is a rigid type variable bound by the type signature for ‘f’ diff --git a/testsuite/tests/polykinds/T7328.stderr b/testsuite/tests/polykinds/T7328.stderr index d1ba591512a0..285ded5763d5 100644 --- a/testsuite/tests/polykinds/T7328.stderr +++ b/testsuite/tests/polykinds/T7328.stderr @@ -1,5 +1,5 @@ -T7328.hs:8:34: error: +T7328.hs:8:34: error: [GHC-27958] • Expected kind ‘k1’, but ‘f’ has kind ‘k0 -> k1’ • In the first argument of ‘Foo’, namely ‘f’ In the first argument of ‘Proxy’, namely ‘(Foo f)’ diff --git a/testsuite/tests/polykinds/T7341.stderr b/testsuite/tests/polykinds/T7341.stderr index 925c68e52d26..c565a79f353a 100644 --- a/testsuite/tests/polykinds/T7341.stderr +++ b/testsuite/tests/polykinds/T7341.stderr @@ -1,6 +1,6 @@ -T7341.hs:11:12: - Expecting one more argument to ‘[]’ - Expected a type, but ‘[]’ has kind ‘* -> *’ - In the first argument of ‘C’, namely ‘[]’ - In the instance declaration for ‘C []’ +T7341.hs:11:12: error: [GHC-83865] + • Expecting one more argument to ‘[]’ + Expected a type, but ‘[]’ has kind ‘* -> *’ + • In the first argument of ‘C’, namely ‘[]’ + In the instance declaration for ‘C []’ diff --git a/testsuite/tests/polykinds/T7433.stderr b/testsuite/tests/polykinds/T7433.stderr index 317a9a4595bb..82ebdfc76da8 100644 --- a/testsuite/tests/polykinds/T7433.stderr +++ b/testsuite/tests/polykinds/T7433.stderr @@ -1,5 +1,5 @@ -T7433.hs:2:10: error: +T7433.hs:2:10: error: [GHC-88634] • Data constructor ‘Z’ cannot be used here (perhaps you intended to use DataKinds) • In the type ‘'Z’ diff --git a/testsuite/tests/polykinds/T7438.stderr b/testsuite/tests/polykinds/T7438.stderr index e6b99ea45210..e6a94deef118 100644 --- a/testsuite/tests/polykinds/T7438.stderr +++ b/testsuite/tests/polykinds/T7438.stderr @@ -1,5 +1,5 @@ -T7438.hs:6:14: error: +T7438.hs:6:14: error: [GHC-25897] • Could not deduce ‘p1 ~ p2’ from the context: b ~ a bound by a pattern with constructor: diff --git a/testsuite/tests/polykinds/T7524.stderr b/testsuite/tests/polykinds/T7524.stderr index a158f58007ef..566f671c4277 100644 --- a/testsuite/tests/polykinds/T7524.stderr +++ b/testsuite/tests/polykinds/T7524.stderr @@ -1,5 +1,5 @@ -T7524.hs:5:15: error: +T7524.hs:5:15: error: [GHC-34447] Conflicting family instance declarations: forall {k2} {a :: k2}. F a a = Int -- Defined at T7524.hs:5:15 forall {k1} {k2} {a :: k1} {b :: k2}. diff --git a/testsuite/tests/polykinds/T7594.stderr b/testsuite/tests/polykinds/T7594.stderr index 39ebac66d558..ecc2a56a41d8 100644 --- a/testsuite/tests/polykinds/T7594.stderr +++ b/testsuite/tests/polykinds/T7594.stderr @@ -1,5 +1,5 @@ -T7594.hs:37:12: error: +T7594.hs:37:12: error: [GHC-25897] • Could not deduce ‘b ~ IO ()’ from the context: (:&:) c0 Real a bound by a type expected by the context: diff --git a/testsuite/tests/polykinds/T7805.stderr b/testsuite/tests/polykinds/T7805.stderr index cb87c5af6e39..94158fa893a0 100644 --- a/testsuite/tests/polykinds/T7805.stderr +++ b/testsuite/tests/polykinds/T7805.stderr @@ -1,5 +1,5 @@ -T7805.hs:8:21: error: +T7805.hs:8:21: error: [GHC-83865] • Expected kind ‘forall a. a -> a’, but ‘x’ has kind ‘*’ • In the first argument of ‘HR’, namely ‘x’ In the first argument of ‘F’, namely ‘(HR x)’ diff --git a/testsuite/tests/polykinds/T7939a.stderr b/testsuite/tests/polykinds/T7939a.stderr index 4b24b3dc72da..39a4b6e1469f 100644 --- a/testsuite/tests/polykinds/T7939a.stderr +++ b/testsuite/tests/polykinds/T7939a.stderr @@ -1,6 +1,6 @@ -T7939a.hs:7:5: - Expecting one more argument to ‘Maybe’ - Expected a type, but ‘Maybe’ has kind ‘* -> *’ - In the first argument of ‘F’, namely ‘Maybe’ - In the type family declaration for ‘F’ +T7939a.hs:7:5: error: [GHC-83865] + • Expecting one more argument to ‘Maybe’ + Expected a type, but ‘Maybe’ has kind ‘* -> *’ + • In the first argument of ‘F’, namely ‘Maybe’ + In the type family declaration for ‘F’ diff --git a/testsuite/tests/polykinds/T8132.stderr b/testsuite/tests/polykinds/T8132.stderr index da25e7718af0..e0f8faa57fd4 100644 --- a/testsuite/tests/polykinds/T8132.stderr +++ b/testsuite/tests/polykinds/T8132.stderr @@ -1,4 +1,4 @@ -T8132.hs:7:10: error: +T8132.hs:7:10: error: [GHC-97044] • Class ‘Typeable’ does not support user-specified instances. • In the instance declaration for ‘Typeable K’ diff --git a/testsuite/tests/polykinds/T8566.stderr b/testsuite/tests/polykinds/T8566.stderr index 20d56fc63c57..a5df878b2768 100644 --- a/testsuite/tests/polykinds/T8566.stderr +++ b/testsuite/tests/polykinds/T8566.stderr @@ -1,5 +1,5 @@ -T8566.hs:35:9: error: +T8566.hs:35:9: error: [GHC-39999] • Could not deduce ‘C ('AA (t (I a ps)) as) ps fs0’ arising from a use of ‘c’ from the context: C ('AA (t (I a ps)) as) ps fs diff --git a/testsuite/tests/polykinds/T8616.stderr b/testsuite/tests/polykinds/T8616.stderr index 71c2f00584ad..df37ff239d31 100644 --- a/testsuite/tests/polykinds/T8616.stderr +++ b/testsuite/tests/polykinds/T8616.stderr @@ -1,5 +1,5 @@ -T8616.hs:8:30: error: +T8616.hs:8:30: error: [GHC-25897] • Expected a type, but ‘Any :: k’ has kind ‘k’ ‘k’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/polykinds/T9017.stderr b/testsuite/tests/polykinds/T9017.stderr index ca6a4b564dc6..3ee1032c0a85 100644 --- a/testsuite/tests/polykinds/T9017.stderr +++ b/testsuite/tests/polykinds/T9017.stderr @@ -1,5 +1,5 @@ -T9017.hs:8:7: error: +T9017.hs:8:7: error: [GHC-25897] • Couldn't match kind ‘k2’ with ‘*’ When matching types a0 :: * -> * -> * diff --git a/testsuite/tests/polykinds/T9144.stderr b/testsuite/tests/polykinds/T9144.stderr index 6d5c3c0b4408..a00f8dcd467d 100644 --- a/testsuite/tests/polykinds/T9144.stderr +++ b/testsuite/tests/polykinds/T9144.stderr @@ -1,5 +1,5 @@ -T9144.hs:34:26: error: +T9144.hs:34:26: error: [GHC-83865] • Couldn't match type ‘Integer’ with ‘FooTerm’ Expected: DemoteRep @Nat ('KProxy @Nat) Actual: DemoteRep @Foo ('KProxy @Foo) diff --git a/testsuite/tests/polykinds/T9200b.stderr b/testsuite/tests/polykinds/T9200b.stderr index 7c3cb65bd0d8..51a5d1692cff 100644 --- a/testsuite/tests/polykinds/T9200b.stderr +++ b/testsuite/tests/polykinds/T9200b.stderr @@ -1,5 +1,5 @@ -T9200b.hs:8:5: error: +T9200b.hs:8:5: error: [GHC-25897] • Expected kind ‘k’, but ‘True’ has kind ‘Bool’ • In the first argument of ‘F’, namely ‘True’ In the type family declaration for ‘F’ diff --git a/testsuite/tests/polykinds/TyVarTvKinds3.stderr b/testsuite/tests/polykinds/TyVarTvKinds3.stderr index a267c3dc828b..cda6b50e5e60 100644 --- a/testsuite/tests/polykinds/TyVarTvKinds3.stderr +++ b/testsuite/tests/polykinds/TyVarTvKinds3.stderr @@ -1,5 +1,5 @@ -TyVarTvKinds3.hs:9:62: error: +TyVarTvKinds3.hs:9:62: error: [GHC-25897] • Expected kind ‘k1’, but ‘b’ has kind ‘k2’ ‘k2’ is a rigid type variable bound by the type signature for ‘MkBad’ diff --git a/testsuite/tests/printer/T14343.stderr b/testsuite/tests/printer/T14343.stderr index 02b50eb640be..16d67dd9eb2e 100644 --- a/testsuite/tests/printer/T14343.stderr +++ b/testsuite/tests/printer/T14343.stderr @@ -1,5 +1,5 @@ -T14343.hs:10:9: error: +T14343.hs:10:9: error: [GHC-88464] • Found hole: _ :: Proxy '[ 'True] • In the expression: _ :: Proxy '[ 'True] In an equation for ‘test1’: test1 = _ :: Proxy '[ 'True] @@ -11,7 +11,7 @@ T14343.hs:10:9: error: with Proxy @'[ 'True] (defined at T14343.hs:8:16) -T14343.hs:11:9: error: +T14343.hs:11:9: error: [GHC-88464] • Found hole: _ :: Proxy '[ '[1]] • In the expression: _ :: Proxy '[ '[1]] In an equation for ‘test2’: test2 = _ :: Proxy '[ '[1]] @@ -23,7 +23,7 @@ T14343.hs:11:9: error: with Proxy @'[ '[1]] (defined at T14343.hs:8:16) -T14343.hs:12:9: error: +T14343.hs:12:9: error: [GHC-88464] • Found hole: _ :: Proxy '[ '("Symbol", 1)] • In the expression: _ :: Proxy '[ '("Symbol", 1)] In an equation for ‘test3’: test3 = _ :: Proxy '[ '("Symbol", 1)] diff --git a/testsuite/tests/printer/T14343b.stderr b/testsuite/tests/printer/T14343b.stderr index cc2307984cfd..c19039ec7ed0 100644 --- a/testsuite/tests/printer/T14343b.stderr +++ b/testsuite/tests/printer/T14343b.stderr @@ -1,5 +1,5 @@ -T14343b.hs:10:9: error: +T14343b.hs:10:9: error: [GHC-88464] • Found hole: _ :: Proxy '( 'True, 'False) • In the expression: _ :: Proxy '( 'True, 'False) In an equation for ‘test1’: test1 = _ :: Proxy '( 'True, 'False) @@ -11,7 +11,7 @@ T14343b.hs:10:9: error: with Proxy @'( 'True, 'False) (defined at T14343b.hs:8:16) -T14343b.hs:11:9: error: +T14343b.hs:11:9: error: [GHC-88464] • Found hole: _ :: Proxy '( '( 'True, 'False), 'False) • In the expression: _ :: Proxy '( '( 'True, 'False), 'False) In an equation for ‘test2’: @@ -26,7 +26,7 @@ T14343b.hs:11:9: error: with Proxy @'( '( 'True, 'False), 'False) (defined at T14343b.hs:8:16) -T14343b.hs:12:9: error: +T14343b.hs:12:9: error: [GHC-88464] • Found hole: _ :: Proxy '( '[1], 'False) • In the expression: _ :: Proxy '( '[1], 'False) In an equation for ‘test3’: test3 = _ :: Proxy '( '[1], 'False) diff --git a/testsuite/tests/printer/T15761.stderr b/testsuite/tests/printer/T15761.stderr index 10425b43e62a..83a6451b5142 100644 --- a/testsuite/tests/printer/T15761.stderr +++ b/testsuite/tests/printer/T15761.stderr @@ -1,5 +1,5 @@ -T15761.hs:5:1: error: +T15761.hs:5:1: error: [GHC-83865] • Expecting one more argument to ‘(Int + Bool) Double’ Expected a type, but ‘(Int + Bool) Double’ has kind ‘* -> *’ • In the data instance declaration for ‘+’ diff --git a/testsuite/tests/printer/T17697.stderr b/testsuite/tests/printer/T17697.stderr index cdd9e7fc2972..f7b63dae408c 100644 --- a/testsuite/tests/printer/T17697.stderr +++ b/testsuite/tests/printer/T17697.stderr @@ -1,7 +1,7 @@ -T17697.hs:6:5: warning: [-Wdeferred-out-of-scope-variables (in -Wdefault)] +T17697.hs:6:5: warning: [GHC-88464] [-Wdeferred-out-of-scope-variables (in -Wdefault)] Variable not in scope: threadDelay :: t0 -> IO a0 -T17697.hs:6:5: warning: [-Wunused-do-bind (in -Wall)] +T17697.hs:6:5: warning: [GHC-81995] [-Wunused-do-bind (in -Wall)] A do-notation statement discarded a result of type ‘GHC.Types.Any’ Suggested fix: Suppress this warning by saying ‘_ <- threadDelay 1’ diff --git a/testsuite/tests/printer/Test20315.stderr b/testsuite/tests/printer/Test20315.stderr index 061459f23be6..258abc1fdad5 100644 --- a/testsuite/tests/printer/Test20315.stderr +++ b/testsuite/tests/printer/Test20315.stderr @@ -1,5 +1,5 @@ -Test20315.hs:3:5: error: +Test20315.hs:3:5: error: [GHC-83865] • Couldn't match type ‘'Many’ with ‘m1 n1’ Expected: a1 %(m1 n1) -> a1 Actual: a1 -> a1 diff --git a/testsuite/tests/profiling/should_fail/T17916.stderr b/testsuite/tests/profiling/should_fail/T17916.stderr index d7072126fe27..b52318897531 100644 --- a/testsuite/tests/profiling/should_fail/T17916.stderr +++ b/testsuite/tests/profiling/should_fail/T17916.stderr @@ -1,2 +1,3 @@ -T17916.hs:6:13: error: parse error on input ‘CapitalCase’ +T17916.hs:6:13: error: [GHC-58481] + parse error on input ‘CapitalCase’ diff --git a/testsuite/tests/profiling/should_fail/proffail001.stderr b/testsuite/tests/profiling/should_fail/proffail001.stderr index 5dec3b9e5471..d6eadc88679d 100644 --- a/testsuite/tests/profiling/should_fail/proffail001.stderr +++ b/testsuite/tests/profiling/should_fail/proffail001.stderr @@ -1,2 +1,3 @@ -proffail001.hs:5:18: Spaces are not allowed in SCCs +proffail001.hs:5:18: error: [GHC-76176] + Spaces are not allowed in SCCs diff --git a/testsuite/tests/qualifieddo/should_fail/qdofail001.stderr b/testsuite/tests/qualifieddo/should_fail/qdofail001.stderr index 62cc54e2df00..829cbcc91058 100644 --- a/testsuite/tests/qualifieddo/should_fail/qdofail001.stderr +++ b/testsuite/tests/qualifieddo/should_fail/qdofail001.stderr @@ -1,7 +1,7 @@ -qdofail001.hs:11:7: - Couldn't match expected type ‘Int’ with actual type ‘Char’ - In the pattern: ' ' +qdofail001.hs:11:7: error: [GHC-83865] + • Couldn't match expected type ‘Int’ with actual type ‘Char’ + • In the pattern: ' ' In a stmt of a qualified 'do' block: y@' ' <- [1, 2 :: Int] In the second argument of ‘($)’, namely ‘P.do x <- [1, 2] diff --git a/testsuite/tests/qualifieddo/should_fail/qdofail002.stderr b/testsuite/tests/qualifieddo/should_fail/qdofail002.stderr index bea64513c615..a42c112cd2d5 100644 --- a/testsuite/tests/qualifieddo/should_fail/qdofail002.stderr +++ b/testsuite/tests/qualifieddo/should_fail/qdofail002.stderr @@ -1,8 +1,8 @@ -qdofail002.hs:8:11: +qdofail002.hs:8:11: error: [GHC-40280] Illegal qualified ‘P.do’ block Suggested fix: Perhaps you intended to use QualifiedDo -qdofail002.hs:11:13: +qdofail002.hs:11:13: error: [GHC-40280] Illegal qualified ‘P.mdo’ block Suggested fix: Perhaps you intended to use QualifiedDo diff --git a/testsuite/tests/qualifieddo/should_fail/qdofail003.stderr b/testsuite/tests/qualifieddo/should_fail/qdofail003.stderr index ed59cd2bf42c..bd34088a51da 100644 --- a/testsuite/tests/qualifieddo/should_fail/qdofail003.stderr +++ b/testsuite/tests/qualifieddo/should_fail/qdofail003.stderr @@ -1,5 +1,5 @@ -qdofail003.hs:11:5: error: +qdofail003.hs:11:5: error: [GHC-76037] Not in scope: ‘P.>>’ Suggested fix: Perhaps you want to remove ‘>>’ from the explicit hiding list diff --git a/testsuite/tests/qualifieddo/should_fail/qdofail004.stderr b/testsuite/tests/qualifieddo/should_fail/qdofail004.stderr index cfe60a90105f..6bfb5daeb42b 100644 --- a/testsuite/tests/qualifieddo/should_fail/qdofail004.stderr +++ b/testsuite/tests/qualifieddo/should_fail/qdofail004.stderr @@ -1,5 +1,5 @@ -qdofail004.hs:10:5: error: +qdofail004.hs:10:5: error: [GHC-76037] Not in scope: ‘P.fail’ Suggested fix: Perhaps you want to remove ‘fail’ from the explicit hiding list diff --git a/testsuite/tests/qualifieddo/should_fail/qdofail005.stderr b/testsuite/tests/qualifieddo/should_fail/qdofail005.stderr index 8d49e1d3babf..b371e1d8002c 100644 --- a/testsuite/tests/qualifieddo/should_fail/qdofail005.stderr +++ b/testsuite/tests/qualifieddo/should_fail/qdofail005.stderr @@ -1,5 +1,5 @@ -qdofail005.hs:11:23: +qdofail005.hs:11:23: error: [GHC-54089] Parse error in command: Found a qualified P.do block in a command, but qualified 'do' is not supported in commands. diff --git a/testsuite/tests/quantified-constraints/T15290a.stderr b/testsuite/tests/quantified-constraints/T15290a.stderr index 7513fa4f9b9c..0153a1a937ce 100644 --- a/testsuite/tests/quantified-constraints/T15290a.stderr +++ b/testsuite/tests/quantified-constraints/T15290a.stderr @@ -1,5 +1,5 @@ -T15290a.hs:25:12: error: +T15290a.hs:25:12: error: [GHC-18872] • Couldn't match representation of type: m (Int, IntStateT m a1) with that of: m (Int, StateT Int m a1) arising from a use of ‘coerce’ diff --git a/testsuite/tests/quantified-constraints/T15290b.stderr b/testsuite/tests/quantified-constraints/T15290b.stderr index 1c96359d968e..e2a426b70abf 100644 --- a/testsuite/tests/quantified-constraints/T15290b.stderr +++ b/testsuite/tests/quantified-constraints/T15290b.stderr @@ -1,5 +1,5 @@ -T15290b.hs:28:49: error: +T15290b.hs:28:49: error: [GHC-18872] • Couldn't match representation of type: f (m b) with that of: f (T1 m b) arising from the coercion of the method ‘traverse'’ diff --git a/testsuite/tests/quantified-constraints/T15334.stderr b/testsuite/tests/quantified-constraints/T15334.stderr index 902d7a71e530..60476208aa45 100644 --- a/testsuite/tests/quantified-constraints/T15334.stderr +++ b/testsuite/tests/quantified-constraints/T15334.stderr @@ -1,5 +1,5 @@ -T15334.hs:8:6: error: +T15334.hs:8:6: error: [GHC-69012] • You can't specify an instance for a tuple constraint • In the quantified constraint ‘forall a. Eq a => (C m a, D m a)’ In the type signature: diff --git a/testsuite/tests/quantified-constraints/T15918.stderr b/testsuite/tests/quantified-constraints/T15918.stderr index 4ee54563c57c..0f4d7e5e07c4 100644 --- a/testsuite/tests/quantified-constraints/T15918.stderr +++ b/testsuite/tests/quantified-constraints/T15918.stderr @@ -1,5 +1,5 @@ -T15918.hs:19:19: error: +T15918.hs:19:19: error: [GHC-83865] • Couldn't match kind ‘*’ with ‘k0 -> *’ Expected kind ‘(k0 -> *) -> Constraint’, but ‘[]’ has kind ‘* -> *’ • In the first argument of ‘Build’, namely ‘[]’ diff --git a/testsuite/tests/quantified-constraints/T16474.stderr b/testsuite/tests/quantified-constraints/T16474.stderr index b9e7f2d981e9..787d0c732d8a 100644 --- a/testsuite/tests/quantified-constraints/T16474.stderr +++ b/testsuite/tests/quantified-constraints/T16474.stderr @@ -1,8 +1,8 @@ -T16474.hs:6:1: - Quantified predicate must have a class or type variable head: - forall a. A t a => A t [a] - In the quantified constraint ‘forall a. A t a => A t [a]’ - In the context: forall a. A t a => A t [a] - While checking the super-classes of class ‘B’ - In the class declaration for ‘B’ +T16474.hs:6:1: error: [GHC-02550] + • Quantified predicate must have a class or type variable head: + forall a. A t a => A t [a] + • In the quantified constraint ‘forall a. A t a => A t [a]’ + In the context: forall a. A t a => A t [a] + While checking the super-classes of class ‘B’ + In the class declaration for ‘B’ diff --git a/testsuite/tests/quantified-constraints/T19921.stderr b/testsuite/tests/quantified-constraints/T19921.stderr index bf33abe25692..4ebc2d227f5b 100644 --- a/testsuite/tests/quantified-constraints/T19921.stderr +++ b/testsuite/tests/quantified-constraints/T19921.stderr @@ -1,5 +1,5 @@ -T19921.hs:29:8: error: +T19921.hs:29:8: error: [GHC-05617] • Could not deduce ‘r’ arising from a use of ‘Dict’ from the context: (x \/ y) \/ z bound by a quantified context at T19921.hs:29:8-11 diff --git a/testsuite/tests/quantified-constraints/T21006.stderr b/testsuite/tests/quantified-constraints/T21006.stderr index cd8ee705bbfb..1abacf8eb5a3 100644 --- a/testsuite/tests/quantified-constraints/T21006.stderr +++ b/testsuite/tests/quantified-constraints/T21006.stderr @@ -1,5 +1,5 @@ -T21006.hs:14:10: error: +T21006.hs:14:10: error: [GHC-05617] • Could not deduce ‘c’ arising from the superclasses of an instance declaration from the context: (Determines b, Determines c) diff --git a/testsuite/tests/quasiquotation/T3953.stderr b/testsuite/tests/quasiquotation/T3953.stderr index 99c63b1c97af..65006369c74b 100644 --- a/testsuite/tests/quasiquotation/T3953.stderr +++ b/testsuite/tests/quasiquotation/T3953.stderr @@ -1,4 +1,4 @@ -T3953.hs:5:7: - Not in scope: ‘notDefinedHere’ - In the quasi-quotation: [notDefinedHere| |] +T3953.hs:5:7: error: [GHC-76037] + • Not in scope: ‘notDefinedHere’ + • In the quasi-quotation: [notDefinedHere| |] diff --git a/testsuite/tests/quasiquotation/T5204.stderr b/testsuite/tests/quasiquotation/T5204.stderr index 8f19d65cb243..22461f8bfe33 100644 --- a/testsuite/tests/quasiquotation/T5204.stderr +++ b/testsuite/tests/quasiquotation/T5204.stderr @@ -1,2 +1,3 @@ -T5204.hs:17:7: unterminated quasiquotation at end of input +T5204.hs:17:7: error: [GHC-21231] + unterminated quasiquotation at end of input diff --git a/testsuite/tests/quotes/T10384.stderr b/testsuite/tests/quotes/T10384.stderr index f2360fd5bae2..7bd14d6b6fb9 100644 --- a/testsuite/tests/quotes/T10384.stderr +++ b/testsuite/tests/quotes/T10384.stderr @@ -1,6 +1,6 @@ -T10384.hs:3:37: error: - Can't splice the polymorphic local variable ‘y’ - In the Template Haskell quotation [|| y ||] - In the expression: [|| y ||] - In the expression: \ (y :: forall a. a -> a) -> [|| y ||] +T10384.hs:3:37: error: [GHC-06568] + • Can't splice the polymorphic local variable ‘y’ + • In the Template Haskell quotation [|| y ||] + In the expression: [|| y ||] + In the expression: \ (y :: forall a. a -> a) -> [|| y ||] diff --git a/testsuite/tests/quotes/TH_abstractFamily.stderr b/testsuite/tests/quotes/TH_abstractFamily.stderr index c0aa8d274b71..27684e9424c0 100644 --- a/testsuite/tests/quotes/TH_abstractFamily.stderr +++ b/testsuite/tests/quotes/TH_abstractFamily.stderr @@ -1,5 +1,5 @@ -TH_abstractFamily.hs:11:7: +TH_abstractFamily.hs:11:7: error: [GHC-65904] abstract closed type family not (yet) handled by Template Haskell type family G a where .. diff --git a/testsuite/tests/quotes/TH_localname.stderr b/testsuite/tests/quotes/TH_localname.stderr index 09cfae4b6ef7..07ad3c4084e4 100644 --- a/testsuite/tests/quotes/TH_localname.stderr +++ b/testsuite/tests/quotes/TH_localname.stderr @@ -1,5 +1,5 @@ -TH_localname.hs:3:11: error: +TH_localname.hs:3:11: error: [GHC-39999] • Ambiguous type variable ‘t0’ arising from a use of ‘Language.Haskell.TH.Syntax.lift’ prevents the constraint ‘(Language.Haskell.TH.Syntax.Lift t0)’ from being solved. @@ -17,7 +17,7 @@ TH_localname.hs:3:11: error: Language.Haskell.TH.Syntax.Lift (Maybe a) -- Defined in ‘Language.Haskell.TH.Syntax’ ...plus 15 others - ...plus 12 instances involving out-of-scope types + ...plus 13 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: Language.Haskell.TH.Syntax.lift y In the expression: diff --git a/testsuite/tests/rebindable/DoParamM.stderr b/testsuite/tests/rebindable/DoParamM.stderr index 41b56ecb07df..012dad903528 100644 --- a/testsuite/tests/rebindable/DoParamM.stderr +++ b/testsuite/tests/rebindable/DoParamM.stderr @@ -1,11 +1,11 @@ -DoParamM.hs:146:25: error: +DoParamM.hs:146:25: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the second argument of ‘(==)’, namely ‘v'’ In the first argument of ‘return’, namely ‘(v == v')’ In a stmt of a 'do' block: return (v == v') -DoParamM.hs:286:28: error: +DoParamM.hs:286:28: error: [GHC-83865] • Couldn't match type ‘Unlocked’ with ‘Locked’ Expected: LIO Locked Locked () Actual: LIO Unlocked Locked () @@ -18,7 +18,7 @@ DoParamM.hs:286:28: error: = do tlock2_do tlock2_do -DoParamM.hs:302:37: error: +DoParamM.hs:302:37: error: [GHC-83865] • Couldn't match type ‘Locked’ with ‘Unlocked’ Expected: LIO Unlocked Unlocked () Actual: LIO Locked Unlocked () diff --git a/testsuite/tests/rebindable/T20126.stderr b/testsuite/tests/rebindable/T20126.stderr index c23bab54e5bc..62789da4902b 100644 --- a/testsuite/tests/rebindable/T20126.stderr +++ b/testsuite/tests/rebindable/T20126.stderr @@ -1,5 +1,5 @@ -T20126.hs:13:7: error: +T20126.hs:13:7: error: [GHC-39999] • No instance for ‘Wombat ()’ arising from an if-then-else expression • In the expression: if True then () else () diff --git a/testsuite/tests/rebindable/rebindable11.stderr b/testsuite/tests/rebindable/rebindable11.stderr index 5a8acefd9f52..07ff6692abc0 100644 --- a/testsuite/tests/rebindable/rebindable11.stderr +++ b/testsuite/tests/rebindable/rebindable11.stderr @@ -1,48 +1,48 @@ -rebindable11.hs:10:19: error: +rebindable11.hs:10:19: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the expression: 'a' In the expression: if 'a' then () else () In an equation for ‘foo’: foo = if 'a' then () else () -rebindable11.hs:11:10: error: +rebindable11.hs:11:10: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the expression: 'a' In the first argument of ‘(*)’, namely ‘(if 'a' then () else ())’ In the first argument of ‘(+)’, namely ‘(if 'a' then () else ()) * 2’ -rebindable11.hs:12:9: error: +rebindable11.hs:12:9: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the expression: 'a' In the expression: if 'a' then () else () In an equation for ‘a3’: a3 = if 'a' then () else () -rebindable11.hs:13:13: error: +rebindable11.hs:13:13: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the expression: 'a' In the first argument of ‘(==)’, namely ‘(if 'a' then () else ())’ In the expression: (if 'a' then () else ()) == 10 -rebindable11.hs:14:17: error: +rebindable11.hs:14:17: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the expression: 'a' In the body of a static form: (if 'a' then () else ()) In the expression: static (if 'a' then () else ()) -rebindable11.hs:15:10: error: +rebindable11.hs:15:10: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the expression: 'a' In the expression: (if 'a' then () else ()) :: Int In an equation for ‘a6’: a6 = (if 'a' then () else ()) :: Int -rebindable11.hs:18:21: error: +rebindable11.hs:18:21: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the expression: 'a' In the ‘field’ field of a record In the expression: A {field = if 'a' then () else ()} -rebindable11.hs:19:53: error: +rebindable11.hs:19:53: error: [GHC-83865] • Couldn't match expected type ‘Bool’ with actual type ‘Char’ • In the second argument of ‘(==)’, namely ‘'a'’ In the expression: True == 'a' diff --git a/testsuite/tests/rebindable/rebindable12.stderr b/testsuite/tests/rebindable/rebindable12.stderr index e6c97e95f67c..5a914418e8ec 100644 --- a/testsuite/tests/rebindable/rebindable12.stderr +++ b/testsuite/tests/rebindable/rebindable12.stderr @@ -1,5 +1,5 @@ -rebindable12.hs:10:5: - Couldn't match expected type ‘()’ with actual type ‘() -> ()’ - In the expression: if 'a' then () else () +rebindable12.hs:10:5: error: [GHC-83865] + • Couldn't match expected type ‘()’ with actual type ‘() -> ()’ + • In the expression: if 'a' then () else () In an equation for ‘y’: y = if 'a' then () else () diff --git a/testsuite/tests/rebindable/rebindable6.stderr b/testsuite/tests/rebindable/rebindable6.stderr index 1c9c3ee1e172..61cb0d9775cf 100644 --- a/testsuite/tests/rebindable/rebindable6.stderr +++ b/testsuite/tests/rebindable/rebindable6.stderr @@ -1,5 +1,5 @@ -rebindable6.hs:110:17: error: +rebindable6.hs:110:17: error: [GHC-39999] • Ambiguous type variable ‘t0’ arising from a do statement prevents the constraint ‘(HasSeq (IO a -> t0 -> IO b))’ from being solved. @@ -24,7 +24,7 @@ rebindable6.hs:110:17: error: Just (b :: b) <- g return b -rebindable6.hs:111:17: error: +rebindable6.hs:111:17: error: [GHC-39999] • Ambiguous type variables ‘p0’, ‘t0’ arising from a do statement prevents the constraint ‘(HasBind (IO (Maybe b) -> (Maybe b -> p0) -> t0))’ from being solved. @@ -49,7 +49,7 @@ rebindable6.hs:111:17: error: Just (b :: b) <- g return b -rebindable6.hs:112:17: error: +rebindable6.hs:112:17: error: [GHC-39999] • Ambiguous type variable ‘p0’ arising from a use of ‘return’ prevents the constraint ‘(HasReturn (b -> p0))’ from being solved. (maybe you haven't applied a function to enough arguments?) diff --git a/testsuite/tests/rename/prog002/rename.prog002.stderr b/testsuite/tests/rename/prog002/rename.prog002.stderr index 9fe478288fe5..ed70237ce5e9 100644 --- a/testsuite/tests/rename/prog002/rename.prog002.stderr +++ b/testsuite/tests/rename/prog002/rename.prog002.stderr @@ -1,5 +1,5 @@ -rnfail037.hs:8:7: error: +rnfail037.hs:8:7: error: [GHC-76037] Not in scope: data constructor ‘Rn037Help.C’ Suggested fix: Perhaps you want to remove ‘C’ from the explicit hiding list diff --git a/testsuite/tests/rename/prog003/rename.prog003.stderr b/testsuite/tests/rename/prog003/rename.prog003.stderr index b8f84781a6ce..cba2bbcc8fcf 100644 --- a/testsuite/tests/rename/prog003/rename.prog003.stderr +++ b/testsuite/tests/rename/prog003/rename.prog003.stderr @@ -1,2 +1,3 @@ -B.hs:4:6: error: Not in scope: type constructor or class ‘Class’ +B.hs:4:6: error: [GHC-76037] + Not in scope: type constructor or class ‘Class’ diff --git a/testsuite/tests/rename/should_compile/ExplicitForAllRules1.stderr b/testsuite/tests/rename/should_compile/ExplicitForAllRules1.stderr index 7ac9b08cb265..d74f06b452cd 100644 --- a/testsuite/tests/rename/should_compile/ExplicitForAllRules1.stderr +++ b/testsuite/tests/rename/should_compile/ExplicitForAllRules1.stderr @@ -1,5 +1,5 @@ -ExplicitForAllRules1.hs:45:31: warning: [-Wforall-identifier (in -Wdefault)] +ExplicitForAllRules1.hs:45:31: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: diff --git a/testsuite/tests/rename/should_compile/T12597.stderr b/testsuite/tests/rename/should_compile/T12597.stderr index e3df44037283..667e27e47f9e 100644 --- a/testsuite/tests/rename/should_compile/T12597.stderr +++ b/testsuite/tests/rename/should_compile/T12597.stderr @@ -1,3 +1,3 @@ -T12597.hs:5:1: warning: [-Wmissing-signatures (in -Wall)] +T12597.hs:5:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: f :: p -> p diff --git a/testsuite/tests/rename/should_compile/T13646.stderr b/testsuite/tests/rename/should_compile/T13646.stderr index ad23c444c937..8e491aff9b8d 100644 --- a/testsuite/tests/rename/should_compile/T13646.stderr +++ b/testsuite/tests/rename/should_compile/T13646.stderr @@ -1,3 +1,3 @@ -T13646.hs:12:14: warning: [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)] +T13646.hs:12:14: warning: [GHC-61367] [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)] This pattern-binding binds no variables: () = assert False () diff --git a/testsuite/tests/rename/should_compile/T1789.stderr b/testsuite/tests/rename/should_compile/T1789.stderr index dc7f00360ae8..d15f0044a27a 100644 --- a/testsuite/tests/rename/should_compile/T1789.stderr +++ b/testsuite/tests/rename/should_compile/T1789.stderr @@ -5,7 +5,7 @@ T1789.hs:6:1: warning: [-Wmissing-import-lists] T1789.hs:7:1: warning: [-Wmissing-import-lists] The module ‘Data.Map’ does not have an explicit import list -T1789.hs:9:1: warning: [-Wmissing-import-lists] +T1789.hs:9:1: warning: [GHC-77037] [-Wmissing-import-lists] The import item ‘Maybe(..)’ does not have an explicit import list T1789.hs:10:1: warning: [-Wmissing-import-lists] diff --git a/testsuite/tests/rename/should_compile/T17c.stderr b/testsuite/tests/rename/should_compile/T17c.stderr index 194e598099f9..5bd67c14f478 100644 --- a/testsuite/tests/rename/should_compile/T17c.stderr +++ b/testsuite/tests/rename/should_compile/T17c.stderr @@ -1,3 +1,3 @@ -T17c.hs:11:11: warning: [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)] +T17c.hs:11:11: warning: [GHC-61367] [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)] This pattern-binding binds no variables: True = True diff --git a/testsuite/tests/rename/should_compile/T17e.stderr b/testsuite/tests/rename/should_compile/T17e.stderr index 2d0e0bdc87df..3e691426eab7 100644 --- a/testsuite/tests/rename/should_compile/T17e.stderr +++ b/testsuite/tests/rename/should_compile/T17e.stderr @@ -2,7 +2,7 @@ T17e.hs:8:1: warning: [-Wunused-top-binds (in -Wextra, -Wunused-binds)] Defined but not used: ‘top’ -T17e.hs:11:11: warning: [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)] +T17e.hs:11:11: warning: [GHC-61367] [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)] This pattern-binding binds no variables: True = True T17e.hs:17:12: warning: [-Wunused-local-binds (in -Wextra, -Wunused-binds)] diff --git a/testsuite/tests/rename/should_compile/T1972.stderr b/testsuite/tests/rename/should_compile/T1972.stderr index 3311f0adedf5..d3d92a213ac2 100644 --- a/testsuite/tests/rename/should_compile/T1972.stderr +++ b/testsuite/tests/rename/should_compile/T1972.stderr @@ -1,9 +1,9 @@ -T1972.hs:13:3: warning: [-Wname-shadowing (in -Wall)] +T1972.hs:13:3: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘name’ shadows the existing binding defined at T1972.hs:10:19 -T1972.hs:15:3: warning: [-Wname-shadowing (in -Wall)] +T1972.hs:15:3: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘mapAccumL’ shadows the existing bindings imported from ‘Data.List’ at T1972.hs:8:19-27 (and originally defined in ‘Data.Traversable’) diff --git a/testsuite/tests/rename/should_compile/T19984.stderr b/testsuite/tests/rename/should_compile/T19984.stderr index 1f814797beaa..3bf2c42e925e 100644 --- a/testsuite/tests/rename/should_compile/T19984.stderr +++ b/testsuite/tests/rename/should_compile/T19984.stderr @@ -1,20 +1,20 @@ -T19984.hs:10:15: warning: [-Wunticked-promoted-constructors] +T19984.hs:10:15: warning: [GHC-49957] [-Wunticked-promoted-constructors] Unticked promoted constructor: : Suggested fix: Use ': instead of : -T19984.hs:11:11: warning: [-Wunticked-promoted-constructors] +T19984.hs:11:11: warning: [GHC-49957] [-Wunticked-promoted-constructors] Unticked promoted list. Suggested fix: Add a promotion tick, e.g. '[x,y,z]. -T19984.hs:12:11: warning: [-Wunticked-promoted-constructors] +T19984.hs:12:11: warning: [GHC-49957] [-Wunticked-promoted-constructors] Unticked promoted constructor: (:). Suggested fix: Use '(:) instead of (:). -T19984.hs:13:15: warning: [-Wunticked-promoted-constructors] +T19984.hs:13:15: warning: [GHC-49957] [-Wunticked-promoted-constructors] Unticked promoted constructor: :- Suggested fix: Use ':- instead of :- -T19984.hs:14:11: warning: [-Wunticked-promoted-constructors] +T19984.hs:14:11: warning: [GHC-49957] [-Wunticked-promoted-constructors] Unticked promoted constructor: (:-). Suggested fix: Use '(:-) instead of (:-). diff --git a/testsuite/tests/rename/should_compile/T20472.stderr b/testsuite/tests/rename/should_compile/T20472.stderr index 0b26c5b48068..c1b18c49510b 100644 --- a/testsuite/tests/rename/should_compile/T20472.stderr +++ b/testsuite/tests/rename/should_compile/T20472.stderr @@ -1,9 +1,9 @@ -T20472.hs:5:5: warning: [-Wdeferred-out-of-scope-variables (in -Wdefault)] +T20472.hs:5:5: warning: [GHC-88464] [-Wdeferred-out-of-scope-variables (in -Wdefault)] Variable not in scope: nonexistent -T20472.hs:6:5: warning: [-Wdeferred-out-of-scope-variables (in -Wdefault)] +T20472.hs:6:5: warning: [GHC-88464] [-Wdeferred-out-of-scope-variables (in -Wdefault)] Variable not in scope: nonexistent -T20472.hs:8:5: warning: [-Wdeferred-out-of-scope-variables (in -Wdefault)] +T20472.hs:8:5: warning: [GHC-88464] [-Wdeferred-out-of-scope-variables (in -Wdefault)] Variable not in scope: x diff --git a/testsuite/tests/rename/should_compile/T20609.stderr b/testsuite/tests/rename/should_compile/T20609.stderr index a9958e2b859f..9354676c4552 100644 --- a/testsuite/tests/rename/should_compile/T20609.stderr +++ b/testsuite/tests/rename/should_compile/T20609.stderr @@ -1,47 +1,47 @@ -T20609.hs:6:1: warning: [-Wforall-identifier (in -Wdefault)] +T20609.hs:6:1: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: Consider using another name, such as ‘forAll’, ‘for_all’, or ‘forall_’. -T20609.hs:8:1: warning: [-Wforall-identifier (in -Wdefault)] +T20609.hs:8:1: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘∀’ as an identifier will become an error in a future GHC release. Suggested fix: Consider using another name, such as ‘forAll’, ‘for_all’, or ‘forall_’. -T20609.hs:10:8: warning: [-Wforall-identifier (in -Wdefault)] +T20609.hs:10:8: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: Consider using another name, such as ‘forAll’, ‘for_all’, or ‘forall_’. -T20609.hs:12:11: warning: [-Wforall-identifier (in -Wdefault)] +T20609.hs:12:11: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: Consider using another name, such as ‘forAll’, ‘for_all’, or ‘forall_’. -T20609.hs:14:16: warning: [-Wforall-identifier (in -Wdefault)] +T20609.hs:14:16: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: Consider using another name, such as ‘forAll’, ‘for_all’, or ‘forall_’. -T20609.hs:16:25: warning: [-Wforall-identifier (in -Wdefault)] +T20609.hs:16:25: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: Consider using another name, such as ‘forAll’, ‘for_all’, or ‘forall_’. -T20609.hs:18:40: warning: [-Wforall-identifier (in -Wdefault)] +T20609.hs:18:40: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: diff --git a/testsuite/tests/rename/should_compile/T20609a.stderr b/testsuite/tests/rename/should_compile/T20609a.stderr index d828a1b26902..a0f2e3a323f1 100644 --- a/testsuite/tests/rename/should_compile/T20609a.stderr +++ b/testsuite/tests/rename/should_compile/T20609a.stderr @@ -1,5 +1,5 @@ -T20609a.hs:6:23: warning: [-Wforall-identifier (in -Wdefault)] +T20609a.hs:6:23: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: diff --git a/testsuite/tests/rename/should_compile/T20609b.stderr b/testsuite/tests/rename/should_compile/T20609b.stderr index c356dde8b027..dcaabbdaef99 100644 --- a/testsuite/tests/rename/should_compile/T20609b.stderr +++ b/testsuite/tests/rename/should_compile/T20609b.stderr @@ -1,5 +1,5 @@ -T20609b.hs:7:3: warning: [-Wforall-identifier (in -Wdefault)] +T20609b.hs:7:3: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: diff --git a/testsuite/tests/rename/should_compile/T20609c.stderr b/testsuite/tests/rename/should_compile/T20609c.stderr index c22ead3d0b31..4f24da7960d3 100644 --- a/testsuite/tests/rename/should_compile/T20609c.stderr +++ b/testsuite/tests/rename/should_compile/T20609c.stderr @@ -1,12 +1,12 @@ -T20609c.hs:5:22: warning: [-Wforall-identifier (in -Wdefault)] +T20609c.hs:5:22: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: Consider using another name, such as ‘forAll’, ‘for_all’, or ‘forall_’. -T20609c.hs:7:27: warning: [-Wforall-identifier (in -Wdefault)] +T20609c.hs:7:27: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: diff --git a/testsuite/tests/rename/should_compile/T20609d.stderr b/testsuite/tests/rename/should_compile/T20609d.stderr index 8060b3298fc6..e4829f2d2d29 100644 --- a/testsuite/tests/rename/should_compile/T20609d.stderr +++ b/testsuite/tests/rename/should_compile/T20609d.stderr @@ -1,5 +1,5 @@ -T20609d.hs:6:3: warning: [-Wforall-identifier (in -Wdefault)] +T20609d.hs:6:3: warning: [GHC-64088] [-Wforall-identifier (in -Wdefault)] The use of ‘forall’ as an identifier will become an error in a future GHC release. Suggested fix: diff --git a/testsuite/tests/rename/should_compile/T2600.stderr b/testsuite/tests/rename/should_compile/T2600.stderr index 64ef6e9e8294..78cc8a651376 100644 --- a/testsuite/tests/rename/should_compile/T2600.stderr +++ b/testsuite/tests/rename/should_compile/T2600.stderr @@ -1,13 +1,10 @@ -T2600.hs:16:1: warning: [-Winline-rule-shadowing (in -Wdefault)] +T2600.hs:16:1: warning: [GHC-87502] [-Winline-rule-shadowing (in -Wdefault)] Rule "myrule" may never fire because rule "Class op to" for ‘to’ might fire first - Suggested fix: - Add phase [n] or [~n] to the competing rule + Suggested fix: Add phase [n] or [~n] to the competing rule -T2600.hs:16:1: warning: [-Winline-rule-shadowing (in -Wdefault)] +T2600.hs:16:1: warning: [GHC-87502] [-Winline-rule-shadowing (in -Wdefault)] Rule "myrule" may never fire because rule "Class op tmap" for ‘tmap’ might fire first - Suggested fix: - Add phase [n] or [~n] to the competing rule - + Suggested fix: Add phase [n] or [~n] to the competing rule diff --git a/testsuite/tests/rename/should_compile/T3262.stderr b/testsuite/tests/rename/should_compile/T3262.stderr index 69500176b8f1..03ad00f42fee 100644 --- a/testsuite/tests/rename/should_compile/T3262.stderr +++ b/testsuite/tests/rename/should_compile/T3262.stderr @@ -1,8 +1,8 @@ -T3262.hs:12:11: warning: [-Wname-shadowing (in -Wall)] +T3262.hs:12:11: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘not_ignored’ shadows the existing binding bound at T3262.hs:11:11 -T3262.hs:20:15: warning: [-Wname-shadowing (in -Wall)] +T3262.hs:20:15: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘not_ignored’ shadows the existing binding bound at T3262.hs:19:15 diff --git a/testsuite/tests/rename/should_compile/T3823.stderr b/testsuite/tests/rename/should_compile/T3823.stderr index 6287a3529f92..de96feee442c 100644 --- a/testsuite/tests/rename/should_compile/T3823.stderr +++ b/testsuite/tests/rename/should_compile/T3823.stderr @@ -1,6 +1,6 @@ -T3823B.hs:8:7: error: - Couldn't match expected type ‘A’ with actual type ‘Bool’ - In the first argument of ‘y’, namely ‘a’ - In the expression: y a - In an equation for ‘b’: b = y a +T3823B.hs:8:7: error: [GHC-83865] + • Couldn't match expected type ‘A’ with actual type ‘Bool’ + • In the first argument of ‘y’, namely ‘a’ + In the expression: y a + In an equation for ‘b’: b = y a diff --git a/testsuite/tests/rename/should_compile/T4426.stderr b/testsuite/tests/rename/should_compile/T4426.stderr index 0d0b70628c5a..720786d9983b 100644 --- a/testsuite/tests/rename/should_compile/T4426.stderr +++ b/testsuite/tests/rename/should_compile/T4426.stderr @@ -1,18 +1,18 @@ -T4426.hs:10:18: error: Not in scope: type variable ‘m’ +T4426.hs:10:18: error: [GHC-76037] Not in scope: type variable ‘m’ -T4426.hs:10:28: error: Not in scope: type variable ‘m’ +T4426.hs:10:28: error: [GHC-76037] Not in scope: type variable ‘m’ -T4426.hs:12:18: error: Not in scope: type variable ‘b’ +T4426.hs:12:18: error: [GHC-76037] Not in scope: type variable ‘b’ -T4426.hs:12:28: error: Not in scope: type variable ‘b’ +T4426.hs:12:28: error: [GHC-76037] Not in scope: type variable ‘b’ -T4426.hs:14:24: error: Not in scope: type variable ‘b’ +T4426.hs:14:24: error: [GHC-76037] Not in scope: type variable ‘b’ -T4426.hs:14:34: error: Not in scope: type variable ‘b’ +T4426.hs:14:34: error: [GHC-76037] Not in scope: type variable ‘b’ -T4426.hs:14:39: error: Not in scope: type variable ‘c’ +T4426.hs:14:39: error: [GHC-76037] Not in scope: type variable ‘c’ -T4426.hs:16:23: error: Not in scope: type variable ‘m’ +T4426.hs:16:23: error: [GHC-76037] Not in scope: type variable ‘m’ -T4426.hs:16:28: error: Not in scope: type variable ‘m’ +T4426.hs:16:28: error: [GHC-76037] Not in scope: type variable ‘m’ diff --git a/testsuite/tests/rename/should_compile/T4489.stderr b/testsuite/tests/rename/should_compile/T4489.stderr index abb6438745a2..7e1bfbac382d 100644 --- a/testsuite/tests/rename/should_compile/T4489.stderr +++ b/testsuite/tests/rename/should_compile/T4489.stderr @@ -2,5 +2,5 @@ T4489.hs:4:1: warning: [-Wmissing-import-lists] The module ‘Data.Maybe’ does not have an explicit import list -T4489.hs:5:1: warning: [-Wmissing-import-lists] +T4489.hs:5:1: warning: [GHC-77037] [-Wmissing-import-lists] The import item ‘Maybe(..)’ does not have an explicit import list diff --git a/testsuite/tests/rename/should_compile/T5334.stderr b/testsuite/tests/rename/should_compile/T5334.stderr index ef22a0160843..e366873d23dd 100644 --- a/testsuite/tests/rename/should_compile/T5334.stderr +++ b/testsuite/tests/rename/should_compile/T5334.stderr @@ -1,5 +1,5 @@ -T5334.hs:7:5: warning: [-Wmissing-fields (in -Wdefault)] +T5334.hs:7:5: warning: [GHC-20125] [-Wmissing-fields (in -Wdefault)] • Fields of ‘T’ not initialised: b :: Int • In the expression: T {..} @@ -8,7 +8,7 @@ T5334.hs:7:5: warning: [-Wmissing-fields (in -Wdefault)] where a = 1 -T5334.hs:14:5: warning: [-Wmissing-fields (in -Wdefault)] +T5334.hs:14:5: warning: [GHC-20125] [-Wmissing-fields (in -Wdefault)] • Fields of ‘S’ not initialised: y :: Int • In the expression: S {x = 1} diff --git a/testsuite/tests/rename/should_compile/T5867.stderr b/testsuite/tests/rename/should_compile/T5867.stderr index 34724ad48739..9bef44b1d061 100644 --- a/testsuite/tests/rename/should_compile/T5867.stderr +++ b/testsuite/tests/rename/should_compile/T5867.stderr @@ -1,8 +1,8 @@ -T5867.hs:4:7: warning: [-Wdeprecations (in -Wdefault)] +T5867.hs:4:7: warning: [GHC-68441] [-Wdeprecations (in -Wdefault)] In the use of ‘f’ (imported from T5867a): Deprecated: "Don't use f!" -T5867.hs:5:7: warning: [-Wdeprecations (in -Wdefault)] +T5867.hs:5:7: warning: [GHC-68441] [-Wdeprecations (in -Wdefault)] In the use of ‘f’ (imported from T5867a): Deprecated: "Don't use f!" diff --git a/testsuite/tests/rename/should_compile/T7085.stderr b/testsuite/tests/rename/should_compile/T7085.stderr index 6b60f62f48eb..564a5420376a 100644 --- a/testsuite/tests/rename/should_compile/T7085.stderr +++ b/testsuite/tests/rename/should_compile/T7085.stderr @@ -1,7 +1,7 @@ -T7085.hs:8:6: warning: [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)] +T7085.hs:8:6: warning: [GHC-61367] [-Wunused-pattern-binds (in -Wextra, -Wunused-binds)] This pattern-binding binds no variables: Nothing = Just n -T7085.hs:8:6: warning: [-Woverlapping-patterns (in -Wdefault)] +T7085.hs:8:6: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a pattern binding: Nothing = ... diff --git a/testsuite/tests/rename/should_compile/T9778.stderr b/testsuite/tests/rename/should_compile/T9778.stderr index 24a9c3c9584c..8c5f09200dcc 100644 --- a/testsuite/tests/rename/should_compile/T9778.stderr +++ b/testsuite/tests/rename/should_compile/T9778.stderr @@ -1,8 +1,8 @@ -T9778.hs:12:10: warning: [-Wunticked-promoted-constructors] +T9778.hs:12:10: warning: [GHC-49957] [-Wunticked-promoted-constructors] Unticked promoted constructor: A. Suggested fix: Use 'A instead of A. -T9778.hs:16:14: warning: [-Wunticked-promoted-constructors] +T9778.hs:16:14: warning: [GHC-49957] [-Wunticked-promoted-constructors] Unticked promoted constructor: `MkD`. Suggested fix: Use '`MkD` instead of `MkD`. diff --git a/testsuite/tests/rename/should_compile/rn039.stderr b/testsuite/tests/rename/should_compile/rn039.stderr index b662775e5354..8d9dc1ec0a58 100644 --- a/testsuite/tests/rename/should_compile/rn039.stderr +++ b/testsuite/tests/rename/should_compile/rn039.stderr @@ -1,5 +1,5 @@ -rn039.hs:6:16: warning: [-Wname-shadowing (in -Wall)] +rn039.hs:6:16: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘-’ shadows the existing binding imported from ‘Prelude’ at rn039.hs:2:8-20 (and originally defined in ‘GHC.Num’) diff --git a/testsuite/tests/rename/should_compile/rn050.stderr b/testsuite/tests/rename/should_compile/rn050.stderr index 93df1a93eab2..7eb3badaa30b 100644 --- a/testsuite/tests/rename/should_compile/rn050.stderr +++ b/testsuite/tests/rename/should_compile/rn050.stderr @@ -1,8 +1,8 @@ -rn050.hs:13:7: warning: [-Wdeprecations (in -Wdefault)] +rn050.hs:13:7: warning: [GHC-68441] [-Wdeprecations (in -Wdefault)] In the use of ‘op’ (imported from Rn050_A): Deprecated: "Use bop instead" -rn050.hs:13:10: warning: [-Wdeprecations (in -Wdefault)] +rn050.hs:13:10: warning: [GHC-68441] [-Wdeprecations (in -Wdefault)] In the use of data constructor ‘C’ (imported from Rn050_A): Deprecated: "Use D instead" diff --git a/testsuite/tests/rename/should_compile/rn064.stderr b/testsuite/tests/rename/should_compile/rn064.stderr index cac51b1a390b..034ed9415d79 100644 --- a/testsuite/tests/rename/should_compile/rn064.stderr +++ b/testsuite/tests/rename/should_compile/rn064.stderr @@ -1,4 +1,4 @@ -rn064.hs:13:12: warning: [-Wname-shadowing (in -Wall)] +rn064.hs:13:12: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘r’ shadows the existing binding bound at rn064.hs:15:9 diff --git a/testsuite/tests/rename/should_compile/rn066.stderr b/testsuite/tests/rename/should_compile/rn066.stderr index 660129f07a55..ff29113bd885 100644 --- a/testsuite/tests/rename/should_compile/rn066.stderr +++ b/testsuite/tests/rename/should_compile/rn066.stderr @@ -1,8 +1,8 @@ -rn066.hs:13:7: warning: [-Wdeprecations (in -Wdefault)] +rn066.hs:13:7: warning: [GHC-63394] [-Wdeprecations (in -Wdefault)] In the use of ‘op’ (imported from Rn066_A): "Is that really a good idea?" -rn066.hs:13:10: warning: [-Wdeprecations (in -Wdefault)] +rn066.hs:13:10: warning: [GHC-63394] [-Wdeprecations (in -Wdefault)] In the use of data constructor ‘C’ (imported from Rn066_A): "Are you sure you want to do that?" diff --git a/testsuite/tests/rename/should_fail/ExplicitForAllRules2.stderr b/testsuite/tests/rename/should_fail/ExplicitForAllRules2.stderr index 909cc0ae20fd..8930d4d1fd99 100644 --- a/testsuite/tests/rename/should_fail/ExplicitForAllRules2.stderr +++ b/testsuite/tests/rename/should_fail/ExplicitForAllRules2.stderr @@ -1,10 +1,10 @@ -ExplicitForAllRules2.hs:6:41: error: +ExplicitForAllRules2.hs:6:41: error: [GHC-76037] Not in scope: type variable ‘b’ ExplicitForAllRules2.hs:7:11: error: Rule "new5": Forall'd variable ‘x’ does not appear on left hand side -ExplicitForAllRules2.hs:8:49: error: +ExplicitForAllRules2.hs:8:49: error: [GHC-76037] Not in scope: type variable ‘c’ diff --git a/testsuite/tests/rename/should_fail/RnStaticPointersFail01.stderr b/testsuite/tests/rename/should_fail/RnStaticPointersFail01.stderr index 52adc5b55b41..ce9052593ed2 100644 --- a/testsuite/tests/rename/should_fail/RnStaticPointersFail01.stderr +++ b/testsuite/tests/rename/should_fail/RnStaticPointersFail01.stderr @@ -1,6 +1,6 @@ -RnStaticPointersFail01.hs:5:7: - ‘x’ is used in a static form but it is not closed because it - is not let-bound. - In the expression: static x - In an equation for ‘f’: f x = static x +RnStaticPointersFail01.hs:5:7: error: [GHC-88431] + • ‘x’ is used in a static form but it is not closed because it + is not let-bound. + • In the expression: static x + In an equation for ‘f’: f x = static x diff --git a/testsuite/tests/rename/should_fail/RnStaticPointersFail02.stderr b/testsuite/tests/rename/should_fail/RnStaticPointersFail02.stderr index 6367162c6807..07405667dfbe 100644 --- a/testsuite/tests/rename/should_fail/RnStaticPointersFail02.stderr +++ b/testsuite/tests/rename/should_fail/RnStaticPointersFail02.stderr @@ -1,5 +1,5 @@ -RnStaticPointersFail02.hs:5:12: error: +RnStaticPointersFail02.hs:5:12: error: [GHC-31891] • Illegal term-level use of the type constructor or class ‘T’ • defined at RnStaticPointersFail02.hs:7:1 • In the body of a static form: T diff --git a/testsuite/tests/rename/should_fail/RnStaticPointersFail03.stderr b/testsuite/tests/rename/should_fail/RnStaticPointersFail03.stderr index 3ba18c686952..6ccee354a94e 100644 --- a/testsuite/tests/rename/should_fail/RnStaticPointersFail03.stderr +++ b/testsuite/tests/rename/should_fail/RnStaticPointersFail03.stderr @@ -1,29 +1,29 @@ -RnStaticPointersFail03.hs:8:7: - ‘x’ is used in a static form but it is not closed because it - is not let-bound. - In the expression: static (x . id) - In an equation for ‘f’: f x = static (x . id) +RnStaticPointersFail03.hs:8:7: error: [GHC-88431] + • ‘x’ is used in a static form but it is not closed because it + is not let-bound. + • In the expression: static (x . id) + In an equation for ‘f’: f x = static (x . id) -RnStaticPointersFail03.hs:10:8: - ‘k’ is used in a static form but it is not closed because it - uses ‘x’ which is not let-bound. - In the expression: static (k . id) - In an equation for ‘f0’: - f0 x - = static (k . id) - where - k = const (const () x) +RnStaticPointersFail03.hs:10:8: error: [GHC-88431] + • ‘k’ is used in a static form but it is not closed because it + uses ‘x’ which is not let-bound. + • In the expression: static (k . id) + In an equation for ‘f0’: + f0 x + = static (k . id) + where + k = const (const () x) -RnStaticPointersFail03.hs:19:15: - ‘g’ is used in a static form but it is not closed because it - uses ‘h’ which has a non-closed type because it contains the - type variables: ‘a’ - In the first argument of ‘const’, namely ‘(static (g undefined))’ - In the expression: const (static (g undefined)) (h x) - In an equation for ‘f2’: - f2 x - = const (static (g undefined)) (h x) - where - g = h - h = typeOf +RnStaticPointersFail03.hs:19:15: error: [GHC-88431] + • ‘g’ is used in a static form but it is not closed because it + uses ‘h’ which has a non-closed type because it contains the + type variables: ‘a’ + • In the first argument of ‘const’, namely ‘(static (g undefined))’ + In the expression: const (static (g undefined)) (h x) + In an equation for ‘f2’: + f2 x + = const (static (g undefined)) (h x) + where + g = h + h = typeOf diff --git a/testsuite/tests/rename/should_fail/T10618.stderr b/testsuite/tests/rename/should_fail/T10618.stderr index 629e93727b8c..f67456009e9c 100644 --- a/testsuite/tests/rename/should_fail/T10618.stderr +++ b/testsuite/tests/rename/should_fail/T10618.stderr @@ -1,5 +1,5 @@ -T10618.hs:3:22: error: +T10618.hs:3:22: error: [GHC-88464] Variable not in scope: (<|>) :: Maybe (Maybe a0) -> Maybe a1 -> t Suggested fix: Perhaps use one of these: diff --git a/testsuite/tests/rename/should_fail/T10781.stderr b/testsuite/tests/rename/should_fail/T10781.stderr index 3a5ccde99fcb..7a7f01744236 100644 --- a/testsuite/tests/rename/should_fail/T10781.stderr +++ b/testsuite/tests/rename/should_fail/T10781.stderr @@ -1,4 +1,4 @@ -T10781.hs:12:5: error: +T10781.hs:12:5: error: [GHC-76037] Not in scope: ‘Foo._name’ NB: no module named ‘Foo’ is imported. diff --git a/testsuite/tests/rename/should_fail/T11071.stderr b/testsuite/tests/rename/should_fail/T11071.stderr index 4faad680ec17..ceb215ddb6c5 100644 --- a/testsuite/tests/rename/should_fail/T11071.stderr +++ b/testsuite/tests/rename/should_fail/T11071.stderr @@ -1,42 +1,42 @@ -T11071.hs:19:12: error: +T11071.hs:19:12: error: [GHC-76037] Not in scope: ‘NoSuchModule.foo’ NB: no module named ‘NoSuchModule’ is imported. -T11071.hs:20:12: error: +T11071.hs:20:12: error: [GHC-76037] Not in scope: ‘Data.List.foobar’ NB: the module ‘Data.List’ does not export ‘foobar’. -T11071.hs:21:12: error: +T11071.hs:21:12: error: [GHC-76037] Not in scope: ‘M.foobar’ NB: neither ‘Data.IntMap’ nor ‘Data.Map’ export ‘foobar’. -T11071.hs:22:12: error: +T11071.hs:22:12: error: [GHC-76037] Not in scope: ‘M'.foobar’ NB: neither ‘System.IO’, ‘Data.IntMap’ nor ‘Data.Map’ export ‘foobar’. -T11071.hs:23:12: error: +T11071.hs:23:12: error: [GHC-76037] Not in scope: ‘Data.List.sort’ Suggested fix: Perhaps you want to add ‘sort’ to the import list in the import of ‘Data.List’ (T11071.hs:3:1-24). -T11071.hs:24:12: error: +T11071.hs:24:12: error: [GHC-76037] Not in scope: ‘Data.List.unlines’ Suggested fixes: • Perhaps use ‘Data.List.lines’ (imported from Data.List) • Perhaps you want to add ‘unlines’ to the import list in the import of ‘Data.List’ (T11071.hs:3:1-24). -T11071.hs:25:12: error: +T11071.hs:25:12: error: [GHC-76037] Not in scope: ‘M.size’ Suggested fix: Perhaps you want to add ‘size’ to one of these import lists: ‘Data.IntMap’ (T11071.hs:5:1-36) ‘Data.Map’ (T11071.hs:4:1-33) -T11071.hs:26:12: error: +T11071.hs:26:12: error: [GHC-76037] Not in scope: ‘M.valid’ Suggested fixes: • Perhaps use one of these: @@ -45,13 +45,13 @@ T11071.hs:26:12: error: • Perhaps you want to add ‘valid’ to the import list in the import of ‘Data.Map’ (T11071.hs:4:1-33). -T11071.hs:27:12: error: +T11071.hs:27:12: error: [GHC-76037] Not in scope: data constructor ‘Ord.Down’ Suggested fix: Perhaps you want to remove ‘Down’ from the explicit hiding list in the import of ‘Data.Ord’ (T11071.hs:8:1-46). -T11071.hs:28:12: error: +T11071.hs:28:12: error: [GHC-76037] Not in scope: ‘M'.size’ Suggested fix: Perhaps you want to remove ‘size’ from the hiding clauses diff --git a/testsuite/tests/rename/should_fail/T11071a.stderr b/testsuite/tests/rename/should_fail/T11071a.stderr index 5a2a9e92fa28..6ab683b74b11 100644 --- a/testsuite/tests/rename/should_fail/T11071a.stderr +++ b/testsuite/tests/rename/should_fail/T11071a.stderr @@ -1,11 +1,11 @@ -T11071a.hs:12:12: error: +T11071a.hs:12:12: error: [GHC-88464] Variable not in scope: intersperse Suggested fix: Perhaps you want to add ‘intersperse’ to the import list in the import of ‘Data.List’ (T11071a.hs:3:1-24). -T11071a.hs:13:12: error: +T11071a.hs:13:12: error: [GHC-88464] Variable not in scope: foldl' Suggested fixes: • Perhaps use one of these: @@ -15,16 +15,16 @@ T11071a.hs:13:12: error: ‘Data.List’ (T11071a.hs:3:1-24) ‘Data.IntMap’ (T11071a.hs:4:1-21) -T11071a.hs:14:12: error: +T11071a.hs:14:12: error: [GHC-88464] Data constructor not in scope: Down Suggested fix: Perhaps you want to remove ‘Down’ from the explicit hiding list in the import of ‘Data.Ord’ (T11071a.hs:5:1-29). -T11071a.hs:15:12: error: +T11071a.hs:15:12: error: [GHC-88464] Data constructor not in scope: True Suggested fix: Perhaps you want to remove ‘True’ from the explicit hiding list in the import of ‘Prelude’ (T11071a.hs:6:1-28). -T11071a.hs:16:12: error: Variable not in scope: foobar +T11071a.hs:16:12: error: [GHC-88464] Variable not in scope: foobar diff --git a/testsuite/tests/rename/should_fail/T11592.stderr b/testsuite/tests/rename/should_fail/T11592.stderr index 9adac1549b5a..362e662fcbb2 100644 --- a/testsuite/tests/rename/should_fail/T11592.stderr +++ b/testsuite/tests/rename/should_fail/T11592.stderr @@ -1,8 +1,8 @@ -T11592.hs:5:14: error: Not in scope: type variable ‘a’ +T11592.hs:5:14: error: [GHC-76037] Not in scope: type variable ‘a’ -T11592.hs:7:16: error: Not in scope: type variable ‘a’ +T11592.hs:7:16: error: [GHC-76037] Not in scope: type variable ‘a’ -T11592.hs:8:18: error: Not in scope: type variable ‘a’ +T11592.hs:8:18: error: [GHC-76037] Not in scope: type variable ‘a’ -T11592.hs:10:20: error: Not in scope: type variable ‘a’ +T11592.hs:10:20: error: [GHC-76037] Not in scope: type variable ‘a’ diff --git a/testsuite/tests/rename/should_fail/T12229.stderr b/testsuite/tests/rename/should_fail/T12229.stderr index 6eb4de53e29d..e2758fe420bd 100644 --- a/testsuite/tests/rename/should_fail/T12229.stderr +++ b/testsuite/tests/rename/should_fail/T12229.stderr @@ -1,5 +1,5 @@ -T12229.hs:7:7: warning: [-Wmissing-fields (in -Wdefault)] +T12229.hs:7:7: warning: [GHC-20125] [-Wmissing-fields (in -Wdefault)] • Fields of ‘MkT’ not initialised: pi :: Float • In the expression: MkT {..} diff --git a/testsuite/tests/rename/should_fail/T12681.stderr b/testsuite/tests/rename/should_fail/T12681.stderr index 9f57265bcdd2..3a48d80c17e5 100644 --- a/testsuite/tests/rename/should_fail/T12681.stderr +++ b/testsuite/tests/rename/should_fail/T12681.stderr @@ -1,4 +1,4 @@ -T12681.hs:4:17: error: +T12681.hs:4:17: error: [GHC-76037] Not in scope: ‘a’ Suggested fix: Perhaps use ‘T12681a.a’ (imported from T12681a) diff --git a/testsuite/tests/rename/should_fail/T12686.stderr b/testsuite/tests/rename/should_fail/T12686.stderr index 682a3bd8f4d4..63f511dca731 100644 --- a/testsuite/tests/rename/should_fail/T12686.stderr +++ b/testsuite/tests/rename/should_fail/T12686.stderr @@ -1,8 +1,8 @@ -T12686.hs:7:16: +T12686.hs:7:16: error: [GHC-88634] Term variable ‘x’ cannot be used here (term variables cannot be promoted) -T12686.hs:12:19: +T12686.hs:12:19: error: [GHC-88634] Term variable ‘a’ cannot be used here (term variables cannot be promoted) diff --git a/testsuite/tests/rename/should_fail/T12879.stderr b/testsuite/tests/rename/should_fail/T12879.stderr index 0c6b7f36f5f5..4f41da75b915 100644 --- a/testsuite/tests/rename/should_fail/T12879.stderr +++ b/testsuite/tests/rename/should_fail/T12879.stderr @@ -1,4 +1,4 @@ -T12879.hs:4:7: error: +T12879.hs:4:7: error: [GHC-84077] @-pattern in expression context: x@x Type application syntax requires a space before '@' diff --git a/testsuite/tests/rename/should_fail/T13568.stderr b/testsuite/tests/rename/should_fail/T13568.stderr index b0fce190e001..7682b8836fc2 100644 --- a/testsuite/tests/rename/should_fail/T13568.stderr +++ b/testsuite/tests/rename/should_fail/T13568.stderr @@ -1,5 +1,5 @@ -T13568.hs:7:8: error: +T13568.hs:7:8: error: [GHC-76037] Not in scope: type constructor or class ‘A’ Suggested fix: Perhaps you intended to use DataKinds diff --git a/testsuite/tests/rename/should_fail/T13947.stderr b/testsuite/tests/rename/should_fail/T13947.stderr index 8533f9f74362..a24d2e1fa557 100644 --- a/testsuite/tests/rename/should_fail/T13947.stderr +++ b/testsuite/tests/rename/should_fail/T13947.stderr @@ -1,3 +1,3 @@ -T13947.hs:4:16: error: +T13947.hs:4:16: error: [GHC-76037] Not in scope: type constructor or class ‘:~:’ diff --git a/testsuite/tests/rename/should_fail/T14225.stderr b/testsuite/tests/rename/should_fail/T14225.stderr index c3ea46a7892f..2f760e0dd447 100644 --- a/testsuite/tests/rename/should_fail/T14225.stderr +++ b/testsuite/tests/rename/should_fail/T14225.stderr @@ -1,4 +1,4 @@ -<interactive>:2:1: error: +<interactive>:2:1: error: [GHC-76037] Not in scope: ‘M.fromJusr’ Suggested fix: Perhaps use ‘M.fromJust’ (imported from Data.Maybe) diff --git a/testsuite/tests/rename/should_fail/T14307.stderr b/testsuite/tests/rename/should_fail/T14307.stderr index 1470a406d44a..0ef380104c17 100644 --- a/testsuite/tests/rename/should_fail/T14307.stderr +++ b/testsuite/tests/rename/should_fail/T14307.stderr @@ -1,2 +1,3 @@ -T14307.hs:10:4: error: Not in scope: data constructor ‘C’ +T14307.hs:10:4: error: [GHC-76037] + Not in scope: data constructor ‘C’ diff --git a/testsuite/tests/rename/should_fail/T14548.stderr b/testsuite/tests/rename/should_fail/T14548.stderr index 3527ac4d6320..62828a99de17 100644 --- a/testsuite/tests/rename/should_fail/T14548.stderr +++ b/testsuite/tests/rename/should_fail/T14548.stderr @@ -1,10 +1,10 @@ -T14548.hs:8:27: error: Not in scope: type variable ‘k’ +T14548.hs:8:27: error: [GHC-76037] Not in scope: type variable ‘k’ -T14548.hs:9:13: error: Not in scope: type variable ‘k’ +T14548.hs:9:13: error: [GHC-76037] Not in scope: type variable ‘k’ -T14548.hs:12:19: error: Not in scope: type variable ‘k’ +T14548.hs:12:19: error: [GHC-76037] Not in scope: type variable ‘k’ -T14548.hs:12:34: error: Not in scope: type variable ‘k’ +T14548.hs:12:34: error: [GHC-76037] Not in scope: type variable ‘k’ -T14548.hs:13:13: error: Not in scope: type variable ‘k’ +T14548.hs:13:13: error: [GHC-76037] Not in scope: type variable ‘k’ diff --git a/testsuite/tests/rename/should_fail/T14591.stderr b/testsuite/tests/rename/should_fail/T14591.stderr index 47e4df0d5585..88e6a4852c4f 100644 --- a/testsuite/tests/rename/should_fail/T14591.stderr +++ b/testsuite/tests/rename/should_fail/T14591.stderr @@ -1,2 +1,2 @@ -T14591.hs:11:23: error: Variable not in scope: x +T14591.hs:11:23: error: [GHC-88464] Variable not in scope: x diff --git a/testsuite/tests/rename/should_fail/T14907a.stderr b/testsuite/tests/rename/should_fail/T14907a.stderr index 26ce914c3dbc..28c9b01f9ce1 100644 --- a/testsuite/tests/rename/should_fail/T14907a.stderr +++ b/testsuite/tests/rename/should_fail/T14907a.stderr @@ -1,5 +1,5 @@ -T14907a.hs:3:8: error: +T14907a.hs:3:8: error: [GHC-77878] Unexpected type ‘Bool’ In the class declaration for ‘(,,)’ A class declaration should have form diff --git a/testsuite/tests/rename/should_fail/T14907b.stderr b/testsuite/tests/rename/should_fail/T14907b.stderr index b76cc11e2a7d..c113238389e6 100644 --- a/testsuite/tests/rename/should_fail/T14907b.stderr +++ b/testsuite/tests/rename/should_fail/T14907b.stderr @@ -1,6 +1,9 @@ -T14907b.hs:5:1: error: Illegal binding of built-in syntax: () +T14907b.hs:5:1: error: [GHC-69639] + Illegal binding of built-in syntax: () -T14907b.hs:6:1: error: Illegal binding of built-in syntax: (,) +T14907b.hs:6:1: error: [GHC-69639] + Illegal binding of built-in syntax: (,) -T14907b.hs:7:1: error: Illegal binding of built-in syntax: (,,) +T14907b.hs:7:1: error: [GHC-69639] + Illegal binding of built-in syntax: (,,) diff --git a/testsuite/tests/rename/should_fail/T15539.stderr b/testsuite/tests/rename/should_fail/T15539.stderr index c3c1653b5176..2658ee3265c7 100644 --- a/testsuite/tests/rename/should_fail/T15539.stderr +++ b/testsuite/tests/rename/should_fail/T15539.stderr @@ -1,5 +1,5 @@ -T15539.hs:6:13: error: +T15539.hs:6:13: error: [GHC-88464] Variable not in scope: baz Suggested fix: Perhaps use one of these: ‘bam’ (line 17), ‘bar’ (line 15) diff --git a/testsuite/tests/rename/should_fail/T15607.stderr b/testsuite/tests/rename/should_fail/T15607.stderr index 2a534d2a5ad3..b6bfed5e29d2 100644 --- a/testsuite/tests/rename/should_fail/T15607.stderr +++ b/testsuite/tests/rename/should_fail/T15607.stderr @@ -1,5 +1,5 @@ -T15607.hs:6:10: error: +T15607.hs:6:10: error: [GHC-88464] Variable not in scope: pure :: t0 -> t Suggested fix: Perhaps you want to remove ‘pure’ from the explicit hiding list diff --git a/testsuite/tests/rename/should_fail/T15611a.stderr b/testsuite/tests/rename/should_fail/T15611a.stderr index ebeb83b5f238..97cbb50bf8f9 100644 --- a/testsuite/tests/rename/should_fail/T15611a.stderr +++ b/testsuite/tests/rename/should_fail/T15611a.stderr @@ -1 +1,2 @@ -T15611a.hs:2:8: Not in scope: ‘Main.foo’ + +T15611a.hs:2:8: error: [GHC-76037] Not in scope: ‘Main.foo’ diff --git a/testsuite/tests/rename/should_fail/T15611b.stderr b/testsuite/tests/rename/should_fail/T15611b.stderr index 609ab4c0418e..339f295f4445 100644 --- a/testsuite/tests/rename/should_fail/T15611b.stderr +++ b/testsuite/tests/rename/should_fail/T15611b.stderr @@ -1 +1,2 @@ -<interactive>:2:1: Not in scope: ‘T15611b.foo’ + +<interactive>:2:1: error: [GHC-76037] Not in scope: ‘T15611b.foo’ diff --git a/testsuite/tests/rename/should_fail/T15957_Fail.stderr b/testsuite/tests/rename/should_fail/T15957_Fail.stderr index 54d77c189bca..4032c328149e 100644 --- a/testsuite/tests/rename/should_fail/T15957_Fail.stderr +++ b/testsuite/tests/rename/should_fail/T15957_Fail.stderr @@ -1,36 +1,36 @@ -T15957_Fail.hs:7:6: error: [-Wunused-record-wildcards (in -Wall), -Werror=unused-record-wildcards] +T15957_Fail.hs:7:6: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards] No variables bound in the record wildcard match are used Possible fix: omit the ‘..’ -T15957_Fail.hs:8:9: error: [-Wunused-record-wildcards (in -Wall), -Werror=unused-record-wildcards] +T15957_Fail.hs:8:9: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards] No variables bound in the record wildcard match are used Possible fix: omit the ‘..’ -T15957_Fail.hs:9:12: error: [-Wredundant-record-wildcards (in -Wall), -Werror=redundant-record-wildcards] +T15957_Fail.hs:9:12: error: [-Wredundant-record-wildcards (in -Wall), Werror=redundant-record-wildcards] Record wildcard does not bind any new variables Possible fix: omit the ‘..’ -T15957_Fail.hs:11:11: error: [-Wunused-record-wildcards (in -Wall), -Werror=unused-record-wildcards] +T15957_Fail.hs:11:11: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards] No variables bound in the record wildcard match are used Possible fix: omit the ‘..’ -T15957_Fail.hs:12:16: error: [-Wredundant-record-wildcards (in -Wall), -Werror=redundant-record-wildcards] +T15957_Fail.hs:12:16: error: [-Wredundant-record-wildcards (in -Wall), Werror=redundant-record-wildcards] Record wildcard does not bind any new variables Possible fix: omit the ‘..’ -T15957_Fail.hs:13:15: error: [-Wredundant-record-wildcards (in -Wall), -Werror=redundant-record-wildcards] +T15957_Fail.hs:13:15: error: [-Wredundant-record-wildcards (in -Wall), Werror=redundant-record-wildcards] Record wildcard does not bind any new variables Possible fix: omit the ‘..’ -T15957_Fail.hs:20:9: error: [-Wunused-record-wildcards (in -Wall), -Werror=unused-record-wildcards] +T15957_Fail.hs:20:9: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards] No variables bound in the record wildcard match are used Possible fix: omit the ‘..’ -T15957_Fail.hs:25:9: error: [-Wunused-record-wildcards (in -Wall), -Werror=unused-record-wildcards] +T15957_Fail.hs:25:9: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards] No variables bound in the record wildcard match are used Possible fix: omit the ‘..’ -T15957_Fail.hs:31:18: error: [-Wunused-record-wildcards (in -Wall), -Werror=unused-record-wildcards] +T15957_Fail.hs:31:18: error: [-Wunused-record-wildcards (in -Wall), Werror=unused-record-wildcards] No variables bound in the record wildcard match are used Possible fix: omit the ‘..’ diff --git a/testsuite/tests/rename/should_fail/T1595a.stderr b/testsuite/tests/rename/should_fail/T1595a.stderr index bcd601a37791..1b23d215b2b4 100644 --- a/testsuite/tests/rename/should_fail/T1595a.stderr +++ b/testsuite/tests/rename/should_fail/T1595a.stderr @@ -1,3 +1,3 @@ -T1595a.hs:3:20: error: +T1595a.hs:3:20: error: [GHC-76037] Not in scope: type constructor or class ‘Tpyo’ diff --git a/testsuite/tests/rename/should_fail/T16116b.stderr b/testsuite/tests/rename/should_fail/T16116b.stderr index ff6b5e13a411..5825633d3754 100644 --- a/testsuite/tests/rename/should_fail/T16116b.stderr +++ b/testsuite/tests/rename/should_fail/T16116b.stderr @@ -1,2 +1,2 @@ -T16116b.hs:7:16: error: Not in scope: type variable ‘b’ +T16116b.hs:7:16: error: [GHC-76037] Not in scope: type variable ‘b’ diff --git a/testsuite/tests/rename/should_fail/T16385.stderr b/testsuite/tests/rename/should_fail/T16385.stderr index b80275643c0a..2f0376ba70b1 100644 --- a/testsuite/tests/rename/should_fail/T16385.stderr +++ b/testsuite/tests/rename/should_fail/T16385.stderr @@ -1,8 +1,8 @@ -T16385.hs:4:10: error: +T16385.hs:4:10: error: [GHC-56538] • Instance head is not headed by a class: c • In the instance declaration for ‘c’ -T16385.hs:5:10: error: +T16385.hs:5:10: error: [GHC-56538] • Instance head is not headed by a class: c • In the instance declaration for ‘c’ diff --git a/testsuite/tests/rename/should_fail/T16504.stderr b/testsuite/tests/rename/should_fail/T16504.stderr index 798404afc337..4d33569a1a50 100644 --- a/testsuite/tests/rename/should_fail/T16504.stderr +++ b/testsuite/tests/rename/should_fail/T16504.stderr @@ -1,5 +1,5 @@ -T16504.hs:5:1: error: +T16504.hs:5:1: error: [GHC-44432] The type signature for ‘simpleFuntcion’ lacks an accompanying binding Suggested fix: @@ -7,12 +7,12 @@ T16504.hs:5:1: error: ‘simpleFunction’ (Defined at T16504.hs:6:1), ‘simpleFunction2’ (Defined at T16504.hs:7:1) -T16504.hs:11:9: error: +T16504.hs:11:9: error: [GHC-44432] The type signature for ‘anotherFunction’ lacks an accompanying binding Suggested fix: Perhaps use ‘anotherFuntcion’ (Defined at T16504.hs:12:9) -T16504.hs:15:1: error: +T16504.hs:15:1: error: [GHC-44432] The type signature for ‘nonexistentFuntcion’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/T16610.stderr b/testsuite/tests/rename/should_fail/T16610.stderr index 9f1a671b5390..e15a5fb51fce 100644 --- a/testsuite/tests/rename/should_fail/T16610.stderr +++ b/testsuite/tests/rename/should_fail/T16610.stderr @@ -1,3 +1,3 @@ -T16610.hs:6:3: error: +T16610.hs:6:3: error: [GHC-54721] ‘wrong’ is not a (visible) method of class ‘Eq’ diff --git a/testsuite/tests/rename/should_fail/T17593.stderr b/testsuite/tests/rename/should_fail/T17593.stderr index 005f6c9fd4ee..2fde25b1f064 100644 --- a/testsuite/tests/rename/should_fail/T17593.stderr +++ b/testsuite/tests/rename/should_fail/T17593.stderr @@ -1,7 +1,7 @@ -T17593.hs:5:1: error: +T17593.hs:5:1: error: [GHC-44432] The type signature for ‘<+>’ lacks an accompanying binding -T17593.hs:8:6: error: +T17593.hs:8:6: error: [GHC-44432] The standalone kind signature for ‘MkT’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/T18145.stderr b/testsuite/tests/rename/should_fail/T18145.stderr index 606ad0f695a1..ac1fb7b807e1 100644 --- a/testsuite/tests/rename/should_fail/T18145.stderr +++ b/testsuite/tests/rename/should_fail/T18145.stderr @@ -1,6 +1,6 @@ -T18145.hs:10:44: error: Not in scope: type variable ‘a’ +T18145.hs:10:44: error: [GHC-76037] Not in scope: type variable ‘a’ -T18145.hs:14:41: error: Not in scope: type variable ‘a’ +T18145.hs:14:41: error: [GHC-76037] Not in scope: type variable ‘a’ -T18145.hs:17:41: error: Not in scope: type variable ‘a’ +T18145.hs:17:41: error: [GHC-76037] Not in scope: type variable ‘a’ diff --git a/testsuite/tests/rename/should_fail/T18240a.stderr b/testsuite/tests/rename/should_fail/T18240a.stderr index 641bee5003f9..50b419add43c 100644 --- a/testsuite/tests/rename/should_fail/T18240a.stderr +++ b/testsuite/tests/rename/should_fail/T18240a.stderr @@ -3,7 +3,8 @@ T18240a.hs:11:11: error: Instance head cannot contain nested ‘forall’s or contexts In an instance declaration -T18240a.hs:12:15: error: Not in scope: type variable ‘a’ +T18240a.hs:12:15: error: [GHC-76037] + Not in scope: type variable ‘a’ T18240a.hs:14:11: error: Instance head cannot contain nested ‘forall’s or contexts @@ -13,13 +14,15 @@ T18240a.hs:17:11: error: Instance head cannot contain nested ‘forall’s or contexts In an instance declaration -T18240a.hs:18:22: error: Not in scope: type variable ‘a’ +T18240a.hs:18:22: error: [GHC-76037] + Not in scope: type variable ‘a’ T18240a.hs:20:21: error: Instance head cannot contain nested ‘forall’s or contexts In an instance declaration -T18240a.hs:21:24: error: Not in scope: type variable ‘b’ +T18240a.hs:21:24: error: [GHC-76037] + Not in scope: type variable ‘b’ T18240a.hs:23:19: error: Instance head cannot contain nested ‘forall’s or contexts diff --git a/testsuite/tests/rename/should_fail/T18740a.stderr b/testsuite/tests/rename/should_fail/T18740a.stderr index c814f2bf363b..5b36171a3889 100644 --- a/testsuite/tests/rename/should_fail/T18740a.stderr +++ b/testsuite/tests/rename/should_fail/T18740a.stderr @@ -1,5 +1,5 @@ -T18740a.hs:3:5: error: +T18740a.hs:3:5: error: [GHC-31891] • Illegal term-level use of the type constructor or class ‘Int’ • imported from ‘Prelude’ at T18740a.hs:1:8-14 (and originally defined in ‘GHC.Types’) diff --git a/testsuite/tests/rename/should_fail/T18740b.stderr b/testsuite/tests/rename/should_fail/T18740b.stderr index 86c6c7496123..1e13c3a9743a 100644 --- a/testsuite/tests/rename/should_fail/T18740b.stderr +++ b/testsuite/tests/rename/should_fail/T18740b.stderr @@ -1,6 +1,6 @@ -T18740b.hs:6:24: error: +T18740b.hs:6:24: error: [GHC-31891] • Illegal term-level use of the type variable ‘a’ - bound at T18740b.hs:6:4 + • bound at T18740b.hs:6:4 • In the expression: a In an equation for ‘f’: f (Proxy :: Proxy a) = a diff --git a/testsuite/tests/rename/should_fail/T19843a.stderr b/testsuite/tests/rename/should_fail/T19843a.stderr index 8f96612743a7..02ce2c67118e 100644 --- a/testsuite/tests/rename/should_fail/T19843a.stderr +++ b/testsuite/tests/rename/should_fail/T19843a.stderr @@ -1,3 +1,3 @@ -T19843a.hs:5:6: +T19843a.hs:5:6: error: [GHC-76037] Not in scope: data constructor ‘Map’ diff --git a/testsuite/tests/rename/should_fail/T19843b.stderr b/testsuite/tests/rename/should_fail/T19843b.stderr index 6a92e26a4d53..e58784390737 100644 --- a/testsuite/tests/rename/should_fail/T19843b.stderr +++ b/testsuite/tests/rename/should_fail/T19843b.stderr @@ -1,4 +1,4 @@ -T19843b.hs:7:6: error: +T19843b.hs:7:6: error: [GHC-88464] Data constructor not in scope: Map :: (a0 -> Bool) -> t -> t0 Suggested fix: Perhaps use variable ‘map’ (imported from Prelude) diff --git a/testsuite/tests/rename/should_fail/T19843c.stderr b/testsuite/tests/rename/should_fail/T19843c.stderr index d15ac772b43e..28f58cd6f1a8 100644 --- a/testsuite/tests/rename/should_fail/T19843c.stderr +++ b/testsuite/tests/rename/should_fail/T19843c.stderr @@ -1,4 +1,4 @@ -T19843c.hs:6:6: error: +T19843c.hs:6:6: error: [GHC-76037] Not in scope: data constructor ‘Map.Map’ NB: the module ‘Data.Map’ does not export ‘Map’. diff --git a/testsuite/tests/rename/should_fail/T19843d.stderr b/testsuite/tests/rename/should_fail/T19843d.stderr index 34a5de28f03c..f976076794e1 100644 --- a/testsuite/tests/rename/should_fail/T19843d.stderr +++ b/testsuite/tests/rename/should_fail/T19843d.stderr @@ -1,4 +1,4 @@ -T19843d.hs:7:6: error: +T19843d.hs:7:6: error: [GHC-76037] Not in scope: data constructor ‘Map’ Suggested fix: Perhaps use ‘Mup’ (line 5) diff --git a/testsuite/tests/rename/should_fail/T19843e.stderr b/testsuite/tests/rename/should_fail/T19843e.stderr index f5870a356e9c..69188c6b05bf 100644 --- a/testsuite/tests/rename/should_fail/T19843e.stderr +++ b/testsuite/tests/rename/should_fail/T19843e.stderr @@ -1,4 +1,4 @@ -T19843e.hs:9:6: error: +T19843e.hs:9:6: error: [GHC-76037] Not in scope: data constructor ‘Map’ Suggested fix: Perhaps use ‘Mup’ (line 7) diff --git a/testsuite/tests/rename/should_fail/T19843f.stderr b/testsuite/tests/rename/should_fail/T19843f.stderr index 3b73444439db..c7c4d5dc58d5 100644 --- a/testsuite/tests/rename/should_fail/T19843f.stderr +++ b/testsuite/tests/rename/should_fail/T19843f.stderr @@ -1,8 +1,8 @@ -T19843f.hs:8:12: error: +T19843f.hs:8:12: error: [GHC-76037] Not in scope: ‘mup’ Suggested fix: Perhaps use ‘mop’ (line 5) -T19843f.hs:10:10: error: +T19843f.hs:10:10: error: [GHC-76037] Not in scope: ‘mup’ Suggested fix: Perhaps use ‘mop’ (line 5) diff --git a/testsuite/tests/rename/should_fail/T19843g.stderr b/testsuite/tests/rename/should_fail/T19843g.stderr index f635b6c2d26b..78ee13eadf0f 100644 --- a/testsuite/tests/rename/should_fail/T19843g.stderr +++ b/testsuite/tests/rename/should_fail/T19843g.stderr @@ -1,4 +1,4 @@ -T19843g.hs:10:12: error: +T19843g.hs:10:12: error: [GHC-76037] Not in scope: ‘mup’ Suggested fix: Perhaps use ‘mop’ (line 7) diff --git a/testsuite/tests/rename/should_fail/T19843h.stderr b/testsuite/tests/rename/should_fail/T19843h.stderr index 963740ca35b1..43cf59befd53 100644 --- a/testsuite/tests/rename/should_fail/T19843h.stderr +++ b/testsuite/tests/rename/should_fail/T19843h.stderr @@ -1,30 +1,30 @@ -T19843h.hs:14:7: error: +T19843h.hs:14:7: error: [GHC-39999] • No instance for ‘GHC.Records.HasField "mup" r4 a4’ arising from selecting the field ‘mup’ Perhaps use ‘mop’ (line 11) • In the expression: undefined.mup In an equation for ‘foo’: foo = undefined.mup -T19843h.hs:16:7: error: +T19843h.hs:16:7: error: [GHC-39999] • No instance for ‘GHC.Records.HasField "traverse" r3 a3’ arising from selecting the field ‘traverse’ • In the expression: undefined.traverse In an equation for ‘bar’: bar = undefined.traverse -T19843h.hs:18:7: error: +T19843h.hs:18:7: error: [GHC-39999] • No instance for ‘GHC.Records.HasField "getSum" r2 a2’ arising from selecting the field ‘getSum’ • In the expression: undefined.getSum In an equation for ‘baz’: baz = undefined.getSum -T19843h.hs:20:8: error: +T19843h.hs:20:8: error: [GHC-39999] • No instance for ‘GHC.Records.HasField "getAlt" r1 a1’ arising from selecting the field ‘getAlt’ • In the expression: undefined.getAlt In an equation for ‘quux’: quux = undefined.getAlt -T19843h.hs:24:8: error: +T19843h.hs:24:8: error: [GHC-39999] • No instance for ‘GHC.Records.HasField "getAll" r0 a0’ arising from selecting the field ‘getAll’ Perhaps use ‘getAlt’ (imported from Data.Monoid) diff --git a/testsuite/tests/rename/should_fail/T19843i.stderr b/testsuite/tests/rename/should_fail/T19843i.stderr index f5de15281be4..d55bb16d66a5 100644 --- a/testsuite/tests/rename/should_fail/T19843i.stderr +++ b/testsuite/tests/rename/should_fail/T19843i.stderr @@ -1,5 +1,5 @@ -T19843i.hs:5:5: error: +T19843i.hs:5:5: error: [GHC-76037] Not in scope: ‘M.getSum’ Suggested fix: Perhaps you want to add ‘getSum’ to the import list diff --git a/testsuite/tests/rename/should_fail/T19843j.stderr b/testsuite/tests/rename/should_fail/T19843j.stderr index a0423eeb7613..c7aa7058b979 100644 --- a/testsuite/tests/rename/should_fail/T19843j.stderr +++ b/testsuite/tests/rename/should_fail/T19843j.stderr @@ -1,5 +1,5 @@ -T19843j.hs:5:5: error: +T19843j.hs:5:5: error: [GHC-88464] Variable not in scope: guard Suggested fix: Perhaps you want to add ‘guard’ to the import list in the import of diff --git a/testsuite/tests/rename/should_fail/T19843k.stderr b/testsuite/tests/rename/should_fail/T19843k.stderr index 7872fdb784b4..266b45e2457d 100644 --- a/testsuite/tests/rename/should_fail/T19843k.stderr +++ b/testsuite/tests/rename/should_fail/T19843k.stderr @@ -1,4 +1,4 @@ -T19843k.hs:5:8: error: +T19843k.hs:5:8: error: [GHC-76037] Not in scope: ‘M.doesn'tExist’ NB: the module ‘Data.Monoid’ does not export ‘doesn'tExist’. diff --git a/testsuite/tests/rename/should_fail/T19843l.stderr b/testsuite/tests/rename/should_fail/T19843l.stderr index 094a0b43a29d..8b56ad570ad2 100644 --- a/testsuite/tests/rename/should_fail/T19843l.stderr +++ b/testsuite/tests/rename/should_fail/T19843l.stderr @@ -1,4 +1,4 @@ -T19843l.hs:7:12: error: +T19843l.hs:7:12: error: [GHC-76037] Not in scope: type constructor or class ‘WrongName’ Suggested fix: Perhaps use ‘FongName’ (line 4) diff --git a/testsuite/tests/rename/should_fail/T19843m.stderr b/testsuite/tests/rename/should_fail/T19843m.stderr index 1ec2b3192536..44cd5cc78c8e 100644 --- a/testsuite/tests/rename/should_fail/T19843m.stderr +++ b/testsuite/tests/rename/should_fail/T19843m.stderr @@ -1,5 +1,5 @@ -T19843m.hs:9:12: error: +T19843m.hs:9:12: error: [GHC-76037] Not in scope: type constructor or class ‘WrongName’ Suggested fix: Perhaps use one of these: diff --git a/testsuite/tests/rename/should_fail/T2723.stderr b/testsuite/tests/rename/should_fail/T2723.stderr index 682479ac98f3..10712ebf8cb2 100644 --- a/testsuite/tests/rename/should_fail/T2723.stderr +++ b/testsuite/tests/rename/should_fail/T2723.stderr @@ -1,4 +1,4 @@ -T2723.hs:15:5: warning: [-Wname-shadowing (in -Wall)] +T2723.hs:15:5: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘field3’ shadows the existing binding defined at T2723.hs:7:1 diff --git a/testsuite/tests/rename/should_fail/T2901.stderr b/testsuite/tests/rename/should_fail/T2901.stderr index eab94f2acf46..ba1bbcebc898 100644 --- a/testsuite/tests/rename/should_fail/T2901.stderr +++ b/testsuite/tests/rename/should_fail/T2901.stderr @@ -1,4 +1,4 @@ -T2901.hs:6:5: error: +T2901.hs:6:5: error: [GHC-76037] Not in scope: data constructor ‘F.Foo’ NB: no module named ‘F’ is imported. diff --git a/testsuite/tests/rename/should_fail/T2993.stderr b/testsuite/tests/rename/should_fail/T2993.stderr index d993c398ca51..e6818de4a78f 100644 --- a/testsuite/tests/rename/should_fail/T2993.stderr +++ b/testsuite/tests/rename/should_fail/T2993.stderr @@ -1,4 +1,4 @@ -T2993.hs:7:13: error: +T2993.hs:7:13: error: [GHC-88464] Variable not in scope: (<**>) :: t1 -> (a -> a) -> t2 Suggested fix: Perhaps use ‘<*>’ (imported from Prelude) diff --git a/testsuite/tests/rename/should_fail/T3265.stderr b/testsuite/tests/rename/should_fail/T3265.stderr index 8ef1acdf3990..dfe09aa9868b 100644 --- a/testsuite/tests/rename/should_fail/T3265.stderr +++ b/testsuite/tests/rename/should_fail/T3265.stderr @@ -1,8 +1,8 @@ -T3265.hs:8:8: error: +T3265.hs:8:8: error: [GHC-50649] Illegal declaration of a type or class operator ‘:+:’ Suggested fix: Perhaps you intended to use TypeOperators -T3265.hs:10:9: error: +T3265.hs:10:9: error: [GHC-50649] Illegal declaration of a type or class operator ‘:*:’ Suggested fix: Perhaps you intended to use TypeOperators diff --git a/testsuite/tests/rename/should_fail/T495.stderr b/testsuite/tests/rename/should_fail/T495.stderr index cc637c468177..d9ffb92eddfc 100644 --- a/testsuite/tests/rename/should_fail/T495.stderr +++ b/testsuite/tests/rename/should_fail/T495.stderr @@ -1,8 +1,8 @@ -T495.hs:4:12: error: +T495.hs:4:12: error: [GHC-44432] The INLINE pragma for ‘blarg’ lacks an accompanying binding -T495.hs:7:12: error: +T495.hs:7:12: error: [GHC-44432] The INLINE pragma for ‘lookup’ lacks an accompanying binding Suggested fix: Move the INLINE pragma to the declaration site of ‘lookup’. diff --git a/testsuite/tests/rename/should_fail/T5001b.stderr b/testsuite/tests/rename/should_fail/T5001b.stderr index 2544aa4dc281..09caa51d07a2 100644 --- a/testsuite/tests/rename/should_fail/T5001b.stderr +++ b/testsuite/tests/rename/should_fail/T5001b.stderr @@ -1,5 +1,5 @@ -T5001b.hs:10:17: error: +T5001b.hs:10:17: error: [GHC-44432] The INLINE pragma for ‘genum’ lacks an accompanying binding Suggested fix: Move the INLINE pragma to the declaration site of ‘genum’. diff --git a/testsuite/tests/rename/should_fail/T5281.stderr b/testsuite/tests/rename/should_fail/T5281.stderr index 26d7b8da7796..a5c5fd252055 100644 --- a/testsuite/tests/rename/should_fail/T5281.stderr +++ b/testsuite/tests/rename/should_fail/T5281.stderr @@ -1,4 +1,4 @@ -T5281.hs:6:5: warning: [-Wdeprecations (in -Wdefault)] +T5281.hs:6:5: warning: [GHC-68441] [-Wdeprecations (in -Wdefault)] In the use of ‘deprec’ (imported from T5281A): Deprecated: "This is deprecated" diff --git a/testsuite/tests/rename/should_fail/T5372.stderr b/testsuite/tests/rename/should_fail/T5372.stderr index 3642362660f6..8e45e8f043f2 100644 --- a/testsuite/tests/rename/should_fail/T5372.stderr +++ b/testsuite/tests/rename/should_fail/T5372.stderr @@ -1,4 +1,4 @@ -T5372.hs:4:11: error: +T5372.hs:4:11: error: [GHC-76037] Not in scope: data constructor ‘MkS’ Suggested fix: Perhaps use ‘T5372a.MkS’ (imported from T5372a) diff --git a/testsuite/tests/rename/should_fail/T5513.stderr b/testsuite/tests/rename/should_fail/T5513.stderr index 4ce02ace8bea..22e869cfb472 100644 --- a/testsuite/tests/rename/should_fail/T5513.stderr +++ b/testsuite/tests/rename/should_fail/T5513.stderr @@ -1,4 +1,4 @@ -T5513.hs:4:19: error: +T5513.hs:4:19: error: [GHC-56538] • Instance head is not headed by a class: lowercase_name a • In the stand-alone deriving instance for ‘lowercase_name a’ diff --git a/testsuite/tests/rename/should_fail/T5533.stderr b/testsuite/tests/rename/should_fail/T5533.stderr index 67dbf3a93e68..0275756c44d8 100644 --- a/testsuite/tests/rename/should_fail/T5533.stderr +++ b/testsuite/tests/rename/should_fail/T5533.stderr @@ -1,5 +1,5 @@ -T5533.hs:4:1: error: +T5533.hs:4:1: error: [GHC-44432] The type signature for ‘f2’ lacks an accompanying binding Suggested fix: Move the type signature to the declaration site of ‘f2’. diff --git a/testsuite/tests/rename/should_fail/T5657.stderr b/testsuite/tests/rename/should_fail/T5657.stderr index 28c3ba7d6c15..042f7af35ba0 100644 --- a/testsuite/tests/rename/should_fail/T5657.stderr +++ b/testsuite/tests/rename/should_fail/T5657.stderr @@ -1,5 +1,5 @@ -T5657.hs:3:8: error: +T5657.hs:3:8: error: [GHC-76037] Not in scope: ‘LT..’ NB: no module named ‘LT’ is imported. diff --git a/testsuite/tests/rename/should_fail/T5745.stderr b/testsuite/tests/rename/should_fail/T5745.stderr index dc590bba33f9..47fd21e17c9f 100644 --- a/testsuite/tests/rename/should_fail/T5745.stderr +++ b/testsuite/tests/rename/should_fail/T5745.stderr @@ -1,2 +1,3 @@ -T5745.hs:5:6: error: Not in scope: type constructor or class ‘T’ +T5745.hs:5:6: error: [GHC-76037] + Not in scope: type constructor or class ‘T’ diff --git a/testsuite/tests/rename/should_fail/T5892a.stderr b/testsuite/tests/rename/should_fail/T5892a.stderr index 436409ed2471..79cb98ab4dd0 100644 --- a/testsuite/tests/rename/should_fail/T5892a.stderr +++ b/testsuite/tests/rename/should_fail/T5892a.stderr @@ -1,5 +1,5 @@ -T5892a.hs:12:8: error: [-Wmissing-fields (in -Wdefault), -Werror=missing-fields] +T5892a.hs:12:8: error: [GHC-20125] [-Wmissing-fields (in -Wdefault), Werror=missing-fields] • Fields of ‘Node’ not initialised: subForest :: [Tree [Int]] • In the expression: Node {..} diff --git a/testsuite/tests/rename/should_fail/T5892b.stderr b/testsuite/tests/rename/should_fail/T5892b.stderr index d55d0cb8e1f9..ee7bd4820e1b 100644 --- a/testsuite/tests/rename/should_fail/T5892b.stderr +++ b/testsuite/tests/rename/should_fail/T5892b.stderr @@ -1,2 +1,2 @@ -T5892b.hs:11:7: error: Not in scope: ‘T5892b.subForest’ +T5892b.hs:11:7: error: [GHC-76037] Not in scope: ‘T5892b.subForest’ diff --git a/testsuite/tests/rename/should_fail/T6018rnfail.stderr b/testsuite/tests/rename/should_fail/T6018rnfail.stderr index 2628024b8389..8833ad8fbd45 100644 --- a/testsuite/tests/rename/should_fail/T6018rnfail.stderr +++ b/testsuite/tests/rename/should_fail/T6018rnfail.stderr @@ -1,71 +1,81 @@ -T6018rnfail.hs:8:23: +T6018rnfail.hs:8:23: error: Incorrect type variable on the LHS of injectivity condition Expected : r Actual : a -T6018rnfail.hs:9:24: +T6018rnfail.hs:9:24: error: Incorrect type variable on the LHS of injectivity condition Expected : r Actual : a -T6018rnfail.hs:12:19: +T6018rnfail.hs:12:19: error: Incorrect type variable on the LHS of injectivity condition Expected : r Actual : a -T6018rnfail.hs:15:19: +T6018rnfail.hs:15:19: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -T6018rnfail.hs:16:20: +T6018rnfail.hs:16:20: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -T6018rnfail.hs:20:20: +T6018rnfail.hs:20:20: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -T6018rnfail.hs:20:24: +T6018rnfail.hs:20:24: error: Unknown type variable on the RHS of injectivity condition: a -T6018rnfail.hs:21:21: +T6018rnfail.hs:21:21: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -T6018rnfail.hs:21:25: +T6018rnfail.hs:21:25: error: Unknown type variable on the RHS of injectivity condition: a -T6018rnfail.hs:24:16: +T6018rnfail.hs:24:16: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -T6018rnfail.hs:24:20: +T6018rnfail.hs:24:20: error: Unknown type variable on the RHS of injectivity condition: a -T6018rnfail.hs:27:1: Not in scope: type variable ‘c’ +T6018rnfail.hs:27:1: error: [GHC-76037] + Not in scope: type variable ‘c’ -T6018rnfail.hs:28:1: Not in scope: type variable ‘c’ +T6018rnfail.hs:28:1: error: [GHC-76037] + Not in scope: type variable ‘c’ -T6018rnfail.hs:31:3: Not in scope: type variable ‘c’ +T6018rnfail.hs:31:3: error: [GHC-76037] + Not in scope: type variable ‘c’ -T6018rnfail.hs:34:1: Not in scope: type variable ‘c’ +T6018rnfail.hs:34:1: error: [GHC-76037] + Not in scope: type variable ‘c’ -T6018rnfail.hs:35:1: Not in scope: type variable ‘c’ +T6018rnfail.hs:35:1: error: [GHC-76037] + Not in scope: type variable ‘c’ -T6018rnfail.hs:38:3: Not in scope: type variable ‘c’ +T6018rnfail.hs:38:3: error: [GHC-76037] + Not in scope: type variable ‘c’ -T6018rnfail.hs:42:15: +T6018rnfail.hs:42:15: error: Type variable ‘a’, naming a type family result, shadows an already bound type variable -T6018rnfail.hs:46:19: +T6018rnfail.hs:46:19: error: Unknown type variable on the RHS of injectivity condition: b -T6018rnfail.hs:49:21: Not in scope: type variable ‘r’ +T6018rnfail.hs:49:21: error: [GHC-76037] + Not in scope: type variable ‘r’ -T6018rnfail.hs:50:21: Not in scope: type variable ‘r’ +T6018rnfail.hs:50:21: error: [GHC-76037] + Not in scope: type variable ‘r’ -T6018rnfail.hs:52:26: Not in scope: type variable ‘r’ +T6018rnfail.hs:52:26: error: [GHC-76037] + Not in scope: type variable ‘r’ -T6018rnfail.hs:53:26: Not in scope: type variable ‘r’ +T6018rnfail.hs:53:26: error: [GHC-76037] + Not in scope: type variable ‘r’ diff --git a/testsuite/tests/rename/should_fail/T7906.stderr b/testsuite/tests/rename/should_fail/T7906.stderr index 5a8c7cb77d8f..38576165e19c 100644 --- a/testsuite/tests/rename/should_fail/T7906.stderr +++ b/testsuite/tests/rename/should_fail/T7906.stderr @@ -1,5 +1,5 @@ -T7906.hs:5:15: error: +T7906.hs:5:15: error: [GHC-44432] The INLINABLE pragma for ‘foo’ lacks an accompanying binding Suggested fix: Move the INLINABLE pragma to the declaration site of ‘foo’. diff --git a/testsuite/tests/rename/should_fail/T7937.stderr b/testsuite/tests/rename/should_fail/T7937.stderr index 11a2bed876de..267c273bc443 100644 --- a/testsuite/tests/rename/should_fail/T7937.stderr +++ b/testsuite/tests/rename/should_fail/T7937.stderr @@ -1,4 +1,4 @@ -T7937.hs:8:13: error: +T7937.hs:8:13: error: [GHC-88464] Variable not in scope: (***) :: Bool -> Bool -> t Suggested fix: Perhaps use ‘**’ (imported from Prelude) diff --git a/testsuite/tests/rename/should_fail/T7943.stderr b/testsuite/tests/rename/should_fail/T7943.stderr index c6bf7ae9b5da..3100928e518f 100644 --- a/testsuite/tests/rename/should_fail/T7943.stderr +++ b/testsuite/tests/rename/should_fail/T7943.stderr @@ -1,6 +1,6 @@ -T7943.hs:4:22: - Record syntax is illegal here: {bar :: String} - In the type ‘{bar :: String}’ +T7943.hs:4:22: error: [GHC-89246] + • Record syntax is illegal here: {bar :: String} + • In the type ‘{bar :: String}’ In the definition of data constructor ‘B’ - In the data declaration for ‘Foo’ \ No newline at end of file + In the data declaration for ‘Foo’ diff --git a/testsuite/tests/rename/should_fail/T9177.stderr b/testsuite/tests/rename/should_fail/T9177.stderr index 215a144f06c6..adc0c7e95380 100644 --- a/testsuite/tests/rename/should_fail/T9177.stderr +++ b/testsuite/tests/rename/should_fail/T9177.stderr @@ -1,12 +1,13 @@ -T9177.hs:4:13: error: +T9177.hs:4:13: error: [GHC-76037] Not in scope: type variable ‘int’ Suggested fix: Perhaps use type constructor or class ‘Int’ (imported from Prelude) -T9177.hs:7:14: error: +T9177.hs:7:14: error: [GHC-76037] Not in scope: type variable ‘integerr’ Suggested fix: Perhaps use type constructor or class ‘Integer’ (imported from Prelude) -T9177.hs:17:6: error: Not in scope: data constructor ‘Fun’ +T9177.hs:17:6: error: [GHC-76037] + Not in scope: data constructor ‘Fun’ diff --git a/testsuite/tests/rename/should_fail/T9177a.stderr b/testsuite/tests/rename/should_fail/T9177a.stderr index 0fd65a072602..0ee99840f4e6 100644 --- a/testsuite/tests/rename/should_fail/T9177a.stderr +++ b/testsuite/tests/rename/should_fail/T9177a.stderr @@ -1,4 +1,5 @@ -T9177a.hs:3:8: error: Variable not in scope: bar +T9177a.hs:3:8: error: [GHC-88464] Variable not in scope: bar -T9177a.hs:4:8: error: Data constructor not in scope: Fun +T9177a.hs:4:8: error: [GHC-88464] + Data constructor not in scope: Fun diff --git a/testsuite/tests/rename/should_fail/T9436.stderr b/testsuite/tests/rename/should_fail/T9436.stderr index 30a7c5f6b4fa..65555ca42734 100644 --- a/testsuite/tests/rename/should_fail/T9436.stderr +++ b/testsuite/tests/rename/should_fail/T9436.stderr @@ -1,4 +1,4 @@ -T9436.hs:8:4: error: +T9436.hs:8:4: error: [GHC-76037] Not in scope: data constructor ‘T'’ Suggested fix: Perhaps use ‘T’ (line 5) diff --git a/testsuite/tests/rename/should_fail/T9437.stderr b/testsuite/tests/rename/should_fail/T9437.stderr index 2b8ec8450242..e9ad533b5f1b 100644 --- a/testsuite/tests/rename/should_fail/T9437.stderr +++ b/testsuite/tests/rename/should_fail/T9437.stderr @@ -1,2 +1,3 @@ -T9437.hs:8:18: You cannot use `..' in a record update +T9437.hs:8:18: error: [GHC-70712] + You cannot use `..' in a record update diff --git a/testsuite/tests/rename/should_fail/T9815.stderr b/testsuite/tests/rename/should_fail/T9815.stderr index 99f16b624db6..77b02eff6f5b 100644 --- a/testsuite/tests/rename/should_fail/T9815.stderr +++ b/testsuite/tests/rename/should_fail/T9815.stderr @@ -1,4 +1,4 @@ -T9815.hs:6:13: +T9815.hs:6:13: error: [GHC-47217] Illegal `..' notation for constructor ‘N’ The constructor has no labelled fields diff --git a/testsuite/tests/rename/should_fail/mc13.stderr b/testsuite/tests/rename/should_fail/mc13.stderr index e55f179a460e..746e5b355c8d 100644 --- a/testsuite/tests/rename/should_fail/mc13.stderr +++ b/testsuite/tests/rename/should_fail/mc13.stderr @@ -1,2 +1,3 @@ -mc13.hs:12:37: error: Variable not in scope: f :: [a] -> m a +mc13.hs:12:37: error: [GHC-88464] + Variable not in scope: f :: [a] -> m a diff --git a/testsuite/tests/rename/should_fail/mc14.stderr b/testsuite/tests/rename/should_fail/mc14.stderr index 402006af2abf..24e34e6e311b 100644 --- a/testsuite/tests/rename/should_fail/mc14.stderr +++ b/testsuite/tests/rename/should_fail/mc14.stderr @@ -1,2 +1,3 @@ -mc14.hs:14:49: error: Variable not in scope: f :: [a] -> m (t0 a) +mc14.hs:14:49: error: [GHC-88464] + Variable not in scope: f :: [a] -> m (t0 a) diff --git a/testsuite/tests/rename/should_fail/rnfail008.stderr b/testsuite/tests/rename/should_fail/rnfail008.stderr index bf4b0e4d0857..1b10749908fe 100644 --- a/testsuite/tests/rename/should_fail/rnfail008.stderr +++ b/testsuite/tests/rename/should_fail/rnfail008.stderr @@ -1,2 +1,3 @@ -rnfail008.hs:18:9: ‘op3’ is not a (visible) method of class ‘K’ +rnfail008.hs:18:9: error: [GHC-54721] + ‘op3’ is not a (visible) method of class ‘K’ diff --git a/testsuite/tests/rename/should_fail/rnfail016.stderr b/testsuite/tests/rename/should_fail/rnfail016.stderr index 6ed450ce0bbf..cb49527a8e30 100644 --- a/testsuite/tests/rename/should_fail/rnfail016.stderr +++ b/testsuite/tests/rename/should_fail/rnfail016.stderr @@ -1,4 +1,4 @@ -rnfail016.hs:6:7: error: +rnfail016.hs:6:7: error: [GHC-84077] @-pattern in expression context: x@x Type application syntax requires a space before '@' diff --git a/testsuite/tests/rename/should_fail/rnfail016a.stderr b/testsuite/tests/rename/should_fail/rnfail016a.stderr index 544cf58cac7f..70fa2c20dbc5 100644 --- a/testsuite/tests/rename/should_fail/rnfail016a.stderr +++ b/testsuite/tests/rename/should_fail/rnfail016a.stderr @@ -1,2 +1,2 @@ -rnfail016a.hs:6:7: error: parse error on input ‘~’ +rnfail016a.hs:6:7: error: [GHC-58481] parse error on input ‘~’ diff --git a/testsuite/tests/rename/should_fail/rnfail018.stderr b/testsuite/tests/rename/should_fail/rnfail018.stderr index 847cfe211efe..af8100efdd19 100644 --- a/testsuite/tests/rename/should_fail/rnfail018.stderr +++ b/testsuite/tests/rename/should_fail/rnfail018.stderr @@ -1,8 +1,12 @@ -rnfail018.hs:12:37: Not in scope: type variable ‘a’ +rnfail018.hs:12:37: error: [GHC-76037] + Not in scope: type variable ‘a’ -rnfail018.hs:12:42: Not in scope: type variable ‘m’ +rnfail018.hs:12:42: error: [GHC-76037] + Not in scope: type variable ‘m’ -rnfail018.hs:12:47: Not in scope: type variable ‘m’ +rnfail018.hs:12:47: error: [GHC-76037] + Not in scope: type variable ‘m’ -rnfail018.hs:12:49: Not in scope: type variable ‘a’ +rnfail018.hs:12:49: error: [GHC-76037] + Not in scope: type variable ‘a’ diff --git a/testsuite/tests/rename/should_fail/rnfail022.stderr b/testsuite/tests/rename/should_fail/rnfail022.stderr index 87a1adef3f0c..b916186408f8 100644 --- a/testsuite/tests/rename/should_fail/rnfail022.stderr +++ b/testsuite/tests/rename/should_fail/rnfail022.stderr @@ -1,5 +1,5 @@ -rnfail022.hs:8:5: error: +rnfail022.hs:8:5: error: [GHC-88464] Variable not in scope: intersperse Suggested fix: Perhaps use ‘L.intersperse’ (imported from Data.List) diff --git a/testsuite/tests/rename/should_fail/rnfail023.stderr b/testsuite/tests/rename/should_fail/rnfail023.stderr index d10427ae7e47..8c0796aa23f3 100644 --- a/testsuite/tests/rename/should_fail/rnfail023.stderr +++ b/testsuite/tests/rename/should_fail/rnfail023.stderr @@ -1,9 +1,9 @@ -rnfail023.hs:7:1: +rnfail023.hs:7:1: error: [GHC-44432] The type signature for ‘f’ lacks an accompanying binding -rnfail023.hs:8:12: +rnfail023.hs:8:12: error: [GHC-44432] The INLINE pragma for ‘f’ lacks an accompanying binding -rnfail023.hs:14:7: +rnfail023.hs:14:7: error: [GHC-44432] The type signature for ‘g’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/rnfail024.stderr b/testsuite/tests/rename/should_fail/rnfail024.stderr index 6be278d76ea0..21cc45f77035 100644 --- a/testsuite/tests/rename/should_fail/rnfail024.stderr +++ b/testsuite/tests/rename/should_fail/rnfail024.stderr @@ -1,4 +1,4 @@ -rnfail024.hs:3:1: error: +rnfail024.hs:3:1: error: [GHC-44432] The type signature for ‘sig_without_a_defn’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/rnfail025.stderr b/testsuite/tests/rename/should_fail/rnfail025.stderr index 2f57250f3319..a5684a29f13b 100644 --- a/testsuite/tests/rename/should_fail/rnfail025.stderr +++ b/testsuite/tests/rename/should_fail/rnfail025.stderr @@ -1,4 +1,4 @@ -rnfail025.hs:3:1: +rnfail025.hs:3:1: error: [GHC-44432] The type signature for ‘sig_without_a_defn’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/rnfail026.stderr b/testsuite/tests/rename/should_fail/rnfail026.stderr index c7ce103ecc9c..ebbfb662799a 100644 --- a/testsuite/tests/rename/should_fail/rnfail026.stderr +++ b/testsuite/tests/rename/should_fail/rnfail026.stderr @@ -1,5 +1,5 @@ -rnfail026.hs:16:27: error: +rnfail026.hs:16:27: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Set a’ has kind ‘*’ • In the first argument of ‘Monad’, namely ‘(forall a. Eq a => Set a)’ diff --git a/testsuite/tests/rename/should_fail/rnfail027.stderr b/testsuite/tests/rename/should_fail/rnfail027.stderr index c58a74f75849..1827dc62a2d1 100644 --- a/testsuite/tests/rename/should_fail/rnfail027.stderr +++ b/testsuite/tests/rename/should_fail/rnfail027.stderr @@ -1,3 +1,3 @@ -rnfail027.hs:5:10: +rnfail027.hs:5:10: error: [GHC-44432] The fixity signature for ‘wibble’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/rnfail028.stderr b/testsuite/tests/rename/should_fail/rnfail028.stderr index 848e39e920d5..33eb4def4b25 100644 --- a/testsuite/tests/rename/should_fail/rnfail028.stderr +++ b/testsuite/tests/rename/should_fail/rnfail028.stderr @@ -1,3 +1,3 @@ -rnfail028.hs:2:21: error: +rnfail028.hs:2:21: error: [GHC-90973] The export item ‘module List’ is not imported diff --git a/testsuite/tests/rename/should_fail/rnfail029.stderr b/testsuite/tests/rename/should_fail/rnfail029.stderr index c1d97b3acfa7..6dc1305ffd95 100644 --- a/testsuite/tests/rename/should_fail/rnfail029.stderr +++ b/testsuite/tests/rename/should_fail/rnfail029.stderr @@ -1,5 +1,5 @@ -rnfail029.hs:2:36: +rnfail029.hs:2:36: error: [GHC-69158] Conflicting exports for ‘map’: ‘Data.List.map’ exports ‘Data.List.map’ imported qualified from ‘Data.List’ at rnfail029.hs:3:1-26 diff --git a/testsuite/tests/rename/should_fail/rnfail030.stderr b/testsuite/tests/rename/should_fail/rnfail030.stderr index 6343062325c0..705ea7fba2e7 100644 --- a/testsuite/tests/rename/should_fail/rnfail030.stderr +++ b/testsuite/tests/rename/should_fail/rnfail030.stderr @@ -1,5 +1,5 @@ -rnfail030.hs:2:21: error: +rnfail030.hs:2:21: error: [GHC-76037] Not in scope: ‘Data.List.map’ Suggested fix: Perhaps you want to add ‘map’ to the import list in the import of diff --git a/testsuite/tests/rename/should_fail/rnfail031.stderr b/testsuite/tests/rename/should_fail/rnfail031.stderr index 1036d52bcbf8..1f6d57d7a84a 100644 --- a/testsuite/tests/rename/should_fail/rnfail031.stderr +++ b/testsuite/tests/rename/should_fail/rnfail031.stderr @@ -1,5 +1,5 @@ -rnfail031.hs:2:21: error: +rnfail031.hs:2:21: error: [GHC-76037] Not in scope: ‘Data.List.map’ Suggested fix: Perhaps you want to add ‘map’ to the import list in the import of diff --git a/testsuite/tests/rename/should_fail/rnfail032.stderr b/testsuite/tests/rename/should_fail/rnfail032.stderr index febd38044275..f05e4bc6237e 100644 --- a/testsuite/tests/rename/should_fail/rnfail032.stderr +++ b/testsuite/tests/rename/should_fail/rnfail032.stderr @@ -1,5 +1,5 @@ -rnfail032.hs:2:21: error: +rnfail032.hs:2:21: error: [GHC-76037] Not in scope: ‘Data.List.map’ Suggested fixes: • Perhaps use one of these: diff --git a/testsuite/tests/rename/should_fail/rnfail033.stderr b/testsuite/tests/rename/should_fail/rnfail033.stderr index d9fbc22a1c31..f16eb4ca2bff 100644 --- a/testsuite/tests/rename/should_fail/rnfail033.stderr +++ b/testsuite/tests/rename/should_fail/rnfail033.stderr @@ -1,5 +1,5 @@ -rnfail033.hs:2:21: error: +rnfail033.hs:2:21: error: [GHC-76037] Not in scope: ‘Data.List.map’ Suggested fixes: • Perhaps use one of these: diff --git a/testsuite/tests/rename/should_fail/rnfail034.stderr b/testsuite/tests/rename/should_fail/rnfail034.stderr index be73da47a44c..f385539f7924 100644 --- a/testsuite/tests/rename/should_fail/rnfail034.stderr +++ b/testsuite/tests/rename/should_fail/rnfail034.stderr @@ -1,6 +1,6 @@ rnfail034.hs:4:11: error: Qualified name in binding position: M.y -rnfail034.hs:4:26: error: +rnfail034.hs:4:26: error: [GHC-76037] Not in scope: ‘M.y’ Suggested fix: Perhaps use ‘M.g’ (line 4) diff --git a/testsuite/tests/rename/should_fail/rnfail035.stderr b/testsuite/tests/rename/should_fail/rnfail035.stderr index b5de0c07004f..2088e25d7bd0 100644 --- a/testsuite/tests/rename/should_fail/rnfail035.stderr +++ b/testsuite/tests/rename/should_fail/rnfail035.stderr @@ -1,2 +1,3 @@ -rnfail035.hs:2:21: Not in scope: type constructor or class ‘C’ +rnfail035.hs:2:21: error: [GHC-76037] + Not in scope: type constructor or class ‘C’ diff --git a/testsuite/tests/rename/should_fail/rnfail040.stderr b/testsuite/tests/rename/should_fail/rnfail040.stderr index 33f2f8cba9f0..19f36e9a0531 100644 --- a/testsuite/tests/rename/should_fail/rnfail040.stderr +++ b/testsuite/tests/rename/should_fail/rnfail040.stderr @@ -1,9 +1,9 @@ -rnfail040.hs:7:12: error: +rnfail040.hs:7:12: error: [GHC-69158] Conflicting exports for ‘nub’: ‘module M’ exports ‘M.nub’ imported from ‘Data.List’ at rnfail040.hs:10:2-22 - (and originally defined in ‘base-4.13.0.0:Data.OldList’) + (and originally defined in ‘base-4.17.0.0:Data.OldList’) ‘module M’ exports ‘T.nub’ imported from ‘Rnfail040_A’ at rnfail040.hs:11:2-24 (and originally defined at Rnfail040_A.hs:2:3-5) diff --git a/testsuite/tests/rename/should_fail/rnfail041.stderr b/testsuite/tests/rename/should_fail/rnfail041.stderr index c5532569d154..423bc50927d8 100644 --- a/testsuite/tests/rename/should_fail/rnfail041.stderr +++ b/testsuite/tests/rename/should_fail/rnfail041.stderr @@ -1,6 +1,6 @@ -rnfail041.hs:4:1: +rnfail041.hs:4:1: error: [GHC-44432] The type signature for ‘h’ lacks an accompanying binding -rnfail041.hs:5:1: +rnfail041.hs:5:1: error: [GHC-44432] The type signature for ‘j’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/rnfail042.stderr b/testsuite/tests/rename/should_fail/rnfail042.stderr index 03b7c5447189..3ba1f9566f7d 100644 --- a/testsuite/tests/rename/should_fail/rnfail042.stderr +++ b/testsuite/tests/rename/should_fail/rnfail042.stderr @@ -1,8 +1,12 @@ -rnfail042.hs:5:11: Illegal binding of built-in syntax: () +rnfail042.hs:5:11: error: [GHC-69639] + Illegal binding of built-in syntax: () -rnfail042.hs:6:10: Illegal binding of built-in syntax: (,,,) +rnfail042.hs:6:10: error: [GHC-69639] + Illegal binding of built-in syntax: (,,,) -rnfail042.hs:7:12: Illegal binding of built-in syntax: [] +rnfail042.hs:7:12: error: [GHC-69639] + Illegal binding of built-in syntax: [] -rnfail042.hs:8:13: Illegal binding of built-in syntax: : +rnfail042.hs:8:13: error: [GHC-69639] + Illegal binding of built-in syntax: : diff --git a/testsuite/tests/rename/should_fail/rnfail045.stderr b/testsuite/tests/rename/should_fail/rnfail045.stderr index 52069f567c84..b8cf59ba0f85 100644 --- a/testsuite/tests/rename/should_fail/rnfail045.stderr +++ b/testsuite/tests/rename/should_fail/rnfail045.stderr @@ -1,10 +1,10 @@ -rnfail045.hs:5:1: +rnfail045.hs:5:1: error: [GHC-91938] Equations for ‘op1’ have different numbers of arguments rnfail045.hs:5:1-16 rnfail045.hs:6:1-13 -rnfail045.hs:8:1: +rnfail045.hs:8:1: error: [GHC-91938] Equations for ‘op2’ have different numbers of arguments rnfail045.hs:8:1-13 rnfail045.hs:9:1-16 diff --git a/testsuite/tests/rename/should_fail/rnfail049.stderr b/testsuite/tests/rename/should_fail/rnfail049.stderr index a3749021143b..8a065ff42bad 100644 --- a/testsuite/tests/rename/should_fail/rnfail049.stderr +++ b/testsuite/tests/rename/should_fail/rnfail049.stderr @@ -1,2 +1,3 @@ -rnfail049.hs:12:49: error: Variable not in scope: f :: [a] -> [[a]] +rnfail049.hs:12:49: error: [GHC-88464] + Variable not in scope: f :: [a] -> [[a]] diff --git a/testsuite/tests/rename/should_fail/rnfail050.stderr b/testsuite/tests/rename/should_fail/rnfail050.stderr index 6ce61321f987..a559e0ccdf74 100644 --- a/testsuite/tests/rename/should_fail/rnfail050.stderr +++ b/testsuite/tests/rename/should_fail/rnfail050.stderr @@ -1,2 +1,3 @@ -rnfail050.hs:10:37: error: Variable not in scope: f :: [a] -> [a] +rnfail050.hs:10:37: error: [GHC-88464] + Variable not in scope: f :: [a] -> [a] diff --git a/testsuite/tests/rename/should_fail/rnfail051.stderr b/testsuite/tests/rename/should_fail/rnfail051.stderr index c1f4f43a2fee..75a37142ca2e 100644 --- a/testsuite/tests/rename/should_fail/rnfail051.stderr +++ b/testsuite/tests/rename/should_fail/rnfail051.stderr @@ -1,3 +1,3 @@ -rnfail051.hs:7:17: error: +rnfail051.hs:7:17: error: [GHC-66228] View pattern in expression context: _ -> putStrLn "_" diff --git a/testsuite/tests/rename/should_fail/rnfail052.stderr b/testsuite/tests/rename/should_fail/rnfail052.stderr index 242fb70fd6ea..db9aaeb92326 100644 --- a/testsuite/tests/rename/should_fail/rnfail052.stderr +++ b/testsuite/tests/rename/should_fail/rnfail052.stderr @@ -1,17 +1,17 @@ -rnfail052.hs:7:6: error: +rnfail052.hs:7:6: error: [GHC-25955] Illegal symbol ‘forall’ in type Suggested fix: Perhaps you intended to use RankNTypes or a similar language extension to enable explicit-forall syntax: forall <tvs>. <type> -rnfail052.hs:10:14: error: +rnfail052.hs:10:14: error: [GHC-25955] Illegal symbol ‘forall’ in type Suggested fix: Perhaps you intended to use RankNTypes or a similar language extension to enable explicit-forall syntax: forall <tvs>. <type> -rnfail052.hs:13:15: error: +rnfail052.hs:13:15: error: [GHC-25955] Illegal symbol ‘forall’ in type Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/rename/should_fail/rnfail054.stderr b/testsuite/tests/rename/should_fail/rnfail054.stderr index edfac8a1c84c..04fff5111879 100644 --- a/testsuite/tests/rename/should_fail/rnfail054.stderr +++ b/testsuite/tests/rename/should_fail/rnfail054.stderr @@ -1,5 +1,5 @@ -rnfail054.hs:6:13: - ‘foo’ is not a record selector - In the expression: x {foo = 1} - In an equation for ‘foo’: foo x = x {foo = 1} +rnfail054.hs:6:13: error: [GHC-47535] + • ‘foo’ is not a record selector + • In the expression: x {foo = 1} + In an equation for ‘foo’: foo x = x {foo = 1} diff --git a/testsuite/tests/rename/should_fail/rnfail057.stderr b/testsuite/tests/rename/should_fail/rnfail057.stderr index aaeb29dc4fca..67ef804dc3db 100644 --- a/testsuite/tests/rename/should_fail/rnfail057.stderr +++ b/testsuite/tests/rename/should_fail/rnfail057.stderr @@ -1,3 +1,3 @@ -rnfail057.hs:5:16: +rnfail057.hs:5:16: error: [GHC-76037] Not in scope: type constructor or class ‘DontExistKind’ diff --git a/testsuite/tests/rep-poly/EtaExpandStupid2.stderr b/testsuite/tests/rep-poly/EtaExpandStupid2.stderr index 8477952cb486..0cc3766dbd32 100644 --- a/testsuite/tests/rep-poly/EtaExpandStupid2.stderr +++ b/testsuite/tests/rep-poly/EtaExpandStupid2.stderr @@ -1,5 +1,5 @@ -EtaExpandStupid2.hs:16:8: error: +EtaExpandStupid2.hs:16:8: error: [GHC-39999] • No instance for ‘Num c’ arising from a use of ‘MkD4’ Possible fix: add (Num c) to the context of diff --git a/testsuite/tests/rep-poly/LevPolyLet.stderr b/testsuite/tests/rep-poly/LevPolyLet.stderr index ed47733081ed..95e606cf7e70 100644 --- a/testsuite/tests/rep-poly/LevPolyLet.stderr +++ b/testsuite/tests/rep-poly/LevPolyLet.stderr @@ -1,5 +1,5 @@ -LevPolyLet.hs:17:7: error: +LevPolyLet.hs:17:7: error: [GHC-55287] • The binder ‘x’ does not have a fixed runtime representation. Its type is: a :: TYPE ('BoxedRep v) diff --git a/testsuite/tests/rep-poly/RepPolyApp.stderr b/testsuite/tests/rep-poly/RepPolyApp.stderr index 77dd0a30cfa5..8cdfb40406b1 100644 --- a/testsuite/tests/rep-poly/RepPolyApp.stderr +++ b/testsuite/tests/rep-poly/RepPolyApp.stderr @@ -1,5 +1,5 @@ -RepPolyApp.hs:11:9: error: +RepPolyApp.hs:11:9: error: [GHC-55287] • The argument ‘(undefined :: a)’ of ‘f’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyArgument.stderr b/testsuite/tests/rep-poly/RepPolyArgument.stderr index b5050fc6a53e..c6aaded15b99 100644 --- a/testsuite/tests/rep-poly/RepPolyArgument.stderr +++ b/testsuite/tests/rep-poly/RepPolyArgument.stderr @@ -1,5 +1,5 @@ -RepPolyArgument.hs:10:18: error: +RepPolyArgument.hs:10:18: error: [GHC-55287] • The argument ‘(undefined @(R @RuntimeRep))’ of ‘undefined’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyArrowCmd.stderr b/testsuite/tests/rep-poly/RepPolyArrowCmd.stderr index 26a96f349a65..b36b11e7a22b 100644 --- a/testsuite/tests/rep-poly/RepPolyArrowCmd.stderr +++ b/testsuite/tests/rep-poly/RepPolyArrowCmd.stderr @@ -1,5 +1,5 @@ -RepPolyArrowCmd.hs:26:17: error: +RepPolyArrowCmd.hs:26:17: error: [GHC-55287] • The arrow command ‘returnA -< x’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyArrowFun.stderr b/testsuite/tests/rep-poly/RepPolyArrowFun.stderr index a79570822a5a..6f2f6e338723 100644 --- a/testsuite/tests/rep-poly/RepPolyArrowFun.stderr +++ b/testsuite/tests/rep-poly/RepPolyArrowFun.stderr @@ -1,5 +1,5 @@ -RepPolyArrowFun.hs:29:19: error: +RepPolyArrowFun.hs:29:19: error: [GHC-55287] • • The function in the first order arrow application of ‘undefined’ to diff --git a/testsuite/tests/rep-poly/RepPolyBackpack1.stderr b/testsuite/tests/rep-poly/RepPolyBackpack1.stderr index e4a128ea4d0b..cfdf4cf2bdf2 100644 --- a/testsuite/tests/rep-poly/RepPolyBackpack1.stderr +++ b/testsuite/tests/rep-poly/RepPolyBackpack1.stderr @@ -2,7 +2,7 @@ [1 of 2] Compiling NumberUnknown[sig] ( number-unknown\NumberUnknown.hsig, nothing ) [2 of 2] Compiling NumberStuff ( number-unknown\NumberStuff.hs, nothing ) -RepPolyBackpack1.bkp:17:5: error: +RepPolyBackpack1.bkp:17:5: error: [GHC-55287] The second pattern in the equation for ‘funcA’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyBinder.stderr b/testsuite/tests/rep-poly/RepPolyBinder.stderr index 177a4865e620..39c2306a6ebf 100644 --- a/testsuite/tests/rep-poly/RepPolyBinder.stderr +++ b/testsuite/tests/rep-poly/RepPolyBinder.stderr @@ -1,5 +1,5 @@ -RepPolyBinder.hs:11:1: error: +RepPolyBinder.hs:11:1: error: [GHC-55287] • The first pattern in the equation for ‘foo’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyCase1.stderr b/testsuite/tests/rep-poly/RepPolyCase1.stderr index 4804a67f8a93..c2938bebf8b5 100644 --- a/testsuite/tests/rep-poly/RepPolyCase1.stderr +++ b/testsuite/tests/rep-poly/RepPolyCase1.stderr @@ -1,5 +1,5 @@ -RepPolyCase1.hs:14:7: error: +RepPolyCase1.hs:14:7: error: [GHC-55287] • The scrutinee of the case statement does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyCase2.stderr b/testsuite/tests/rep-poly/RepPolyCase2.stderr index e84b8db2edbb..1418da126c76 100644 --- a/testsuite/tests/rep-poly/RepPolyCase2.stderr +++ b/testsuite/tests/rep-poly/RepPolyCase2.stderr @@ -1,5 +1,5 @@ -RepPolyCase2.hs:33:7: error: +RepPolyCase2.hs:33:7: error: [GHC-55287] • The scrutinee of the case statement does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyClassMethod.stderr b/testsuite/tests/rep-poly/RepPolyClassMethod.stderr index 2731c542c1d0..f4999c7b5c3f 100644 --- a/testsuite/tests/rep-poly/RepPolyClassMethod.stderr +++ b/testsuite/tests/rep-poly/RepPolyClassMethod.stderr @@ -1,5 +1,5 @@ -RepPolyClassMethod.hs:10:12: error: +RepPolyClassMethod.hs:10:12: error: [GHC-25897] • Expected a type, but ‘a’ has kind ‘TYPE rep’ ‘rep’ is a rigid type variable bound by the class declaration for ‘C’ diff --git a/testsuite/tests/rep-poly/RepPolyDeferred.stderr b/testsuite/tests/rep-poly/RepPolyDeferred.stderr index 4cb5449fa876..cef43d4ec093 100644 --- a/testsuite/tests/rep-poly/RepPolyDeferred.stderr +++ b/testsuite/tests/rep-poly/RepPolyDeferred.stderr @@ -1,5 +1,5 @@ -RepPolyDeferred.hs:8:1: error: +RepPolyDeferred.hs:8:1: error: [GHC-55287] The first pattern in the equation for ‘foo’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyDoBind.stderr b/testsuite/tests/rep-poly/RepPolyDoBind.stderr index bc3bd344651a..920499675a0d 100644 --- a/testsuite/tests/rep-poly/RepPolyDoBind.stderr +++ b/testsuite/tests/rep-poly/RepPolyDoBind.stderr @@ -1,5 +1,5 @@ -RepPolyDoBind.hs:26:3: error: +RepPolyDoBind.hs:26:3: error: [GHC-55287] • The first argument of the rebindable syntax operator ‘(>>=)’ arising from a do statement does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyDoBody1.stderr b/testsuite/tests/rep-poly/RepPolyDoBody1.stderr index e31d97891e6c..a1126fd63714 100644 --- a/testsuite/tests/rep-poly/RepPolyDoBody1.stderr +++ b/testsuite/tests/rep-poly/RepPolyDoBody1.stderr @@ -1,5 +1,5 @@ -RepPolyDoBody1.hs:24:3: error: +RepPolyDoBody1.hs:24:3: error: [GHC-55287] • The first argument of the rebindable syntax operator ‘(>>)’ arising from a do statement does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyDoBody2.stderr b/testsuite/tests/rep-poly/RepPolyDoBody2.stderr index 40a033a33d6a..2678d90f3303 100644 --- a/testsuite/tests/rep-poly/RepPolyDoBody2.stderr +++ b/testsuite/tests/rep-poly/RepPolyDoBody2.stderr @@ -1,5 +1,5 @@ -RepPolyDoBody2.hs:23:3: error: +RepPolyDoBody2.hs:23:3: error: [GHC-55287] • The first argument of the rebindable syntax operator ‘(>>)’ arising from a do statement does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyInferPatBind.stderr b/testsuite/tests/rep-poly/RepPolyInferPatBind.stderr index 8e9f7fb0324f..486de932bd93 100644 --- a/testsuite/tests/rep-poly/RepPolyInferPatBind.stderr +++ b/testsuite/tests/rep-poly/RepPolyInferPatBind.stderr @@ -1,10 +1,10 @@ -RepPolyInferPatBind.hs:21:1: error: +RepPolyInferPatBind.hs:21:1: error: [GHC-55287] The binder ‘x’ does not have a fixed runtime representation. Its type is: T :: TYPE R -RepPolyInferPatBind.hs:21:2: error: +RepPolyInferPatBind.hs:21:2: error: [GHC-55287] • The pattern binding does not have a fixed runtime representation. Its type is: T :: TYPE R diff --git a/testsuite/tests/rep-poly/RepPolyInferPatSyn.stderr b/testsuite/tests/rep-poly/RepPolyInferPatSyn.stderr index 7e07ea88ca78..7f5c4f1ca76d 100644 --- a/testsuite/tests/rep-poly/RepPolyInferPatSyn.stderr +++ b/testsuite/tests/rep-poly/RepPolyInferPatSyn.stderr @@ -1,5 +1,5 @@ -RepPolyInferPatSyn.hs:22:16: error: +RepPolyInferPatSyn.hs:22:16: error: [GHC-55287] • The pattern synonym argument pattern does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyLambda.stderr b/testsuite/tests/rep-poly/RepPolyLambda.stderr index d6553545483d..6a8bcfde5371 100644 --- a/testsuite/tests/rep-poly/RepPolyLambda.stderr +++ b/testsuite/tests/rep-poly/RepPolyLambda.stderr @@ -1,5 +1,5 @@ -RepPolyLambda.hs:11:5: error: +RepPolyLambda.hs:11:5: error: [GHC-55287] • The binder of the lambda expression does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyLeftSection2.stderr b/testsuite/tests/rep-poly/RepPolyLeftSection2.stderr index b273475650ce..9597abade327 100644 --- a/testsuite/tests/rep-poly/RepPolyLeftSection2.stderr +++ b/testsuite/tests/rep-poly/RepPolyLeftSection2.stderr @@ -1,5 +1,5 @@ -RepPolyLeftSection2.hs:14:11: error: +RepPolyLeftSection2.hs:14:11: error: [GHC-55287] • The argument ‘undefined’ of ‘f’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyMagic.stderr b/testsuite/tests/rep-poly/RepPolyMagic.stderr index 47e7ba81d35c..d0e5a36e5be8 100644 --- a/testsuite/tests/rep-poly/RepPolyMagic.stderr +++ b/testsuite/tests/rep-poly/RepPolyMagic.stderr @@ -1,5 +1,5 @@ -RepPolyMagic.hs:12:7: error: +RepPolyMagic.hs:12:7: error: [GHC-55287] • Unsaturated use of a representation-polymorphic primitive function. The second argument of ‘seq’ does not have a fixed runtime representation. @@ -8,7 +8,7 @@ RepPolyMagic.hs:12:7: error: • In the expression: seq In an equation for ‘foo’: foo = seq -RepPolyMagic.hs:15:7: error: +RepPolyMagic.hs:15:7: error: [GHC-55287] • Unsaturated use of a representation-polymorphic primitive function. The second argument of ‘oneShot’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyMatch.stderr b/testsuite/tests/rep-poly/RepPolyMatch.stderr index d845426032c6..0067d79accd8 100644 --- a/testsuite/tests/rep-poly/RepPolyMatch.stderr +++ b/testsuite/tests/rep-poly/RepPolyMatch.stderr @@ -1,5 +1,5 @@ -RepPolyMatch.hs:11:9: error: +RepPolyMatch.hs:11:9: error: [GHC-55287] • The binder of the \case expression does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyMcBind.stderr b/testsuite/tests/rep-poly/RepPolyMcBind.stderr index 676bb543ac39..d08ef575a48e 100644 --- a/testsuite/tests/rep-poly/RepPolyMcBind.stderr +++ b/testsuite/tests/rep-poly/RepPolyMcBind.stderr @@ -1,5 +1,5 @@ -RepPolyMcBind.hs:26:16: error: +RepPolyMcBind.hs:26:16: error: [GHC-55287] • The first argument of the rebindable syntax operator ‘(>>=)’ arising from a statement in a monad comprehension does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyMcBody.stderr b/testsuite/tests/rep-poly/RepPolyMcBody.stderr index 93aca381cef8..4c52bb4729ea 100644 --- a/testsuite/tests/rep-poly/RepPolyMcBody.stderr +++ b/testsuite/tests/rep-poly/RepPolyMcBody.stderr @@ -1,5 +1,5 @@ -RepPolyMcBody.hs:30:16: error: +RepPolyMcBody.hs:30:16: error: [GHC-55287] • The first argument of the rebindable syntax operator ‘(>>)’ arising from a statement in a monad comprehension does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyMcGuard.stderr b/testsuite/tests/rep-poly/RepPolyMcGuard.stderr index a545b53c6c74..69d4bf2bf54f 100644 --- a/testsuite/tests/rep-poly/RepPolyMcGuard.stderr +++ b/testsuite/tests/rep-poly/RepPolyMcGuard.stderr @@ -1,5 +1,5 @@ -RepPolyMcGuard.hs:30:16: error: +RepPolyMcGuard.hs:30:16: error: [GHC-55287] • The first argument of the rebindable syntax operator ‘guard’ arising from a statement in a monad comprehension does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyNPlusK.stderr b/testsuite/tests/rep-poly/RepPolyNPlusK.stderr index 80672387dbdf..a227f454f659 100644 --- a/testsuite/tests/rep-poly/RepPolyNPlusK.stderr +++ b/testsuite/tests/rep-poly/RepPolyNPlusK.stderr @@ -1,5 +1,5 @@ -RepPolyNPlusK.hs:22:1: error: +RepPolyNPlusK.hs:22:1: error: [GHC-55287] The first pattern in the equation for ‘foo’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyNewtypePat1.stderr b/testsuite/tests/rep-poly/RepPolyNewtypePat1.stderr index b49bd58f2a91..507d4aba6ee4 100644 --- a/testsuite/tests/rep-poly/RepPolyNewtypePat1.stderr +++ b/testsuite/tests/rep-poly/RepPolyNewtypePat1.stderr @@ -1,11 +1,11 @@ -RepPolyNewtypePat1.hs:16:1: error: +RepPolyNewtypePat1.hs:16:1: error: [GHC-55287] The first pattern in the equation for ‘bar’ does not have a fixed runtime representation. Its type is: X a :: TYPE rep -RepPolyNewtypePat1.hs:16:6: error: +RepPolyNewtypePat1.hs:16:6: error: [GHC-55287] • The newtype constructor pattern does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyPatBind.stderr b/testsuite/tests/rep-poly/RepPolyPatBind.stderr index 976e84e81e37..40637215feea 100644 --- a/testsuite/tests/rep-poly/RepPolyPatBind.stderr +++ b/testsuite/tests/rep-poly/RepPolyPatBind.stderr @@ -1,5 +1,5 @@ -RepPolyPatBind.hs:18:5: error: +RepPolyPatBind.hs:18:5: error: [GHC-55287] • • The binder ‘y’ does not have a fixed runtime representation. Its type is: a :: TYPE rep diff --git a/testsuite/tests/rep-poly/RepPolyPatSynArg.stderr b/testsuite/tests/rep-poly/RepPolyPatSynArg.stderr index 6b9b7f547395..addf1c72b96b 100644 --- a/testsuite/tests/rep-poly/RepPolyPatSynArg.stderr +++ b/testsuite/tests/rep-poly/RepPolyPatSynArg.stderr @@ -1,4 +1,4 @@ -RepPolyPatSynArg.hs:17:1: error: +RepPolyPatSynArg.hs:17:1: error: [GHC-18478] The pattern synonym argument does not have a fixed runtime representation: • a :: TYPE rep diff --git a/testsuite/tests/rep-poly/RepPolyPatSynRes.stderr b/testsuite/tests/rep-poly/RepPolyPatSynRes.stderr index d857ba135d38..dfd547dc7595 100644 --- a/testsuite/tests/rep-poly/RepPolyPatSynRes.stderr +++ b/testsuite/tests/rep-poly/RepPolyPatSynRes.stderr @@ -1,4 +1,4 @@ -RepPolyPatSynRes.hs:13:1: error: +RepPolyPatSynRes.hs:13:1: error: [GHC-18478] The pattern synonym scrutinee does not have a fixed runtime representation: • a :: TYPE rep diff --git a/testsuite/tests/rep-poly/RepPolyPatSynUnliftedNewtype.stderr b/testsuite/tests/rep-poly/RepPolyPatSynUnliftedNewtype.stderr index 0f1923944bef..8a47752f2769 100644 --- a/testsuite/tests/rep-poly/RepPolyPatSynUnliftedNewtype.stderr +++ b/testsuite/tests/rep-poly/RepPolyPatSynUnliftedNewtype.stderr @@ -1,8 +1,8 @@ -RepPolyPatSynUnliftedNewtype.hs:16:1: error: +RepPolyPatSynUnliftedNewtype.hs:16:1: error: [GHC-18478] The pattern synonym scrutinee does not have a fixed runtime representation: • X a :: TYPE rep -RepPolyPatSynUnliftedNewtype.hs:16:1: error: +RepPolyPatSynUnliftedNewtype.hs:16:1: error: [GHC-18478] The pattern synonym argument does not have a fixed runtime representation: • a :: TYPE rep diff --git a/testsuite/tests/rep-poly/RepPolyRecordPattern.stderr b/testsuite/tests/rep-poly/RepPolyRecordPattern.stderr index 11602f02858b..8bd88fe10215 100644 --- a/testsuite/tests/rep-poly/RepPolyRecordPattern.stderr +++ b/testsuite/tests/rep-poly/RepPolyRecordPattern.stderr @@ -1,5 +1,5 @@ -RepPolyRecordPattern.hs:7:35: error: +RepPolyRecordPattern.hs:7:35: error: [GHC-55287] • The newtype constructor pattern does not have a fixed runtime representation. Its type is: @@ -7,19 +7,19 @@ RepPolyRecordPattern.hs:7:35: error: • In the pattern: MkX {fld = fld} In an equation for ‘fld’: fld MkX {fld = fld} = fld -RepPolyRecordPattern.hs:7:35: error: +RepPolyRecordPattern.hs:7:35: error: [GHC-55287] The first pattern in the equation for ‘fld’ does not have a fixed runtime representation. Its type is: X a :: TYPE rep -RepPolyRecordPattern.hs:13:1: error: +RepPolyRecordPattern.hs:13:1: error: [GHC-55287] The first pattern in the equation for ‘upd’ does not have a fixed runtime representation. Its type is: X a :: TYPE rep -RepPolyRecordPattern.hs:13:7: error: +RepPolyRecordPattern.hs:13:7: error: [GHC-55287] • The newtype constructor pattern does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyRecordUpdate.stderr b/testsuite/tests/rep-poly/RepPolyRecordUpdate.stderr index 4e5fa9653b7e..f7a47b4a4fe8 100644 --- a/testsuite/tests/rep-poly/RepPolyRecordUpdate.stderr +++ b/testsuite/tests/rep-poly/RepPolyRecordUpdate.stderr @@ -1,5 +1,5 @@ -RepPolyRecordUpdate.hs:7:35: error: +RepPolyRecordUpdate.hs:7:35: error: [GHC-55287] • The newtype constructor pattern does not have a fixed runtime representation. Its type is: @@ -7,13 +7,13 @@ RepPolyRecordUpdate.hs:7:35: error: • In the pattern: MkX {fld = fld} In an equation for ‘fld’: fld MkX {fld = fld} = fld -RepPolyRecordUpdate.hs:7:35: error: +RepPolyRecordUpdate.hs:7:35: error: [GHC-55287] The first pattern in the equation for ‘fld’ does not have a fixed runtime representation. Its type is: X a :: TYPE rep -RepPolyRecordUpdate.hs:13:9: error: +RepPolyRecordUpdate.hs:13:9: error: [GHC-55287] • The record update at field ‘fld’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyRightSection.stderr b/testsuite/tests/rep-poly/RepPolyRightSection.stderr index 62c0bdcd8d8d..e3d13c34fb7a 100644 --- a/testsuite/tests/rep-poly/RepPolyRightSection.stderr +++ b/testsuite/tests/rep-poly/RepPolyRightSection.stderr @@ -1,5 +1,5 @@ -RepPolyRightSection.hs:14:11: error: +RepPolyRightSection.hs:14:11: error: [GHC-55287] • Unsaturated use of a representation-polymorphic primitive function. The third argument of ‘rightSection’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyRule1.stderr b/testsuite/tests/rep-poly/RepPolyRule1.stderr index 6250ddb09831..a7f524cf9978 100644 --- a/testsuite/tests/rep-poly/RepPolyRule1.stderr +++ b/testsuite/tests/rep-poly/RepPolyRule1.stderr @@ -1,5 +1,5 @@ -RepPolyRule1.hs:11:51: error: +RepPolyRule1.hs:11:51: error: [GHC-55287] • The argument ‘x’ of ‘f’ does not have a fixed runtime representation. Its type is: @@ -12,7 +12,7 @@ RepPolyRule1.hs:11:51: error: • Relevant bindings include x :: a2 (bound at RepPolyRule1.hs:11:26) -RepPolyRule1.hs:11:55: error: +RepPolyRule1.hs:11:55: error: [GHC-55287] • The argument ‘x’ of ‘f’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyRule2.stderr b/testsuite/tests/rep-poly/RepPolyRule2.stderr index 82403d3c7dc8..5a0dc379e083 100644 --- a/testsuite/tests/rep-poly/RepPolyRule2.stderr +++ b/testsuite/tests/rep-poly/RepPolyRule2.stderr @@ -1,5 +1,5 @@ -RepPolyRule2.hs:17:53: error: +RepPolyRule2.hs:17:53: error: [GHC-55287] • The argument ‘x’ of ‘f’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyRule3.stderr b/testsuite/tests/rep-poly/RepPolyRule3.stderr index 695a4985bf8d..fb6b135b7293 100644 --- a/testsuite/tests/rep-poly/RepPolyRule3.stderr +++ b/testsuite/tests/rep-poly/RepPolyRule3.stderr @@ -1,5 +1,5 @@ -RepPolyRule3.hs:17:57: error: +RepPolyRule3.hs:17:57: error: [GHC-55287] • The argument ‘x’ of ‘g’ does not have a fixed runtime representation. Its kind is: @@ -8,7 +8,7 @@ RepPolyRule3.hs:17:57: error: • In the expression: g x When checking the rewrite rule "g_id" -RepPolyRule3.hs:23:52: error: +RepPolyRule3.hs:23:52: error: [GHC-55287] • The argument ‘x’ of ‘h’ does not have a fixed runtime representation. Its kind is: diff --git a/testsuite/tests/rep-poly/RepPolySum.stderr b/testsuite/tests/rep-poly/RepPolySum.stderr index dacb118e2a22..89a8ef85a927 100644 --- a/testsuite/tests/rep-poly/RepPolySum.stderr +++ b/testsuite/tests/rep-poly/RepPolySum.stderr @@ -1,5 +1,5 @@ -RepPolySum.hs:11:9: error: +RepPolySum.hs:11:9: error: [GHC-55287] • The unboxed sum does not have a fixed runtime representation. Its type is: (# Int# | a #) :: TYPE ('SumRep '[ 'IntRep, rep]) @@ -11,7 +11,7 @@ RepPolySum.hs:11:9: error: bar :: () -> a bar _ = undefined -RepPolySum.hs:20:9: error: +RepPolySum.hs:20:9: error: [GHC-55287] • The unboxed sum does not have a fixed runtime representation. Its type is: (# Int# | a #) :: TYPE ('SumRep '[ 'IntRep, rep]) diff --git a/testsuite/tests/rep-poly/RepPolyTuple.stderr b/testsuite/tests/rep-poly/RepPolyTuple.stderr index f9c12759763a..354a315b5a22 100644 --- a/testsuite/tests/rep-poly/RepPolyTuple.stderr +++ b/testsuite/tests/rep-poly/RepPolyTuple.stderr @@ -1,5 +1,5 @@ -RepPolyTuple.hs:11:9: error: +RepPolyTuple.hs:11:9: error: [GHC-55287] • • The tuple argument in third position does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyTuple2.stderr b/testsuite/tests/rep-poly/RepPolyTuple2.stderr index 558e1bf1bb5c..7fdad7070e77 100644 --- a/testsuite/tests/rep-poly/RepPolyTuple2.stderr +++ b/testsuite/tests/rep-poly/RepPolyTuple2.stderr @@ -1,5 +1,5 @@ -RepPolyTuple2.hs:21:9: error: +RepPolyTuple2.hs:21:9: error: [GHC-55287] • Unsaturated use of a representation-polymorphic data constructor. The second argument of ‘(#,#)’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/RepPolyTupleSection.stderr b/testsuite/tests/rep-poly/RepPolyTupleSection.stderr index fa2ddf93cb2e..a6f03bf2a1ae 100644 --- a/testsuite/tests/rep-poly/RepPolyTupleSection.stderr +++ b/testsuite/tests/rep-poly/RepPolyTupleSection.stderr @@ -1,5 +1,5 @@ -RepPolyTupleSection.hs:11:7: error: +RepPolyTupleSection.hs:11:7: error: [GHC-55287] • The second component of the tuple section does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyUnboxedPatterns.stderr b/testsuite/tests/rep-poly/RepPolyUnboxedPatterns.stderr index a2d6e6bd1df3..a84d9d89f8a2 100644 --- a/testsuite/tests/rep-poly/RepPolyUnboxedPatterns.stderr +++ b/testsuite/tests/rep-poly/RepPolyUnboxedPatterns.stderr @@ -1,11 +1,11 @@ -RepPolyUnboxedPatterns.hs:8:1: error: +RepPolyUnboxedPatterns.hs:8:1: error: [GHC-55287] The first pattern in the equation for ‘foo’ does not have a fixed runtime representation. Its type is: (# a, b #) :: TYPE ('TupleRep '[rep1, rep2]) -RepPolyUnboxedPatterns.hs:11:1: error: +RepPolyUnboxedPatterns.hs:11:1: error: [GHC-55287] The first pattern in the equations for ‘bar’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyWildcardPattern.stderr b/testsuite/tests/rep-poly/RepPolyWildcardPattern.stderr index de27799bbf27..a9e0dcb0eafc 100644 --- a/testsuite/tests/rep-poly/RepPolyWildcardPattern.stderr +++ b/testsuite/tests/rep-poly/RepPolyWildcardPattern.stderr @@ -1,5 +1,5 @@ -RepPolyWildcardPattern.hs:6:1: error: +RepPolyWildcardPattern.hs:6:1: error: [GHC-55287] The first pattern in the equation for ‘foo’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/RepPolyWrappedVar.stderr b/testsuite/tests/rep-poly/RepPolyWrappedVar.stderr index d5ab6aaa0f5b..abdafcf070c2 100644 --- a/testsuite/tests/rep-poly/RepPolyWrappedVar.stderr +++ b/testsuite/tests/rep-poly/RepPolyWrappedVar.stderr @@ -1,5 +1,5 @@ -RepPolyWrappedVar.hs:15:10: error: +RepPolyWrappedVar.hs:15:10: error: [GHC-55287] • Unsaturated use of a representation-polymorphic primitive function. The first argument of ‘mkWeak#’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/T11473.stderr b/testsuite/tests/rep-poly/T11473.stderr index 8e7b81f3e9f6..d44e8f477d08 100644 --- a/testsuite/tests/rep-poly/T11473.stderr +++ b/testsuite/tests/rep-poly/T11473.stderr @@ -1,5 +1,5 @@ -T11473.hs:19:1: error: +T11473.hs:19:1: error: [GHC-55287] The first pattern in the equation for ‘hello’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T11724.stderr b/testsuite/tests/rep-poly/T11724.stderr index 1c63de3d1a9c..c7bc9948b3bb 100644 --- a/testsuite/tests/rep-poly/T11724.stderr +++ b/testsuite/tests/rep-poly/T11724.stderr @@ -1,5 +1,5 @@ -T11724.hs:7:44: error: +T11724.hs:7:44: error: [GHC-18478] • The data constructor field does not have a fixed runtime representation: • a :: TYPE r • In the definition of data constructor ‘Foo’ diff --git a/testsuite/tests/rep-poly/T12709.stderr b/testsuite/tests/rep-poly/T12709.stderr index d96ec578968d..3dea77979eac 100644 --- a/testsuite/tests/rep-poly/T12709.stderr +++ b/testsuite/tests/rep-poly/T12709.stderr @@ -1,5 +1,5 @@ -T12709.hs:28:13: error: +T12709.hs:28:13: error: [GHC-55287] • The argument ‘1’ of ‘(+)’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T12973.stderr b/testsuite/tests/rep-poly/T12973.stderr index b328176c1dfb..f0c89e63a970 100644 --- a/testsuite/tests/rep-poly/T12973.stderr +++ b/testsuite/tests/rep-poly/T12973.stderr @@ -1,5 +1,5 @@ -T12973.hs:13:7: error: +T12973.hs:13:7: error: [GHC-55287] • The argument ‘3’ of ‘(+)’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T13233.stderr b/testsuite/tests/rep-poly/T13233.stderr index c7e6be02fc4b..b0b4e807c316 100644 --- a/testsuite/tests/rep-poly/T13233.stderr +++ b/testsuite/tests/rep-poly/T13233.stderr @@ -1,5 +1,5 @@ -T13233.hs:14:11: error: +T13233.hs:14:11: error: [GHC-55287] • • Unsaturated use of a representation-polymorphic data constructor. The second argument of ‘(#,#)’ does not have a fixed runtime representation. @@ -14,7 +14,7 @@ T13233.hs:14:11: error: In the expression: bar (#,#) In an equation for ‘baz’: baz = bar (#,#) -T13233.hs:22:16: error: +T13233.hs:22:16: error: [GHC-55287] • • Unsaturated use of a representation-polymorphic data constructor. The second argument of ‘(#,#)’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/T13929.stderr b/testsuite/tests/rep-poly/T13929.stderr index 5365f7d6b058..5ad878794c6b 100644 --- a/testsuite/tests/rep-poly/T13929.stderr +++ b/testsuite/tests/rep-poly/T13929.stderr @@ -1,5 +1,5 @@ -T13929.hs:29:24: error: +T13929.hs:29:24: error: [GHC-55287] • The tuple argument in first position does not have a fixed runtime representation. Its type is: @@ -16,7 +16,7 @@ T13929.hs:29:24: error: gunbox :: (:*:) f g p -> GUnboxed (f :*: g) ('TupleRep '[rf, rg]) (bound at T13929.hs:29:5) -T13929.hs:34:21: error: +T13929.hs:34:21: error: [GHC-55287] • • The unboxed sum does not have a fixed runtime representation. Its type is: GUnboxed (f :+: g) ('SumRep '[rf, rg]) :: TYPE ('SumRep '[rf, rg]) diff --git a/testsuite/tests/rep-poly/T14561.stderr b/testsuite/tests/rep-poly/T14561.stderr index 3c372e689cb9..2908329182c4 100644 --- a/testsuite/tests/rep-poly/T14561.stderr +++ b/testsuite/tests/rep-poly/T14561.stderr @@ -1,5 +1,5 @@ -T14561.hs:12:9: error: +T14561.hs:12:9: error: [GHC-55287] • Unsaturated use of a representation-polymorphic primitive function. The first argument of ‘unsafeCoerce#’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/T14561b.stderr b/testsuite/tests/rep-poly/T14561b.stderr index 7af3b05511c2..5f36802561b5 100644 --- a/testsuite/tests/rep-poly/T14561b.stderr +++ b/testsuite/tests/rep-poly/T14561b.stderr @@ -1,5 +1,5 @@ -T14561b.hs:12:9: error: +T14561b.hs:12:9: error: [GHC-55287] • Unsaturated use of a representation-polymorphic primitive function. The first argument of ‘coerce’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/T14765.stderr b/testsuite/tests/rep-poly/T14765.stderr index 0b70a16404a0..003e247c61be 100644 --- a/testsuite/tests/rep-poly/T14765.stderr +++ b/testsuite/tests/rep-poly/T14765.stderr @@ -1,5 +1,5 @@ -T14765.hs:11:29: error: +T14765.hs:11:29: error: [GHC-55287] • The argument ‘(k proxy#)’ of ‘f’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T17021.stderr b/testsuite/tests/rep-poly/T17021.stderr index 39f907b40cf4..b1b4a68e44a7 100644 --- a/testsuite/tests/rep-poly/T17021.stderr +++ b/testsuite/tests/rep-poly/T17021.stderr @@ -1,5 +1,5 @@ -T17021.hs:18:5: error: +T17021.hs:18:5: error: [GHC-55287] • The argument ‘42’ of ‘MkT’ does not have a fixed runtime representation. Its kind is: diff --git a/testsuite/tests/rep-poly/T17360.stderr b/testsuite/tests/rep-poly/T17360.stderr index 784eb9928b3f..7d2f6e8d04dc 100644 --- a/testsuite/tests/rep-poly/T17360.stderr +++ b/testsuite/tests/rep-poly/T17360.stderr @@ -1,5 +1,5 @@ -T17360.hs:11:1: error: +T17360.hs:11:1: error: [GHC-55287] The first pattern in the equation for ‘foo’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T17817.stderr b/testsuite/tests/rep-poly/T17817.stderr index 7acdec120a16..4d3cb94343bc 100644 --- a/testsuite/tests/rep-poly/T17817.stderr +++ b/testsuite/tests/rep-poly/T17817.stderr @@ -1,5 +1,5 @@ -T17817.hs:16:10: error: +T17817.hs:16:10: error: [GHC-55287] • Unsaturated use of a representation-polymorphic primitive function. The first argument of ‘mkWeak#’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/T18534.stderr b/testsuite/tests/rep-poly/T18534.stderr index d56e69660475..aa88e9e89277 100644 --- a/testsuite/tests/rep-poly/T18534.stderr +++ b/testsuite/tests/rep-poly/T18534.stderr @@ -1,5 +1,5 @@ -T18534.hs:7:27: error: +T18534.hs:7:27: error: [GHC-18478] • The data constructor field does not have a fixed runtime representation: • a :: TYPE r • In the definition of data constructor ‘Test’ diff --git a/testsuite/tests/rep-poly/T19615.stderr b/testsuite/tests/rep-poly/T19615.stderr index f0d3d8297db0..eb56692c3c04 100644 --- a/testsuite/tests/rep-poly/T19615.stderr +++ b/testsuite/tests/rep-poly/T19615.stderr @@ -1,5 +1,5 @@ -T19615.hs:17:21: error: +T19615.hs:17:21: error: [GHC-55287] • The argument ‘(f x)’ of ‘lift'’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T19709a.stderr b/testsuite/tests/rep-poly/T19709a.stderr index ee88ed0ed1d3..e329a824daa2 100644 --- a/testsuite/tests/rep-poly/T19709a.stderr +++ b/testsuite/tests/rep-poly/T19709a.stderr @@ -1,5 +1,5 @@ -T19709a.hs:8:8: error: +T19709a.hs:8:8: error: [GHC-55287] • The first pattern in the equation for ‘levid’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T19709b.stderr b/testsuite/tests/rep-poly/T19709b.stderr index a236ea99e2f1..da2d53d272ea 100644 --- a/testsuite/tests/rep-poly/T19709b.stderr +++ b/testsuite/tests/rep-poly/T19709b.stderr @@ -1,5 +1,5 @@ -T19709b.hs:11:15: error: +T19709b.hs:11:15: error: [GHC-55287] • The argument ‘(error @Any "e2")’ of ‘levfun’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T20113.stderr b/testsuite/tests/rep-poly/T20113.stderr index a941c709de28..3d52dbe734d5 100644 --- a/testsuite/tests/rep-poly/T20113.stderr +++ b/testsuite/tests/rep-poly/T20113.stderr @@ -1,5 +1,5 @@ -T20113.hs:7:35: error: +T20113.hs:7:35: error: [GHC-55287] • The newtype constructor pattern does not have a fixed runtime representation. Its type is: @@ -8,7 +8,7 @@ T20113.hs:7:35: error: In an equation for ‘T20113.$sel:y_fld:MkY’: T20113.$sel:y_fld:MkY MkY {y_fld = $sel:y_fld:MkY} = $sel:y_fld:MkY -T20113.hs:7:35: error: +T20113.hs:7:35: error: [GHC-55287] The first pattern in the equation for ‘$sel:y_fld:MkY’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T20277.stderr b/testsuite/tests/rep-poly/T20277.stderr index b2e82c86ebf9..e55d2846f823 100644 --- a/testsuite/tests/rep-poly/T20277.stderr +++ b/testsuite/tests/rep-poly/T20277.stderr @@ -1,5 +1,5 @@ -T20277.hs:14:9: error: +T20277.hs:14:9: error: [GHC-55287] • The unboxed sum does not have a fixed runtime representation. Its type is: (# Int# | a #) :: TYPE ('SumRep '[ 'IntRep, rep]) diff --git a/testsuite/tests/rep-poly/T20363.stderr b/testsuite/tests/rep-poly/T20363.stderr index cf719e3176bb..1359ae46c505 100644 --- a/testsuite/tests/rep-poly/T20363.stderr +++ b/testsuite/tests/rep-poly/T20363.stderr @@ -1,5 +1,5 @@ -T20363.hs:23:10: error: +T20363.hs:23:10: error: [GHC-55287] • The newtype constructor pattern does not have a fixed runtime representation. Its kind is: diff --git a/testsuite/tests/rep-poly/T20363_show_co.stderr b/testsuite/tests/rep-poly/T20363_show_co.stderr index 69fa07871874..bc66071c977c 100644 --- a/testsuite/tests/rep-poly/T20363_show_co.stderr +++ b/testsuite/tests/rep-poly/T20363_show_co.stderr @@ -1,5 +1,5 @@ -T20363_show_co.hs:23:10: error: +T20363_show_co.hs:23:10: error: [GHC-55287] • The newtype constructor pattern does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T20363b.stderr b/testsuite/tests/rep-poly/T20363b.stderr index 7651077162ca..e730bc62e096 100644 --- a/testsuite/tests/rep-poly/T20363b.stderr +++ b/testsuite/tests/rep-poly/T20363b.stderr @@ -1,5 +1,5 @@ -T20363b.hs:48:10: error: +T20363b.hs:48:10: error: [GHC-55287] • • The newtype constructor pattern does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T20423.stderr b/testsuite/tests/rep-poly/T20423.stderr index 521538788eb4..e9f7f7263ec1 100644 --- a/testsuite/tests/rep-poly/T20423.stderr +++ b/testsuite/tests/rep-poly/T20423.stderr @@ -1,4 +1,4 @@ -T20423.hs:11:1: error: +T20423.hs:11:1: error: [GHC-18478] The pattern synonym scrutinee does not have a fixed runtime representation: • LPInt lev :: TYPE ('BoxedRep lev) diff --git a/testsuite/tests/rep-poly/T20423b.stderr b/testsuite/tests/rep-poly/T20423b.stderr index 18ada55c3834..e76697fcfe77 100644 --- a/testsuite/tests/rep-poly/T20423b.stderr +++ b/testsuite/tests/rep-poly/T20423b.stderr @@ -1,4 +1,4 @@ -T20423b.hs:17:1: error: +T20423b.hs:17:1: error: [GHC-18478] The pattern synonym scrutinee does not have a fixed runtime representation: • LPGADT l :: TYPE ('BoxedRep l) diff --git a/testsuite/tests/rep-poly/T20426.stderr b/testsuite/tests/rep-poly/T20426.stderr index 9c4f802a1b24..e1dfe0a5a823 100644 --- a/testsuite/tests/rep-poly/T20426.stderr +++ b/testsuite/tests/rep-poly/T20426.stderr @@ -1,5 +1,5 @@ -T20426.hs:15:1: error: +T20426.hs:15:1: error: [GHC-55287] The first pattern in the equations for ‘getInt#’ does not have a fixed runtime representation. Its type is: diff --git a/testsuite/tests/rep-poly/T21650_a.stderr b/testsuite/tests/rep-poly/T21650_a.stderr index 628dbced5a4a..6f2169c717e3 100644 --- a/testsuite/tests/rep-poly/T21650_a.stderr +++ b/testsuite/tests/rep-poly/T21650_a.stderr @@ -1,5 +1,5 @@ -T21650_a.hs:25:8: error: +T21650_a.hs:25:8: error: [GHC-55287] • Unsaturated use of a representation-polymorphic newtype constructor. The first argument of ‘MkN’ does not have a fixed runtime representation. @@ -8,7 +8,7 @@ T21650_a.hs:25:8: error: • In the expression: MkN In an equation for ‘foo1’: foo1 = MkN -T21650_a.hs:28:10: error: +T21650_a.hs:28:10: error: [GHC-55287] • Unsaturated use of a representation-polymorphic newtype constructor. The first argument of ‘MkN’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/T21650_b.stderr b/testsuite/tests/rep-poly/T21650_b.stderr index 5b2ceb0b5cf1..081736ad6b30 100644 --- a/testsuite/tests/rep-poly/T21650_b.stderr +++ b/testsuite/tests/rep-poly/T21650_b.stderr @@ -1,5 +1,5 @@ -T21650_b.hs:34:7: error: +T21650_b.hs:34:7: error: [GHC-55287] • Unsaturated use of a representation-polymorphic newtype constructor. The first argument of ‘MkN’ does not have a fixed runtime representation. @@ -8,7 +8,7 @@ T21650_b.hs:34:7: error: • In the expression: MkN In an equation for ‘foo’: foo = MkN -T21650_b.hs:37:7: error: +T21650_b.hs:37:7: error: [GHC-55287] • Unsaturated use of a representation-polymorphic newtype constructor. The first argument of ‘MkN’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/UnliftedNewtypesCoerceFail.stderr b/testsuite/tests/rep-poly/UnliftedNewtypesCoerceFail.stderr index 3484650c73c1..19ae02db3fb4 100644 --- a/testsuite/tests/rep-poly/UnliftedNewtypesCoerceFail.stderr +++ b/testsuite/tests/rep-poly/UnliftedNewtypesCoerceFail.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesCoerceFail.hs:14:8: error: +UnliftedNewtypesCoerceFail.hs:14:8: error: [GHC-55287] • Unsaturated use of a representation-polymorphic primitive function. The first argument of ‘coerce’ does not have a fixed runtime representation. diff --git a/testsuite/tests/rep-poly/UnliftedNewtypesLevityBinder.stderr b/testsuite/tests/rep-poly/UnliftedNewtypesLevityBinder.stderr index e0bdaa5e8cda..2bb3bf661397 100644 --- a/testsuite/tests/rep-poly/UnliftedNewtypesLevityBinder.stderr +++ b/testsuite/tests/rep-poly/UnliftedNewtypesLevityBinder.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesLevityBinder.hs:15:7: error: +UnliftedNewtypesLevityBinder.hs:15:7: error: [GHC-55287] • Unsaturated use of a representation-polymorphic newtype constructor. The first argument of ‘IdentC’ does not have a fixed runtime representation. diff --git a/testsuite/tests/roles/should_fail/Roles10.stderr b/testsuite/tests/roles/should_fail/Roles10.stderr index bc61e22de128..23bd28435516 100644 --- a/testsuite/tests/roles/should_fail/Roles10.stderr +++ b/testsuite/tests/roles/should_fail/Roles10.stderr @@ -1,6 +1,6 @@ -Roles10.hs:16:12: error: - Couldn't match representation of type ‘Bool’ with that of ‘Char’ - arising from the coercion of the method ‘meth’ - from type ‘Int -> F Int’ to type ‘Age -> F Age’ - When deriving the instance for (C Age) +Roles10.hs:16:12: error: [GHC-18872] + • Couldn't match representation of type ‘Bool’ with that of ‘Char’ + arising from the coercion of the method ‘meth’ + from type ‘Int -> F Int’ to type ‘Age -> F Age’ + • When deriving the instance for (C Age) diff --git a/testsuite/tests/roles/should_fail/Roles7.stderr b/testsuite/tests/roles/should_fail/Roles7.stderr index c8840136d705..118f6e831135 100644 --- a/testsuite/tests/roles/should_fail/Roles7.stderr +++ b/testsuite/tests/roles/should_fail/Roles7.stderr @@ -1,4 +1,4 @@ -Roles7.hs:6:15: +Roles7.hs:6:15: error: [GHC-09009] Illegal role name ‘repesentational’ Suggested fix: Perhaps you meant ‘representational’ diff --git a/testsuite/tests/roles/should_fail/RolesIArray.stderr b/testsuite/tests/roles/should_fail/RolesIArray.stderr index ea9bb30c86fb..6aa06bd28132 100644 --- a/testsuite/tests/roles/should_fail/RolesIArray.stderr +++ b/testsuite/tests/roles/should_fail/RolesIArray.stderr @@ -1,63 +1,63 @@ -RolesIArray.hs:10:13: error: - Couldn't match type ‘Word64’ with ‘N’ - arising from the coercion of the method ‘Data.Array.Base.unsafeAccumArray’ - from type ‘forall i e'. - Ix i => - (Word64 -> e' -> Word64) - -> Word64 -> (i, i) -> [(Int, e')] -> UArray i Word64’ - to type ‘forall i e'. - Ix i => - (N -> e' -> N) -> N -> (i, i) -> [(Int, e')] -> UArray i N’ - When deriving the instance for (IArray UArray N) +RolesIArray.hs:10:13: error: [GHC-18872] + • Couldn't match type ‘Word64’ with ‘N’ + arising from the coercion of the method ‘Data.Array.Base.unsafeAccumArray’ + from type ‘forall i e'. + Ix i => + (Word64 -> e' -> Word64) + -> Word64 -> (i, i) -> [(Int, e')] -> UArray i Word64’ + to type ‘forall i e'. + Ix i => + (N -> e' -> N) -> N -> (i, i) -> [(Int, e')] -> UArray i N’ + • When deriving the instance for (IArray UArray N) -RolesIArray.hs:10:13: error: - Couldn't match type ‘Word64’ with ‘N’ - arising from the coercion of the method ‘Data.Array.Base.unsafeAccum’ - from type ‘forall i e'. - Ix i => - (Word64 -> e' -> Word64) - -> UArray i Word64 -> [(Int, e')] -> UArray i Word64’ - to type ‘forall i e'. - Ix i => - (N -> e' -> N) -> UArray i N -> [(Int, e')] -> UArray i N’ - When deriving the instance for (IArray UArray N) +RolesIArray.hs:10:13: error: [GHC-18872] + • Couldn't match type ‘Word64’ with ‘N’ + arising from the coercion of the method ‘Data.Array.Base.unsafeAccum’ + from type ‘forall i e'. + Ix i => + (Word64 -> e' -> Word64) + -> UArray i Word64 -> [(Int, e')] -> UArray i Word64’ + to type ‘forall i e'. + Ix i => + (N -> e' -> N) -> UArray i N -> [(Int, e')] -> UArray i N’ + • When deriving the instance for (IArray UArray N) -RolesIArray.hs:10:13: error: - Couldn't match type ‘Word64’ with ‘N’ - arising from the coercion of the method ‘Data.Array.Base.unsafeReplace’ - from type ‘forall i. - Ix i => - UArray i Word64 -> [(Int, Word64)] -> UArray i Word64’ - to type ‘forall i. Ix i => UArray i N -> [(Int, N)] -> UArray i N’ - When deriving the instance for (IArray UArray N) +RolesIArray.hs:10:13: error: [GHC-18872] + • Couldn't match type ‘Word64’ with ‘N’ + arising from the coercion of the method ‘Data.Array.Base.unsafeReplace’ + from type ‘forall i. + Ix i => + UArray i Word64 -> [(Int, Word64)] -> UArray i Word64’ + to type ‘forall i. Ix i => UArray i N -> [(Int, N)] -> UArray i N’ + • When deriving the instance for (IArray UArray N) -RolesIArray.hs:10:13: error: - Couldn't match type ‘Word64’ with ‘N’ - arising from the coercion of the method ‘Data.Array.Base.unsafeAt’ - from type ‘forall i. Ix i => UArray i Word64 -> Int -> Word64’ - to type ‘forall i. Ix i => UArray i N -> Int -> N’ - When deriving the instance for (IArray UArray N) +RolesIArray.hs:10:13: error: [GHC-18872] + • Couldn't match type ‘Word64’ with ‘N’ + arising from the coercion of the method ‘Data.Array.Base.unsafeAt’ + from type ‘forall i. Ix i => UArray i Word64 -> Int -> Word64’ + to type ‘forall i. Ix i => UArray i N -> Int -> N’ + • When deriving the instance for (IArray UArray N) -RolesIArray.hs:10:13: error: - Couldn't match type ‘Word64’ with ‘N’ - arising from the coercion of the method ‘Data.Array.Base.unsafeArray’ - from type ‘forall i. - Ix i => - (i, i) -> [(Int, Word64)] -> UArray i Word64’ - to type ‘forall i. Ix i => (i, i) -> [(Int, N)] -> UArray i N’ - When deriving the instance for (IArray UArray N) +RolesIArray.hs:10:13: error: [GHC-18872] + • Couldn't match type ‘Word64’ with ‘N’ + arising from the coercion of the method ‘Data.Array.Base.unsafeArray’ + from type ‘forall i. + Ix i => + (i, i) -> [(Int, Word64)] -> UArray i Word64’ + to type ‘forall i. Ix i => (i, i) -> [(Int, N)] -> UArray i N’ + • When deriving the instance for (IArray UArray N) -RolesIArray.hs:10:13: error: - Couldn't match type ‘Word64’ with ‘N’ - arising from the coercion of the method ‘Data.Array.Base.numElements’ - from type ‘forall i. Ix i => UArray i Word64 -> Int’ - to type ‘forall i. Ix i => UArray i N -> Int’ - When deriving the instance for (IArray UArray N) +RolesIArray.hs:10:13: error: [GHC-18872] + • Couldn't match type ‘Word64’ with ‘N’ + arising from the coercion of the method ‘Data.Array.Base.numElements’ + from type ‘forall i. Ix i => UArray i Word64 -> Int’ + to type ‘forall i. Ix i => UArray i N -> Int’ + • When deriving the instance for (IArray UArray N) -RolesIArray.hs:10:13: error: - Couldn't match type ‘Word64’ with ‘N’ - arising from the coercion of the method ‘bounds’ - from type ‘forall i. Ix i => UArray i Word64 -> (i, i)’ - to type ‘forall i. Ix i => UArray i N -> (i, i)’ - When deriving the instance for (IArray UArray N) +RolesIArray.hs:10:13: error: [GHC-18872] + • Couldn't match type ‘Word64’ with ‘N’ + arising from the coercion of the method ‘bounds’ + from type ‘forall i. Ix i => UArray i Word64 -> (i, i)’ + to type ‘forall i. Ix i => UArray i N -> (i, i)’ + • When deriving the instance for (IArray UArray N) diff --git a/testsuite/tests/safeHaskell/check/Check01.stderr b/testsuite/tests/safeHaskell/check/Check01.stderr index b63d8d4a1005..3eda379107f8 100644 --- a/testsuite/tests/safeHaskell/check/Check01.stderr +++ b/testsuite/tests/safeHaskell/check/Check01.stderr @@ -1,4 +1,4 @@ [3 of 3] Compiling Check01 ( Check01.hs, Check01.o ) -<no location info>: error: - The package (base-4.16.0.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (base-4.17.0.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/Check06.stderr b/testsuite/tests/safeHaskell/check/Check06.stderr index b533b3c35701..49635306eff0 100644 --- a/testsuite/tests/safeHaskell/check/Check06.stderr +++ b/testsuite/tests/safeHaskell/check/Check06.stderr @@ -1,5 +1,5 @@ [1 of 2] Compiling Check06_A ( Check06_A.hs, Check06_A.o ) [2 of 2] Compiling Check06 ( Check06.hs, Check06.o ) -<no location info>: error: - The package (base-4.13.0.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (base-4.17.0.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/Check08.stderr b/testsuite/tests/safeHaskell/check/Check08.stderr index 9eb6691bc8d7..e0fed33756d4 100644 --- a/testsuite/tests/safeHaskell/check/Check08.stderr +++ b/testsuite/tests/safeHaskell/check/Check08.stderr @@ -2,5 +2,5 @@ [2 of 3] Compiling Check08_B ( Check08_B.hs, Check08_B.o ) [3 of 3] Compiling Check08 ( Check08.hs, Check08.o ) -<no location info>: error: - The package (base-4.16.0.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (base-4.17.0.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/Check09.stderr b/testsuite/tests/safeHaskell/check/Check09.stderr index 14af3c8f8b10..042f2d7adfe9 100644 --- a/testsuite/tests/safeHaskell/check/Check09.stderr +++ b/testsuite/tests/safeHaskell/check/Check09.stderr @@ -1,8 +1,8 @@ -Check09.hs:5:1: error: +Check09.hs:5:1: error: [GHC-75165] Prelude: Can't be safely imported! - The package (base-4.16.0.0) the module resides in isn't trusted. + The package (base-4.17.0.0) the module resides in isn't trusted. -Check09.hs:6:1: error: +Check09.hs:6:1: error: [GHC-75165] Data.ByteString.Char8: Can't be safely imported! - The package (bytestring-0.10.12.0) the module resides in isn't trusted. + The package (bytestring-0.11.3.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe01.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe01.stderr index 0381edfccb4d..77783546c9cd 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe01.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe01.stderr @@ -1,4 +1,4 @@ -ImpSafe01.hs:10:1: error: +ImpSafe01.hs:10:1: error: [GHC-75165] Data.Word: Can't be safely imported! - The package (base-4.16.0.0) the module resides in isn't trusted. + The package (base-4.17.0.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe03.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe03.stderr index 33cb56698704..19f6c1c0a145 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe03.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe03.stderr @@ -1,4 +1,4 @@ [2 of 3] Compiling Main ( ImpSafe03.hs, ImpSafe03.o ) -<no location info>: error: - The package (bytestring-0.11.1.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (bytestring-0.11.3.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe04.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe04.stderr index a0445afd23f8..d25ba89d1d3b 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafe04.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafe04.stderr @@ -1,4 +1,4 @@ -ImpSafe04.hs:10:1: error: +ImpSafe04.hs:10:1: error: [GHC-75165] Data.Word: Can't be safely imported! - The package (base-4.16.0.0) the module resides in isn't trusted. + The package (base-4.17.0.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly03.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly03.stderr index aef125b2ef54..5400ea9ff4be 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly03.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly03.stderr @@ -1,4 +1,4 @@ -ImpSafeOnly03.hs:5:1: error: +ImpSafeOnly03.hs:5:1: error: [GHC-75165] M_SafePkg3: Can't be safely imported! The package (safePkg01-1.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly05.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly05.stderr index 7e854073bf65..cdbb1368039d 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly05.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly05.stderr @@ -1,4 +1,4 @@ -ImpSafeOnly05.hs:5:1: error: +ImpSafeOnly05.hs:5:1: error: [GHC-75165] M_SafePkg5: Can't be safely imported! The package (safePkg01-1.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly07.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly07.stderr index 79af2e0a452d..8576745e7caf 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly07.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly07.stderr @@ -1,6 +1,6 @@ -<no location info>: error: - The package (base-4.9.0.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (base-4.17.0.0) is required to be trusted but it isn't! -<no location info>: error: - The package (bytestring-0.10.8.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (bytestring-0.11.3.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly08.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly08.stderr index 79af2e0a452d..8576745e7caf 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly08.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly08.stderr @@ -1,6 +1,6 @@ -<no location info>: error: - The package (base-4.9.0.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (base-4.17.0.0) is required to be trusted but it isn't! -<no location info>: error: - The package (bytestring-0.10.8.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (bytestring-0.11.3.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly09.stderr b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly09.stderr index 4221723abe0c..e125b95fdb8d 100644 --- a/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly09.stderr +++ b/testsuite/tests/safeHaskell/check/pkg01/ImpSafeOnly09.stderr @@ -1,3 +1,3 @@ -<no location info>: - The package (bytestring-0.10.8.0) is required to be trusted but it isn't! +<no location info>: error: [GHC-08674] + The package (bytestring-0.11.3.0) is required to be trusted but it isn't! diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags03.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags03.stderr index 0ca3951efa88..fa837fa107f1 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags03.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags03.stderr @@ -1,2 +1,3 @@ -SafeFlags03.hs:1:14: Unsupported extension: SafeImport +SafeFlags03.hs:1:14: error: [GHC-46537] + Unsupported extension: SafeImport diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags04.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags04.stderr index 2a550f25a1c7..7b94f9df3e01 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags04.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags04.stderr @@ -1,2 +1,3 @@ -SafeFlags04.hs:1:14: Unsupported extension: SafeLanguage +SafeFlags04.hs:1:14: error: [GHC-46537] + Unsupported extension: SafeLanguage diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags07.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags07.stderr index 3c3317f20cad..231074311572 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags07.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags07.stderr @@ -1,2 +1,3 @@ -SafeFlags07.hs:1:14: Unsupported extension: SafeLanguage +SafeFlags07.hs:1:14: error: [GHC-46537] + Unsupported extension: SafeLanguage diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags08.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags08.stderr index e72e6e459fa8..4d179b126983 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags08.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags08.stderr @@ -1,2 +1,3 @@ -SafeFlags08.hs:1:14: Unsupported extension: SafeLanguage +SafeFlags08.hs:1:14: error: [GHC-46537] + Unsupported extension: SafeLanguage diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags09.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags09.stderr index 2bc5aed21c9f..d7554da8173f 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags09.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags09.stderr @@ -1,2 +1,3 @@ -SafeFlags09.hs:1:14: Unsupported extension: SafeLanguage +SafeFlags09.hs:1:14: error: [GHC-46537] + Unsupported extension: SafeLanguage diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags17.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags17.stderr index 4ce52ce07228..f8a737705893 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags17.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags17.stderr @@ -1,4 +1,4 @@ -SafeFlags17.hs:5:8: error: +SafeFlags17.hs:5:8: error: [GHC-75165] Prelude: Can't be safely imported! - The package (base-4.16.0.0) the module resides in isn't trusted. + The package (base-4.17.0.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags19.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags19.stderr index 438cd986295f..435d6adb9ba3 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags19.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags19.stderr @@ -1,3 +1,3 @@ -SafeFlags19.hs:1:17: +SafeFlags19.hs:1:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -fno-package-trust diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags22.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags22.stderr index cc4d8b7ae199..75547c110aeb 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags22.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags22.stderr @@ -2,6 +2,6 @@ SafeFlags22.hs:2:17: warning: [-Wunsafe] ‘SafeFlags22’ has been inferred as unsafe! Reason: - SafeFlags22.hs:8:1: error: + SafeFlags22.hs:8:1: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags23.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags23.stderr index 3bb3d3b02af9..28fba4657ac7 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags23.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags23.stderr @@ -1,7 +1,7 @@ -SafeFlags23.hs:2:17: error: [-Wunsafe, -Werror=unsafe] +SafeFlags23.hs:2:17: error: [-Wunsafe, Werror=unsafe] ‘SafeFlags22’ has been inferred as unsafe! Reason: - SafeFlags23.hs:8:1: error: + SafeFlags23.hs:8:1: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags25.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags25.stderr index 57bcdaa1923b..ba53b5cd037f 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags25.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags25.stderr @@ -1,3 +1,3 @@ -SafeFlags25.hs:2:17: warning: [-Wsafe] +SafeFlags25.hs:2:17: warning: [GHC-58656] [-Wsafe] ‘SafeFlags25’ has been inferred as safe! diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags26.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags26.stderr index f4b084a9a585..c687be2a56ea 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags26.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags26.stderr @@ -1,3 +1,3 @@ -SafeFlags26.hs:2:17: error: [-Wsafe, -Werror=safe] +SafeFlags26.hs:2:17: error: [GHC-58656] [-Wsafe, Werror=safe] ‘SafeFlags26’ has been inferred as safe! diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags28.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags28.stderr index efc47ee4ce76..96d2c2062db5 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags28.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags28.stderr @@ -1,12 +1,12 @@ -SafeFlags28.hs:1:17: error: +SafeFlags28.hs:1:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -trust -SafeFlags28.hs:1:24: error: +SafeFlags28.hs:1:24: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: base, -SafeFlags28.hs:1:30: error: +SafeFlags28.hs:1:30: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -trust -SafeFlags28.hs:1:37: error: +SafeFlags28.hs:1:37: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: bytestring diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags29.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags29.stderr index a98ac6cf7733..fea369aef557 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags29.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags29.stderr @@ -1,12 +1,12 @@ -SafeFlags29.hs:2:17: error: +SafeFlags29.hs:2:17: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -trust -SafeFlags29.hs:2:24: error: +SafeFlags29.hs:2:24: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: base -SafeFlags29.hs:2:29: error: +SafeFlags29.hs:2:29: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: -trust -SafeFlags29.hs:2:36: error: +SafeFlags29.hs:2:36: error: [GHC-04924] Unknown flag in {-# OPTIONS_GHC #-} pragma: bytestring diff --git a/testsuite/tests/safeHaskell/ghci/p10.stderr b/testsuite/tests/safeHaskell/ghci/p10.stderr index d3c7fe2f5eeb..89201ec34a31 100644 --- a/testsuite/tests/safeHaskell/ghci/p10.stderr +++ b/testsuite/tests/safeHaskell/ghci/p10.stderr @@ -1,2 +1,2 @@ -<interactive>:10:1: error: Variable not in scope: b +<interactive>:10:1: error: [GHC-88464] Variable not in scope: b diff --git a/testsuite/tests/safeHaskell/ghci/p11.stderr b/testsuite/tests/safeHaskell/ghci/p11.stderr index 9ff951a7bc13..adb6f1288e44 100644 --- a/testsuite/tests/safeHaskell/ghci/p11.stderr +++ b/testsuite/tests/safeHaskell/ghci/p11.stderr @@ -1,4 +1,4 @@ -E.hs:3:1: +E.hs:3:1: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/ghci/p12.stderr b/testsuite/tests/safeHaskell/ghci/p12.stderr index 3b259c3722f0..a552be6d6c53 100644 --- a/testsuite/tests/safeHaskell/ghci/p12.stderr +++ b/testsuite/tests/safeHaskell/ghci/p12.stderr @@ -1,7 +1,6 @@ Some flags have not been recognized: -XNoSafe Some flags have not been recognized: -fno-package-trust -<no location info>: +<no location info>: error: [GHC-75165] Data.ByteString: Can't be safely imported! - The package (bytestring-0.10.5.0) the module resides in isn't trusted. - + The package (bytestring-0.11.3.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/ghci/p13.stderr b/testsuite/tests/safeHaskell/ghci/p13.stderr index ba73130146db..edc4a9a06752 100644 --- a/testsuite/tests/safeHaskell/ghci/p13.stderr +++ b/testsuite/tests/safeHaskell/ghci/p13.stderr @@ -1,5 +1,5 @@ -<interactive>:11:1: error: +<interactive>:11:1: error: [GHC-36705] • Unsafe overlapping instances for Pos [Int] arising from a use of ‘res’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/ghci/p14.stderr b/testsuite/tests/safeHaskell/ghci/p14.stderr index 804526b15377..0f6f65975c76 100644 --- a/testsuite/tests/safeHaskell/ghci/p14.stderr +++ b/testsuite/tests/safeHaskell/ghci/p14.stderr @@ -2,7 +2,7 @@ when making flags consistent: warning: Optimization flags are incompatible with the byte-code interpreter; optimization flags ignored. -<interactive>:10:25: error: +<interactive>:10:25: error: [GHC-39999] • No instance for ‘Num a’ arising from a use of ‘f’ Possible fix: add (Num a) to the context of the RULE "id/Int" • In the expression: f diff --git a/testsuite/tests/safeHaskell/ghci/p16.stderr b/testsuite/tests/safeHaskell/ghci/p16.stderr index 357bc5bc9fd0..f915af1f1b08 100644 --- a/testsuite/tests/safeHaskell/ghci/p16.stderr +++ b/testsuite/tests/safeHaskell/ghci/p16.stderr @@ -2,7 +2,7 @@ <no location info>: warning: -XGeneralizedNewtypeDeriving is not allowed in Safe Haskell; ignoring -XGeneralizedNewtypeDeriving -<interactive>:16:29: error: +<interactive>:16:29: error: [GHC-82023] • Can't make a derived instance of ‘Op T2’: ‘Op’ is not a stock derivable class (Eq, Show, etc.) • In the newtype declaration for ‘T2’ @@ -10,8 +10,8 @@ Perhaps you intended to use GeneralizedNewtypeDeriving for GHC's newtype-deriving extension -<interactive>:19:9: error: +<interactive>:19:9: error: [GHC-88464] Data constructor not in scope: T2 :: T -> t Suggested fix: Perhaps use ‘T1’ (line 13) -<interactive>:22:4: error: Variable not in scope: y +<interactive>:22:4: error: [GHC-88464] Variable not in scope: y diff --git a/testsuite/tests/safeHaskell/ghci/p17.stderr b/testsuite/tests/safeHaskell/ghci/p17.stderr index c46be207c3fd..9c56e1256d96 100644 --- a/testsuite/tests/safeHaskell/ghci/p17.stderr +++ b/testsuite/tests/safeHaskell/ghci/p17.stderr @@ -1,5 +1,4 @@ -<no location info>: +<no location info>: error: [GHC-75165] Data.ByteString: Can't be safely imported! - The package (bytestring-0.10.1.0) the module resides in isn't trusted. - + The package (bytestring-0.11.3.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/ghci/p3.stderr b/testsuite/tests/safeHaskell/ghci/p3.stderr index 9ff390705c22..59413e8888a6 100644 --- a/testsuite/tests/safeHaskell/ghci/p3.stderr +++ b/testsuite/tests/safeHaskell/ghci/p3.stderr @@ -1,10 +1,8 @@ -<no location info>: +<no location info>: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. - -<no location info>: +<no location info>: error: [GHC-75165] Data.ByteString: Can't be safely imported! - The package (bytestring-0.10.1.0) the module resides in isn't trusted. - + The package (bytestring-0.11.3.0) the module resides in isn't trusted. diff --git a/testsuite/tests/safeHaskell/ghci/p4.stderr b/testsuite/tests/safeHaskell/ghci/p4.stderr index 47ea0ca18e18..3e9c555143de 100644 --- a/testsuite/tests/safeHaskell/ghci/p4.stderr +++ b/testsuite/tests/safeHaskell/ghci/p4.stderr @@ -1,8 +1,9 @@ -<interactive>:6:9: error: +<interactive>:6:9: error: [GHC-76037] Not in scope: ‘System.IO.Unsafe.unsafePerformIO’ NB: no module named ‘System.IO.Unsafe’ is imported. -<interactive>:7:9: error: Variable not in scope: x :: IO b0 -> t +<interactive>:7:9: error: [GHC-88464] + Variable not in scope: x :: IO b0 -> t -<interactive>:8:1: error: Variable not in scope: y +<interactive>:8:1: error: [GHC-88464] Variable not in scope: y diff --git a/testsuite/tests/safeHaskell/ghci/p6.stderr b/testsuite/tests/safeHaskell/ghci/p6.stderr index cba63662ce16..922d238e232f 100644 --- a/testsuite/tests/safeHaskell/ghci/p6.stderr +++ b/testsuite/tests/safeHaskell/ghci/p6.stderr @@ -1,10 +1,10 @@ -<interactive>:12:1: error: +<interactive>:12:1: error: [GHC-57638] • Unacceptable result type in foreign declaration: Safe Haskell is on, all FFI imports must be in the IO monad • When checking declaration: foreign import ccall safe "sin" c_sin :: Double -> Double -<interactive>:13:1: error: +<interactive>:13:1: error: [GHC-88464] Variable not in scope: c_sin :: t0 -> t Suggested fix: Perhaps use ‘c_sin'’ (line 8) diff --git a/testsuite/tests/safeHaskell/ghci/p9.stderr b/testsuite/tests/safeHaskell/ghci/p9.stderr index d3c7fe2f5eeb..89201ec34a31 100644 --- a/testsuite/tests/safeHaskell/ghci/p9.stderr +++ b/testsuite/tests/safeHaskell/ghci/p9.stderr @@ -1,2 +1,2 @@ -<interactive>:10:1: error: Variable not in scope: b +<interactive>:10:1: error: [GHC-88464] Variable not in scope: b diff --git a/testsuite/tests/safeHaskell/overlapping/SH_Overlap1.stderr b/testsuite/tests/safeHaskell/overlapping/SH_Overlap1.stderr index 54dab18cd3e3..dbf928071afc 100644 --- a/testsuite/tests/safeHaskell/overlapping/SH_Overlap1.stderr +++ b/testsuite/tests/safeHaskell/overlapping/SH_Overlap1.stderr @@ -2,7 +2,7 @@ [2 of 3] Compiling SH_Overlap1_A ( SH_Overlap1_A.hs, SH_Overlap1_A.o ) [3 of 3] Compiling SH_Overlap1 ( SH_Overlap1.hs, SH_Overlap1.o ) -SH_Overlap1.hs:16:8: error: +SH_Overlap1.hs:16:8: error: [GHC-36705] • Unsafe overlapping instances for C [Int] arising from a use of ‘f’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/overlapping/SH_Overlap11.stderr b/testsuite/tests/safeHaskell/overlapping/SH_Overlap11.stderr index 0e990b4f9782..7d9acc955297 100644 --- a/testsuite/tests/safeHaskell/overlapping/SH_Overlap11.stderr +++ b/testsuite/tests/safeHaskell/overlapping/SH_Overlap11.stderr @@ -5,7 +5,7 @@ SH_Overlap11.hs:2:17: warning: [-Wunsafe] ‘SH_Overlap11’ has been inferred as unsafe! Reason: - SH_Overlap11.hs:18:8: warning: + SH_Overlap11.hs:18:8: warning: [GHC-36705] • Unsafe overlapping instances for C [Int] arising from a use of ‘f’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/overlapping/SH_Overlap2.stderr b/testsuite/tests/safeHaskell/overlapping/SH_Overlap2.stderr index 2eed7608d148..39b51b9aad1f 100644 --- a/testsuite/tests/safeHaskell/overlapping/SH_Overlap2.stderr +++ b/testsuite/tests/safeHaskell/overlapping/SH_Overlap2.stderr @@ -2,7 +2,7 @@ [2 of 3] Compiling SH_Overlap2_A ( SH_Overlap2_A.hs, SH_Overlap2_A.o ) [3 of 3] Compiling SH_Overlap2 ( SH_Overlap2.hs, SH_Overlap2.o ) -SH_Overlap2.hs:19:8: error: +SH_Overlap2.hs:19:8: error: [GHC-36705] • Unsafe overlapping instances for C [Int] arising from a use of ‘f’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/overlapping/SH_Overlap5.stderr b/testsuite/tests/safeHaskell/overlapping/SH_Overlap5.stderr index 9de7ecc708b3..815a6bfd6c85 100644 --- a/testsuite/tests/safeHaskell/overlapping/SH_Overlap5.stderr +++ b/testsuite/tests/safeHaskell/overlapping/SH_Overlap5.stderr @@ -2,7 +2,7 @@ [2 of 3] Compiling SH_Overlap5_A ( SH_Overlap5_A.hs, SH_Overlap5_A.o ) [3 of 3] Compiling SH_Overlap5 ( SH_Overlap5.hs, SH_Overlap5.o ) -SH_Overlap5.hs:16:8: error: +SH_Overlap5.hs:16:8: error: [GHC-36705] • Unsafe overlapping instances for C [Int] arising from a use of ‘f’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/overlapping/SH_Overlap6.stderr b/testsuite/tests/safeHaskell/overlapping/SH_Overlap6.stderr index 7804b9e5d581..f8aabb0c4395 100644 --- a/testsuite/tests/safeHaskell/overlapping/SH_Overlap6.stderr +++ b/testsuite/tests/safeHaskell/overlapping/SH_Overlap6.stderr @@ -2,7 +2,7 @@ [2 of 3] Compiling SH_Overlap6_A ( SH_Overlap6_A.hs, SH_Overlap6_A.o ) [3 of 3] Compiling SH_Overlap6 ( SH_Overlap6.hs, SH_Overlap6.o ) -SH_Overlap6.hs:15:8: error: +SH_Overlap6.hs:15:8: error: [GHC-36705] • Unsafe overlapping instances for C [Int] arising from a use of ‘f’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr b/testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr index dda1490ce0d2..3a719cb0b4a8 100644 --- a/testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr +++ b/testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr @@ -2,10 +2,10 @@ [2 of 3] Compiling SH_Overlap7_A ( SH_Overlap7_A.hs, SH_Overlap7_A.o ) [3 of 3] Compiling SH_Overlap7 ( SH_Overlap7.hs, SH_Overlap7.o ) -SH_Overlap7.hs:2:17: error: [-Wunsafe, -Werror=unsafe] +SH_Overlap7.hs:2:17: error: [-Wunsafe, Werror=unsafe] ‘SH_Overlap7’ has been inferred as unsafe! Reason: - SH_Overlap7.hs:15:8: + SH_Overlap7.hs:15:8: error: [GHC-36705] [-Werror] • Unsafe overlapping instances for C [Int] arising from a use of ‘f’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/safeInfered/Mixed02.stderr b/testsuite/tests/safeHaskell/safeInfered/Mixed02.stderr index 9fa48d43389c..2a2cd367359f 100644 --- a/testsuite/tests/safeHaskell/safeInfered/Mixed02.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/Mixed02.stderr @@ -1,3 +1,3 @@ -Mixed02.hs:6:1: error: +Mixed02.hs:6:1: error: [GHC-70172] Module DW is imported both as a safe and unsafe import! diff --git a/testsuite/tests/safeHaskell/safeInfered/Mixed03.stderr b/testsuite/tests/safeHaskell/safeInfered/Mixed03.stderr index 0a9523ca33cc..103283e2167f 100644 --- a/testsuite/tests/safeHaskell/safeInfered/Mixed03.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/Mixed03.stderr @@ -1,3 +1,3 @@ -Mixed03.hs:6:1: error: +Mixed03.hs:6:1: error: [GHC-70172] Module DW is imported both as a safe and unsafe import! diff --git a/testsuite/tests/safeHaskell/safeInfered/SafeInfered05.stderr b/testsuite/tests/safeHaskell/safeInfered/SafeInfered05.stderr index a74f55b6cf5c..e9e186fdeb77 100644 --- a/testsuite/tests/safeHaskell/safeInfered/SafeInfered05.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/SafeInfered05.stderr @@ -2,5 +2,5 @@ SafeInfered05.hs:3:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS -SafeInfered05_A.hs:3:17: warning: [-Wsafe] +SafeInfered05_A.hs:3:17: warning: [GHC-58656] [-Wsafe] ‘SafeInfered05_A’ has been inferred as safe! diff --git a/testsuite/tests/safeHaskell/safeInfered/SafeWarn01.stderr b/testsuite/tests/safeHaskell/safeInfered/SafeWarn01.stderr index 13155f304349..2e729555216f 100644 --- a/testsuite/tests/safeHaskell/safeInfered/SafeWarn01.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/SafeWarn01.stderr @@ -1,3 +1,3 @@ -SafeWarn01.hs:3:17: warning: [-Wsafe] +SafeWarn01.hs:3:17: warning: [GHC-58656] [-Wsafe] ‘SafeWarn01’ has been inferred as safe! diff --git a/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe02.stderr b/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe02.stderr index 7723e98dc184..e3c1225c9518 100644 --- a/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe02.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe02.stderr @@ -1,3 +1,3 @@ -TrustworthySafe02.hs:2:14: warning: [-Wtrustworthy-safe (in -Wall)] +TrustworthySafe02.hs:2:14: warning: [GHC-19244] [-Wtrustworthy-safe (in -Wall)] ‘TrustworthySafe02’ is marked as Trustworthy but has been inferred as safe! diff --git a/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe03.stderr b/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe03.stderr index ff4a4e3631a5..63d300b589e2 100644 --- a/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe03.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/TrustworthySafe03.stderr @@ -1,3 +1,3 @@ -TrustworthySafe03.hs:2:14: warning: [-Wtrustworthy-safe (in -Wall)] +TrustworthySafe03.hs:2:14: warning: [GHC-19244] [-Wtrustworthy-safe (in -Wall)] ‘TrustworthySafe03’ is marked as Trustworthy but has been inferred as safe! diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered01.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered01.stderr index ab2707bc59ee..25aa92371a7c 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered01.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered01.stderr @@ -1,3 +1,4 @@ -UnsafeInfered01.hs:5:1: error: + +UnsafeInfered01.hs:5:1: error: [GHC-44360] UnsafeInfered01_A: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered02.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered02.stderr index f03a7bb31482..6f87db4e277a 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered02.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered02.stderr @@ -1,3 +1,4 @@ -UnsafeInfered02.hs:5:1: error: + +UnsafeInfered02.hs:5:1: error: [GHC-44360] UnsafeInfered02_A: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered03.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered03.stderr index 14af9f784132..15d29efb82cd 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered03.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered03.stderr @@ -1,3 +1,4 @@ -UnsafeInfered03.hs:5:1: error: + +UnsafeInfered03.hs:5:1: error: [GHC-44360] UnsafeInfered03_A: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered05.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered05.stderr index 52684af8614d..451a7eca5e25 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered05.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered05.stderr @@ -1,3 +1,4 @@ -UnsafeInfered05.hs:5:1: error: + +UnsafeInfered05.hs:5:1: error: [GHC-44360] UnsafeInfered05_A: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered06.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered06.stderr index e683e04bd62c..9eb97bc58fff 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered06.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered06.stderr @@ -1,3 +1,4 @@ -UnsafeInfered06.hs:5:1: error: + +UnsafeInfered06.hs:5:1: error: [GHC-44360] UnsafeInfered06_A: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered09.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered09.stderr index 9c34e74321ca..b91a91ff2159 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered09.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered09.stderr @@ -1,3 +1,4 @@ -UnsafeInfered09.hs:5:1: error: + +UnsafeInfered09.hs:5:1: error: [GHC-44360] UnsafeInfered09_A: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered10.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered10.stderr index 7f1c3fa9c768..086edce3c73a 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered10.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered10.stderr @@ -1,3 +1,4 @@ -UnsafeInfered10.hs:6:1: error: + +UnsafeInfered10.hs:6:1: error: [GHC-44360] UnsafeInfered10_A: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered11.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered11.stderr index 0122d913981e..9b7e910d915e 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered11.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered11.stderr @@ -2,10 +2,10 @@ UnsafeInfered11_A.hs:2:17: warning: [-Wunsafe] ‘UnsafeInfered11_A’ has been inferred as unsafe! Reason: - UnsafeInfered11_A.hs:18:11: warning: + UnsafeInfered11_A.hs:18:11: warning: [GHC-56147] Rule "lookupx/T" ignored Defining user rules is disabled under Safe Haskell -UnsafeInfered11.hs:6:1: error: +UnsafeInfered11.hs:6:1: error: [GHC-44360] UnsafeInfered11_A: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr index 22a07d9f9641..ef8f87e2f363 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr @@ -1,6 +1,6 @@ -UnsafeInfered12.hs:3:17: error: [-Wunsafe, -Werror=unsafe] +UnsafeInfered12.hs:3:17: error: [-Wunsafe, Werror=unsafe] ‘UnsafeInfered12’ has been inferred as unsafe! Reason: - UnsafeInfered12.hs:2:14: + UnsafeInfered12.hs:2:14:: -XTemplateHaskell is not allowed in Safe Haskell diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn01.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn01.stderr index 1bced3b94a1b..4a2c9eeb1227 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn01.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn01.stderr @@ -2,6 +2,6 @@ UnsafeWarn01.hs:3:17: warning: [-Wunsafe] ‘UnsafeWarn01’ has been inferred as unsafe! Reason: - UnsafeWarn01.hs:8:1: error: + UnsafeWarn01.hs:8:1: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn02.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn02.stderr index 0061ed3e1d43..2b146f8532ca 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn02.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn02.stderr @@ -2,5 +2,5 @@ UnsafeWarn02.hs:3:17: warning: [-Wunsafe] ‘UnsafeWarn02’ has been inferred as unsafe! Reason: - UnsafeWarn02.hs:5:14: + UnsafeWarn02.hs:5:14:: -XTemplateHaskell is not allowed in Safe Haskell diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn03.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn03.stderr index c48a136f74d5..737160464f7c 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn03.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn03.stderr @@ -2,6 +2,6 @@ UnsafeWarn03.hs:4:17: warning: [-Wunsafe] ‘UnsafeWarn03’ has been inferred as unsafe! Reason: - UnsafeWarn03.hs:9:1: error: + UnsafeWarn03.hs:9:1: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn04.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn04.stderr index 94f0203f46a6..0cfa697192bb 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn04.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn04.stderr @@ -2,6 +2,6 @@ UnsafeWarn04.hs:4:17: warning: [-Wunsafe] ‘UnsafeWarn04’ has been inferred as unsafe! Reason: - UnsafeWarn04.hs:9:1: error: + UnsafeWarn04.hs:9:1: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn05.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn05.stderr index c43acb86d869..3d07f348673b 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn05.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn05.stderr @@ -2,13 +2,13 @@ UnsafeWarn05.hs:5:17: warning: [-Wunsafe] ‘UnsafeWarn05’ has been inferred as unsafe! Reason: - UnsafeWarn05.hs:11:1: error: + UnsafeWarn05.hs:11:1: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. UnsafeWarn05.hs:5:17: warning: [-Wunsafe] ‘UnsafeWarn05’ has been inferred as unsafe! Reason: - UnsafeWarn05.hs:16:11: warning: + UnsafeWarn05.hs:16:11: warning: [GHC-56147] Rule "g" ignored Defining user rules is disabled under Safe Haskell diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn06.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn06.stderr index 8f7641d2b0d9..d1a64dc4fea8 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn06.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn06.stderr @@ -2,6 +2,6 @@ UnsafeWarn06.hs:4:17: warning: [-Wunsafe] ‘UnsafeWarn06’ has been inferred as unsafe! Reason: - UnsafeWarn06.hs:9:11: warning: + UnsafeWarn06.hs:9:11: warning: [GHC-56147] Rule "f" ignored Defining user rules is disabled under Safe Haskell diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn07.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn07.stderr index 1439e24cc051..88f5e4ea5d22 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn07.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeWarn07.stderr @@ -2,6 +2,6 @@ UnsafeWarn07.hs:5:17: warning: [-Wunsafe] ‘UnsafeWarn07’ has been inferred as unsafe! Reason: - UnsafeWarn07.hs:10:11: warning: + UnsafeWarn07.hs:10:11: warning: [GHC-56147] Rule "f" ignored Defining user rules is disabled under Safe Haskell diff --git a/testsuite/tests/safeHaskell/safeLanguage/SafeLang03.stderr b/testsuite/tests/safeHaskell/safeLanguage/SafeLang03.stderr index 02f0cc5ebb70..353c1bb45ebe 100644 --- a/testsuite/tests/safeHaskell/safeLanguage/SafeLang03.stderr +++ b/testsuite/tests/safeHaskell/safeLanguage/SafeLang03.stderr @@ -1,4 +1,4 @@ -SafeLang03.hs:8:11: warning: +SafeLang03.hs:8:11: warning: [GHC-56147] Rule "f" ignored Defining user rules is disabled under Safe Haskell diff --git a/testsuite/tests/safeHaskell/safeLanguage/SafeLang08.stderr b/testsuite/tests/safeHaskell/safeLanguage/SafeLang08.stderr index 7e1655e00a65..c7f6c0ca3664 100644 --- a/testsuite/tests/safeHaskell/safeLanguage/SafeLang08.stderr +++ b/testsuite/tests/safeHaskell/safeLanguage/SafeLang08.stderr @@ -1,5 +1,5 @@ -SafeLang08.hs:10:1: error: +SafeLang08.hs:10:1: error: [GHC-57638] • Unacceptable result type in foreign declaration: Safe Haskell is on, all FFI imports must be in the IO monad • When checking declaration: diff --git a/testsuite/tests/safeHaskell/safeLanguage/SafeLang10.stderr b/testsuite/tests/safeHaskell/safeLanguage/SafeLang10.stderr index d058bb259994..bb604e5243de 100644 --- a/testsuite/tests/safeHaskell/safeLanguage/SafeLang10.stderr +++ b/testsuite/tests/safeHaskell/safeLanguage/SafeLang10.stderr @@ -2,7 +2,7 @@ [2 of 4] Compiling SafeLang10_B ( SafeLang10_B.hs, SafeLang10_B.o ) [3 of 4] Compiling Main ( SafeLang10.hs, SafeLang10.o ) -SafeLang10.hs:9:13: error: +SafeLang10.hs:9:13: error: [GHC-36705] • Unsafe overlapping instances for Pos [Int] arising from a use of ‘res’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/safeLanguage/SafeLang17.stderr b/testsuite/tests/safeHaskell/safeLanguage/SafeLang17.stderr index 111d0fd19c21..ab59ebff3002 100644 --- a/testsuite/tests/safeHaskell/safeLanguage/SafeLang17.stderr +++ b/testsuite/tests/safeHaskell/safeLanguage/SafeLang17.stderr @@ -2,7 +2,7 @@ [2 of 4] Compiling SafeLang17_B ( SafeLang17_B.hs, SafeLang17_B.o ) [3 of 4] Compiling Main ( SafeLang17.hs, SafeLang17.o ) -SafeLang17.hs:9:13: error: +SafeLang17.hs:9:13: error: [GHC-36705] • Unsafe overlapping instances for Pos [Int] arising from a use of ‘res’ The matching instance is: diff --git a/testsuite/tests/safeHaskell/unsafeLibs/BadImport01.stderr b/testsuite/tests/safeHaskell/unsafeLibs/BadImport01.stderr index 8afd025680ec..54942148b025 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/BadImport01.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/BadImport01.stderr @@ -1,4 +1,4 @@ -BadImport01.hs:6:1: error: +BadImport01.hs:6:1: error: [GHC-44360] System.IO.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/BadImport06.stderr b/testsuite/tests/safeHaskell/unsafeLibs/BadImport06.stderr index 06995b8f2cc2..09b03825bb78 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/BadImport06.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/BadImport06.stderr @@ -1,4 +1,4 @@ -BadImport06.hs:6:1: error: +BadImport06.hs:6:1: error: [GHC-44360] Debug.Trace: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/BadImport07.stderr b/testsuite/tests/safeHaskell/unsafeLibs/BadImport07.stderr index 4782befae7c2..730b156e842a 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/BadImport07.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/BadImport07.stderr @@ -1,4 +1,4 @@ -BadImport07.hs:6:1: error: +BadImport07.hs:6:1: error: [GHC-44360] Unsafe.Coerce: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/BadImport08.stderr b/testsuite/tests/safeHaskell/unsafeLibs/BadImport08.stderr index 5c45d2ab6af4..457c6b2afaf1 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/BadImport08.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/BadImport08.stderr @@ -1,4 +1,4 @@ -BadImport08.hs:6:1: error: +BadImport08.hs:6:1: error: [GHC-44360] Control.Monad.ST.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/BadImport09.stderr b/testsuite/tests/safeHaskell/unsafeLibs/BadImport09.stderr index 91611c0fcc56..4489d2027246 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/BadImport09.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/BadImport09.stderr @@ -1,4 +1,4 @@ -BadImport09.hs:6:1: error: +BadImport09.hs:6:1: error: [GHC-44360] Control.Monad.ST.Lazy.Unsafe: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep05.stderr b/testsuite/tests/safeHaskell/unsafeLibs/Dep05.stderr index fb3cb5eecddb..19a830e324f4 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/Dep05.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep05.stderr @@ -1,3 +1,3 @@ -Dep05.hs:7:1: error: +Dep05.hs:7:1: error: [GHC-44360] GHC.Arr: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep06.stderr b/testsuite/tests/safeHaskell/unsafeLibs/Dep06.stderr index 7824935d9180..d50bf28865f6 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/Dep06.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep06.stderr @@ -1,3 +1,3 @@ -Dep06.hs:5:1: error: +Dep06.hs:5:1: error: [GHC-44360] GHC.Conc: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep07.stderr b/testsuite/tests/safeHaskell/unsafeLibs/Dep07.stderr index cf79a18f6ed8..9c98dfd4aacd 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/Dep07.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep07.stderr @@ -1,4 +1,4 @@ -Dep07.hs:5:1: error: +Dep07.hs:5:1: error: [GHC-44360] GHC.ForeignPtr: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep08.stderr b/testsuite/tests/safeHaskell/unsafeLibs/Dep08.stderr index 09fa7d86ee73..840e353bd925 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/Dep08.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep08.stderr @@ -1,4 +1,4 @@ -Dep08.hs:6:1: error: +Dep08.hs:6:1: error: [GHC-44360] GHC.IOArray: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep09.stderr b/testsuite/tests/safeHaskell/unsafeLibs/Dep09.stderr index 4c776d383298..6682e2da4067 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/Dep09.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep09.stderr @@ -1,3 +1,3 @@ -Dep09.hs:5:1: error: +Dep09.hs:5:1: error: [GHC-44360] GHC.Ptr: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/Dep10.stderr b/testsuite/tests/safeHaskell/unsafeLibs/Dep10.stderr index af1627c985fa..911efa62a4aa 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/Dep10.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/Dep10.stderr @@ -1,3 +1,3 @@ -Dep10.hs:5:1: error: +Dep10.hs:5:1: error: [GHC-44360] GHC.ST: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/safeHaskell/unsafeLibs/T21433.stderr b/testsuite/tests/safeHaskell/unsafeLibs/T21433.stderr index 1604b39c9b78..0a7017ea44fb 100644 --- a/testsuite/tests/safeHaskell/unsafeLibs/T21433.stderr +++ b/testsuite/tests/safeHaskell/unsafeLibs/T21433.stderr @@ -1,4 +1,4 @@ -T21433.hs:6:1: error: +T21433.hs:6:1: error: [GHC-44360] GHC.Prim.PtrEq: Can't be safely imported! The module itself isn't safe. diff --git a/testsuite/tests/saks/should_fail/T16725.stderr b/testsuite/tests/saks/should_fail/T16725.stderr index 4fed187f7398..c675e942d8e6 100644 --- a/testsuite/tests/saks/should_fail/T16725.stderr +++ b/testsuite/tests/saks/should_fail/T16725.stderr @@ -1,3 +1,3 @@ -T16725.hs:8:6: error: +T16725.hs:8:6: error: [GHC-44432] The standalone kind signature for ‘W’ lacks an accompanying binding diff --git a/testsuite/tests/saks/should_fail/T16727a.stderr b/testsuite/tests/saks/should_fail/T16727a.stderr index 9d0f3e11d7d3..57b706d5d6af 100644 --- a/testsuite/tests/saks/should_fail/T16727a.stderr +++ b/testsuite/tests/saks/should_fail/T16727a.stderr @@ -1,5 +1,5 @@ -T16727a.hs:8:12: error: +T16727a.hs:8:12: error: [GHC-88634] • Type constructor ‘T1’ cannot be used here (it is defined and used in the same recursive group) • In a standalone kind signature for ‘T2’: T1 diff --git a/testsuite/tests/saks/should_fail/T16727b.stderr b/testsuite/tests/saks/should_fail/T16727b.stderr index 0a50ffe2e462..7d05dc67cfdb 100644 --- a/testsuite/tests/saks/should_fail/T16727b.stderr +++ b/testsuite/tests/saks/should_fail/T16727b.stderr @@ -1,5 +1,5 @@ -T16727b.hs:5:11: error: +T16727b.hs:5:11: error: [GHC-88634] • Type constructor ‘T’ cannot be used here (it is defined and used in the same recursive group) • In a standalone kind signature for ‘T’: T diff --git a/testsuite/tests/saks/should_fail/T16756b.stderr b/testsuite/tests/saks/should_fail/T16756b.stderr index d8324628d223..848e3e2bbebb 100644 --- a/testsuite/tests/saks/should_fail/T16756b.stderr +++ b/testsuite/tests/saks/should_fail/T16756b.stderr @@ -1,4 +1,4 @@ -T16756b.hs:8:1: error: +T16756b.hs:8:1: error: [GHC-83865] • Expected a type, but found something with kind ‘* -> *’ • In the data type declaration for ‘T’ diff --git a/testsuite/tests/saks/should_fail/T16758.stderr b/testsuite/tests/saks/should_fail/T16758.stderr index 066a4f106a55..945004f0f3b4 100644 --- a/testsuite/tests/saks/should_fail/T16758.stderr +++ b/testsuite/tests/saks/should_fail/T16758.stderr @@ -1,5 +1,5 @@ -T16758.hs:14:8: error: +T16758.hs:14:8: error: [GHC-25897] • Couldn't match expected kind ‘Int’ with actual kind ‘a’ ‘a’ is a rigid type variable bound by the class declaration for ‘C’ diff --git a/testsuite/tests/saks/should_fail/T16826.stderr b/testsuite/tests/saks/should_fail/T16826.stderr index c2272806c9cb..6ca9a6e47982 100644 --- a/testsuite/tests/saks/should_fail/T16826.stderr +++ b/testsuite/tests/saks/should_fail/T16826.stderr @@ -1,5 +1,5 @@ -T16826.hs:14:1: error: +T16826.hs:14:1: error: [GHC-80768] • Kind signature on a class must end with Constraint unobscured by type families • In the class declaration for ‘C’ diff --git a/testsuite/tests/saks/should_fail/T18863a.stderr b/testsuite/tests/saks/should_fail/T18863a.stderr index 8a9de6da6ecc..c36a102530f4 100644 --- a/testsuite/tests/saks/should_fail/T18863a.stderr +++ b/testsuite/tests/saks/should_fail/T18863a.stderr @@ -1,5 +1,5 @@ -T18863a.hs:9:1: error: +T18863a.hs:9:1: error: [GHC-83865] • Couldn't match expected kind: forall i. i -> * with actual kind: forall i -> i -> * • In the data type declaration for ‘IDa’ diff --git a/testsuite/tests/saks/should_fail/T18863b.stderr b/testsuite/tests/saks/should_fail/T18863b.stderr index d1453044c127..4a57769a297d 100644 --- a/testsuite/tests/saks/should_fail/T18863b.stderr +++ b/testsuite/tests/saks/should_fail/T18863b.stderr @@ -1,5 +1,5 @@ -T18863b.hs:9:1: error: +T18863b.hs:9:1: error: [GHC-83865] • Couldn't match expected kind: forall i -> i -> * with actual kind: i -> * • In the data type declaration for ‘IDb’ diff --git a/testsuite/tests/saks/should_fail/T20916.stderr b/testsuite/tests/saks/should_fail/T20916.stderr index aeef4ca43890..b99ea9a2254d 100644 --- a/testsuite/tests/saks/should_fail/T20916.stderr +++ b/testsuite/tests/saks/should_fail/T20916.stderr @@ -1,4 +1,4 @@ -T20916.hs:8:10: error: +T20916.hs:8:10: error: [GHC-17370] • Different names for the same type variable: ‘p’ and ‘q’ • In the data type declaration for ‘T3’ diff --git a/testsuite/tests/saks/should_fail/saks007_fail.stderr b/testsuite/tests/saks/should_fail/saks007_fail.stderr index 367cb8e0222e..1ceefa9ee38d 100644 --- a/testsuite/tests/saks/should_fail/saks007_fail.stderr +++ b/testsuite/tests/saks/should_fail/saks007_fail.stderr @@ -1,5 +1,5 @@ -saks007_fail.hs:15:10: error: +saks007_fail.hs:15:10: error: [GHC-83865] • Couldn't match kind ‘'True’ with ‘'False’ Expected: G (*) Actual: F (*) diff --git a/testsuite/tests/saks/should_fail/saks_fail003.stderr b/testsuite/tests/saks/should_fail/saks_fail003.stderr index f8f7f7af0dc6..92221896d86b 100644 --- a/testsuite/tests/saks/should_fail/saks_fail003.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail003.stderr @@ -1,4 +1,4 @@ -saks_fail003.hs:6:11: error: +saks_fail003.hs:6:11: error: [GHC-65507] Wildcard ‘_’ not allowed in the standalone kind signature for T diff --git a/testsuite/tests/saks/should_fail/saks_fail004.stderr b/testsuite/tests/saks/should_fail/saks_fail004.stderr index 15ec9783403d..9474c09e1c94 100644 --- a/testsuite/tests/saks/should_fail/saks_fail004.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail004.stderr @@ -1,4 +1,4 @@ -saks_fail004.hs:9:11: error: +saks_fail004.hs:9:11: error: [GHC-01259] • Illegal constraint in a kind: forall a. Eq a => * • In a standalone kind signature for ‘Q’: Eq a => Type diff --git a/testsuite/tests/saks/should_fail/saks_fail005.stderr b/testsuite/tests/saks/should_fail/saks_fail005.stderr index c0230a9fefa6..5e7262a1719b 100644 --- a/testsuite/tests/saks/should_fail/saks_fail005.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail005.stderr @@ -1,2 +1,3 @@ -saks_fail005.hs:14:32: error: Not in scope: type variable ‘k’ +saks_fail005.hs:14:32: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/saks/should_fail/saks_fail006.stderr b/testsuite/tests/saks/should_fail/saks_fail006.stderr index fb7cbe18a7d3..74cb5083d1c3 100644 --- a/testsuite/tests/saks/should_fail/saks_fail006.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail006.stderr @@ -1,2 +1,3 @@ -saks_fail006.hs:13:20: error: Not in scope: type variable ‘k’ +saks_fail006.hs:13:20: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/saks/should_fail/saks_fail007.stderr b/testsuite/tests/saks/should_fail/saks_fail007.stderr index bc2764b1e783..9e2d5921bcba 100644 --- a/testsuite/tests/saks/should_fail/saks_fail007.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail007.stderr @@ -1,2 +1,2 @@ -saks_fail007.hs:7:12: error: parse error on input ‘::’ +saks_fail007.hs:7:12: error: [GHC-58481] parse error on input ‘::’ diff --git a/testsuite/tests/saks/should_fail/saks_fail008.stderr b/testsuite/tests/saks/should_fail/saks_fail008.stderr index 4679afb5649b..74f16d2a9596 100644 --- a/testsuite/tests/saks/should_fail/saks_fail008.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail008.stderr @@ -1,5 +1,5 @@ -saks_fail008.hs:9:1: error: +saks_fail008.hs:9:1: error: [GHC-05989] • Not a function kind: * but extra binders found: x1 (x2 :: Type -> Type) • In the data type declaration for ‘T’ diff --git a/testsuite/tests/saks/should_fail/saks_fail009.stderr b/testsuite/tests/saks/should_fail/saks_fail009.stderr index 22b66b421bb2..11ef5a5c4feb 100644 --- a/testsuite/tests/saks/should_fail/saks_fail009.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail009.stderr @@ -1,5 +1,5 @@ -saks_fail009.hs:9:1: error: +saks_fail009.hs:9:1: error: [GHC-83865] • Expecting one more argument to ‘k’ Expected a type, but ‘k’ has kind ‘* -> *’ • In the data type declaration for ‘T’ diff --git a/testsuite/tests/saks/should_fail/saks_fail010.stderr b/testsuite/tests/saks/should_fail/saks_fail010.stderr index b270ff2e6715..1748c6f1646b 100644 --- a/testsuite/tests/saks/should_fail/saks_fail010.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail010.stderr @@ -1,4 +1,4 @@ -saks_fail010.hs:8:1: error: +saks_fail010.hs:8:1: error: [GHC-83865] • Expected a type, but found something with kind ‘* -> *’ • In the data type declaration for ‘T’ diff --git a/testsuite/tests/saks/should_fail/saks_fail011.stderr b/testsuite/tests/saks/should_fail/saks_fail011.stderr index ff23c7b1a357..8ec9aac5c42f 100644 --- a/testsuite/tests/saks/should_fail/saks_fail011.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail011.stderr @@ -1,4 +1,4 @@ -saks_fail011.hs:9:1: error: +saks_fail011.hs:9:1: error: [GHC-83865] • Expected a type, but found something with kind ‘* -> *’ • In the data type declaration for ‘G’ diff --git a/testsuite/tests/saks/should_fail/saks_fail012.stderr b/testsuite/tests/saks/should_fail/saks_fail012.stderr index d43a0ac028a5..fe582d980ca6 100644 --- a/testsuite/tests/saks/should_fail/saks_fail012.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail012.stderr @@ -1,5 +1,5 @@ -saks_fail012.hs:8:1: error: +saks_fail012.hs:8:1: error: [GHC-83865] • Couldn't match expected kind ‘Constraint’ with actual kind ‘* -> Constraint’ • In the class declaration for ‘C’ diff --git a/testsuite/tests/saks/should_fail/saks_fail013.stderr b/testsuite/tests/saks/should_fail/saks_fail013.stderr index 4e041ba75692..31188e0c3c11 100644 --- a/testsuite/tests/saks/should_fail/saks_fail013.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail013.stderr @@ -1,2 +1,3 @@ -saks_fail013.hs:10:22: error: Not in scope: type variable ‘k’ +saks_fail013.hs:10:22: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/saks/should_fail/saks_fail014.stderr b/testsuite/tests/saks/should_fail/saks_fail014.stderr index 68733410ee89..ee698df28c58 100644 --- a/testsuite/tests/saks/should_fail/saks_fail014.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail014.stderr @@ -1,11 +1,11 @@ -saks_fail014.hs:10:7: error: +saks_fail014.hs:10:7: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected kind ‘forall k. k’, but ‘Maybe’ has kind ‘* -> *’ • In the type ‘Maybe’ In the type family declaration for ‘T’ -saks_fail014.hs:11:7: error: +saks_fail014.hs:11:7: error: [GHC-83865] • Expected kind ‘forall k. k’, but ‘Integer’ has kind ‘*’ • In the type ‘Integer’ In the type family declaration for ‘T’ diff --git a/testsuite/tests/saks/should_fail/saks_fail015.stderr b/testsuite/tests/saks/should_fail/saks_fail015.stderr index d85b1a4c2256..a65f504e0040 100644 --- a/testsuite/tests/saks/should_fail/saks_fail015.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail015.stderr @@ -1,2 +1,3 @@ -saks_fail015.hs:11:29: error: Not in scope: type variable ‘k’ +saks_fail015.hs:11:29: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/saks/should_fail/saks_fail016.stderr b/testsuite/tests/saks/should_fail/saks_fail016.stderr index 8f501674ea06..234ac5251e8a 100644 --- a/testsuite/tests/saks/should_fail/saks_fail016.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail016.stderr @@ -1,2 +1,3 @@ -saks_fail016.hs:13:27: error: Not in scope: type variable ‘k’ +saks_fail016.hs:13:27: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/saks/should_fail/saks_fail017.stderr b/testsuite/tests/saks/should_fail/saks_fail017.stderr index b43ff35632bf..6cd762f6e032 100644 --- a/testsuite/tests/saks/should_fail/saks_fail017.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail017.stderr @@ -1,2 +1,3 @@ -saks_fail017.hs:12:13: error: Not in scope: type variable ‘k’ +saks_fail017.hs:12:13: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/saks/should_fail/saks_fail018.stderr b/testsuite/tests/saks/should_fail/saks_fail018.stderr index 38b7c5966230..d014bde5a02e 100644 --- a/testsuite/tests/saks/should_fail/saks_fail018.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail018.stderr @@ -1,2 +1,3 @@ -saks_fail018.hs:13:26: error: Not in scope: type variable ‘k’ +saks_fail018.hs:13:26: error: [GHC-76037] + Not in scope: type variable ‘k’ diff --git a/testsuite/tests/saks/should_fail/saks_fail019.stderr b/testsuite/tests/saks/should_fail/saks_fail019.stderr index a824ab118ca7..f1e661950c02 100644 --- a/testsuite/tests/saks/should_fail/saks_fail019.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail019.stderr @@ -1,5 +1,5 @@ -saks_fail019.hs:9:1: error: +saks_fail019.hs:9:1: error: [GHC-25897] • Couldn't match kind ‘x’ with ‘*’ Expected: x -> * Actual: * -> * diff --git a/testsuite/tests/saks/should_fail/saks_fail020.stderr b/testsuite/tests/saks/should_fail/saks_fail020.stderr index 002d7b27b3e4..729008ff3b0b 100644 --- a/testsuite/tests/saks/should_fail/saks_fail020.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail020.stderr @@ -1,5 +1,5 @@ -saks_fail020.hs:9:49: error: +saks_fail020.hs:9:49: error: [GHC-25897] • Expected kind ‘k1’, but ‘a’ has kind ‘k’ ‘k’ is a rigid type variable bound by a standalone kind signature for ‘Foo2’ diff --git a/testsuite/tests/saks/should_fail/saks_fail021.stderr b/testsuite/tests/saks/should_fail/saks_fail021.stderr index fa20ccc826ad..e6e790b60fa1 100644 --- a/testsuite/tests/saks/should_fail/saks_fail021.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail021.stderr @@ -1,4 +1,4 @@ -saks_fail021.hs:10:1: error: +saks_fail021.hs:10:1: error: [GHC-25897] • Expected a type, but ‘a’ has kind ‘k’ • In the class declaration for ‘C’ diff --git a/testsuite/tests/saks/should_fail/saks_fail022.stderr b/testsuite/tests/saks/should_fail/saks_fail022.stderr index 0591eced9541..d1e33ff32d51 100644 --- a/testsuite/tests/saks/should_fail/saks_fail022.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail022.stderr @@ -1,4 +1,4 @@ -saks_fail022.hs:10:1: error: +saks_fail022.hs:10:1: error: [GHC-25897] • Expected kind ‘(x, y)’, but ‘a’ has kind ‘k’ • In the class declaration for ‘C’ diff --git a/testsuite/tests/saks/should_fail/saks_fail023.stderr b/testsuite/tests/saks/should_fail/saks_fail023.stderr index 36144f6d9d5b..7b0cec30bf44 100644 --- a/testsuite/tests/saks/should_fail/saks_fail023.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail023.stderr @@ -1,4 +1,4 @@ -saks_fail023.hs:10:1: error: +saks_fail023.hs:10:1: error: [GHC-25897] • Expected a type, but ‘a’ has kind ‘k’ • In the class declaration for ‘C’ diff --git a/testsuite/tests/saks/should_fail/saks_fail024.stderr b/testsuite/tests/saks/should_fail/saks_fail024.stderr index 0266358356b9..e46094b4cec4 100644 --- a/testsuite/tests/saks/should_fail/saks_fail024.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail024.stderr @@ -1,3 +1,3 @@ -saks_fail024.hs:7:6: error: +saks_fail024.hs:7:6: error: [GHC-73413] Expected an unqualified type constructor: Data.Kind.Type diff --git a/testsuite/tests/saks/should_fail/saks_fail025.stderr b/testsuite/tests/saks/should_fail/saks_fail025.stderr index 52e1527d3b6e..b12966736945 100644 --- a/testsuite/tests/saks/should_fail/saks_fail025.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail025.stderr @@ -1,5 +1,5 @@ -saks_fail025.hs:7:6: error: +saks_fail025.hs:7:6: error: [GHC-42569] Standalone kind signatures do not support multiple names at the moment: A, B, C See https://gitlab.haskell.org/ghc/ghc/issues/16754 for details. diff --git a/testsuite/tests/saks/should_fail/saks_fail026.stderr b/testsuite/tests/saks/should_fail/saks_fail026.stderr index ceeeaa01c79f..5f5c557a6422 100644 --- a/testsuite/tests/saks/should_fail/saks_fail026.stderr +++ b/testsuite/tests/saks/should_fail/saks_fail026.stderr @@ -1,5 +1,5 @@ -saks_fail026.hs:8:1: error: +saks_fail026.hs:8:1: error: [GHC-25897] • Expected kind ‘kx’, but ‘b’ has kind ‘*’ ‘kx’ is a rigid type variable bound by the type family declaration for ‘F3’ diff --git a/testsuite/tests/simplCore/should_compile/T13990.stderr b/testsuite/tests/simplCore/should_compile/T13990.stderr index f30ebece6ee7..1c9a5dfaf4f8 100644 --- a/testsuite/tests/simplCore/should_compile/T13990.stderr +++ b/testsuite/tests/simplCore/should_compile/T13990.stderr @@ -1,4 +1,4 @@ -T13990.hs:14:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T13990.hs:14:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘absurdFoo’: absurdFoo (Foo x) = ... diff --git a/testsuite/tests/simplCore/should_compile/T20200b.stderr b/testsuite/tests/simplCore/should_compile/T20200b.stderr index 1db18a40f623..b3070b8721fd 100644 --- a/testsuite/tests/simplCore/should_compile/T20200b.stderr +++ b/testsuite/tests/simplCore/should_compile/T20200b.stderr @@ -1,4 +1,4 @@ -T20200b.hs:8:1: warning: [-Woverlapping-patterns (in -Wdefault)] +T20200b.hs:8:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘xrecTuple’: xrecTuple (a :& (b :& _)) = ... diff --git a/testsuite/tests/simplCore/should_compile/T4398.stderr b/testsuite/tests/simplCore/should_compile/T4398.stderr index 5ea3dd18fb81..04b2db98e609 100644 --- a/testsuite/tests/simplCore/should_compile/T4398.stderr +++ b/testsuite/tests/simplCore/should_compile/T4398.stderr @@ -1,5 +1,5 @@ -T4398.hs:6:11: warning: +T4398.hs:6:11: warning: [GHC-40548] Forall'd constraint ‘Ord a’ is not bound in RULE lhs Orig bndrs: [a, $dOrd, x, y] Orig lhs: f @a ((\ ($dOrd :: Ord a) -> x) $dOrd) y diff --git a/testsuite/tests/simplCore/should_compile/T6082-RULE.stderr b/testsuite/tests/simplCore/should_compile/T6082-RULE.stderr index 3a3332769e5f..74d560dbf118 100644 --- a/testsuite/tests/simplCore/should_compile/T6082-RULE.stderr +++ b/testsuite/tests/simplCore/should_compile/T6082-RULE.stderr @@ -1,10 +1,8 @@ -T6082-RULE.hs:5:11: warning: [-Winline-rule-shadowing (in -Wdefault)] +T6082-RULE.hs:5:11: warning: [GHC-95396] [-Winline-rule-shadowing (in -Wdefault)] Rule "foo1" may never fire because ‘foo1’ might inline first - Suggested fix: - Add an INLINE[n] or NOINLINE[n] pragma for ‘foo1’ + Suggested fix: Add an INLINE[n] or NOINLINE[n] pragma for ‘foo1’ -T6082-RULE.hs:10:11: warning: [-Winline-rule-shadowing (in -Wdefault)] +T6082-RULE.hs:10:11: warning: [GHC-95396] [-Winline-rule-shadowing (in -Wdefault)] Rule "foo2" may never fire because ‘foo2’ might inline first - Suggested fix: - Add an INLINE[n] or NOINLINE[n] pragma for ‘foo2’ + Suggested fix: Add an INLINE[n] or NOINLINE[n] pragma for ‘foo2’ diff --git a/testsuite/tests/simplCore/should_compile/T7287.stderr b/testsuite/tests/simplCore/should_compile/T7287.stderr index 957282b8f372..6cb96a8a7c0c 100644 --- a/testsuite/tests/simplCore/should_compile/T7287.stderr +++ b/testsuite/tests/simplCore/should_compile/T7287.stderr @@ -1,6 +1,5 @@ -T7287.hs:7:3: warning: [-Winline-rule-shadowing (in -Wdefault)] +T7287.hs:7:3: warning: [GHC-87502] [-Winline-rule-shadowing (in -Wdefault)] Rule "int2Word#/word2Int#" may never fire because rule "word2Int#" for ‘word2Int#’ might fire first - Suggested fix: - Add phase [n] or [~n] to the competing rule + Suggested fix: Add phase [n] or [~n] to the competing rule diff --git a/testsuite/tests/simplCore/should_compile/T8537.stderr b/testsuite/tests/simplCore/should_compile/T8537.stderr index 0613a1cfa3a7..8d85318f06d5 100644 --- a/testsuite/tests/simplCore/should_compile/T8537.stderr +++ b/testsuite/tests/simplCore/should_compile/T8537.stderr @@ -1,3 +1,3 @@ -T8537.hs:20:5: Warning: +T8537.hs:20:5: warning: [GHC-35827] SPECIALISE pragma for non-overloaded function ‘fmap’ diff --git a/testsuite/tests/simplCore/should_compile/T9400.stderr b/testsuite/tests/simplCore/should_compile/T9400.stderr index 511a481d9601..071821f3474e 100644 --- a/testsuite/tests/simplCore/should_compile/T9400.stderr +++ b/testsuite/tests/simplCore/should_compile/T9400.stderr @@ -1,9 +1,9 @@ -T9400.hs:13:9: warning: [-Woverlapping-patterns (in -Wdefault)] +T9400.hs:13:9: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: [] -> ... -T9400.hs:18:9: warning: [-Woverlapping-patterns (in -Wdefault)] +T9400.hs:18:9: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: "" -> ... diff --git a/testsuite/tests/simplCore/should_compile/simpl016.stderr b/testsuite/tests/simplCore/should_compile/simpl016.stderr index ff3a38a6a8bf..75f9072d5505 100644 --- a/testsuite/tests/simplCore/should_compile/simpl016.stderr +++ b/testsuite/tests/simplCore/should_compile/simpl016.stderr @@ -1,5 +1,5 @@ -simpl016.hs:7:1: warning: +simpl016.hs:7:1: warning: [GHC-40548] Forall'd constraint ‘Num b’ is not bound in RULE lhs Orig bndrs: [b, $dNum] Orig lhs: let { diff --git a/testsuite/tests/simplCore/should_compile/simpl017.stderr b/testsuite/tests/simplCore/should_compile/simpl017.stderr index 0326e339fb52..9aae96949f52 100644 --- a/testsuite/tests/simplCore/should_compile/simpl017.stderr +++ b/testsuite/tests/simplCore/should_compile/simpl017.stderr @@ -1,5 +1,5 @@ -simpl017.hs:55:5: error: +simpl017.hs:55:5: error: [GHC-83865] • Couldn't match type: [E m i] -> E' v0 m a with: forall v. [E m i] -> E' v m a Expected: m (forall v. [E m i] -> E' v m a) @@ -24,7 +24,7 @@ simpl017.hs:55:5: error: liftArray :: arr i a -> E m (forall v. [E m i] -> E' v m a) (bound at simpl017.hs:50:1) -simpl017.hs:71:10: error: +simpl017.hs:71:10: error: [GHC-83865] • Couldn't match type: forall v. [E (ST s) Int] -> E' v (ST s) Int with: [E (ST t0) Int] -> E (ST s) Int Expected: E' RValue (ST s) ([E (ST t0) Int] -> E (ST s) Int) diff --git a/testsuite/tests/stage1/T13609.stderr b/testsuite/tests/stage1/T13609.stderr index 579f3e53192e..8be57f385ab9 100644 --- a/testsuite/tests/stage1/T13609.stderr +++ b/testsuite/tests/stage1/T13609.stderr @@ -1,3 +1,3 @@ -T13609.hs:3:1: warning: +T13609.hs:3:1: warning: [GHC-66649] Ignoring ANN annotation, because this is a stage-1 compiler without -fexternal-interpreter or doesn't support GHCi diff --git a/testsuite/tests/tcplugins/TcPlugin_EmitWanted.stderr b/testsuite/tests/tcplugins/TcPlugin_EmitWanted.stderr index d85d8bf4eda5..5a5305fa8971 100644 --- a/testsuite/tests/tcplugins/TcPlugin_EmitWanted.stderr +++ b/testsuite/tests/tcplugins/TcPlugin_EmitWanted.stderr @@ -3,7 +3,7 @@ [3 of 4] Compiling EmitWantedPlugin ( EmitWantedPlugin.hs, EmitWantedPlugin.o ) [4 of 4] Compiling TcPlugin_EmitWanted ( TcPlugin_EmitWanted.hs, TcPlugin_EmitWanted.o ) -TcPlugin_EmitWanted.hs:13:7: error: +TcPlugin_EmitWanted.hs:13:7: error: [GHC-18872] • Couldn't match type ‘Bool’ with ‘()’ arising from a use of ‘foo’ • In the expression: foo In an equation for ‘bar’: bar = foo diff --git a/testsuite/tests/tcplugins/TcPlugin_RewritePerf.stderr b/testsuite/tests/tcplugins/TcPlugin_RewritePerf.stderr index baa39e8374a9..0d6f7ed4f0f5 100644 --- a/testsuite/tests/tcplugins/TcPlugin_RewritePerf.stderr +++ b/testsuite/tests/tcplugins/TcPlugin_RewritePerf.stderr @@ -2,7 +2,7 @@ [2 of 4] Compiling RewritePerfPlugin ( RewritePerfPlugin.hs, RewritePerfPlugin.o ) [3 of 4] Compiling Main ( TcPlugin_RewritePerf.hs, TcPlugin_RewritePerf.o ) -TcPlugin_RewritePerf.hs:25:8: error: +TcPlugin_RewritePerf.hs:25:8: error: [GHC-39999] • No instance for ‘Show (Proxy '[ '[ 'Cube 'G 'B 'W 'R 'B 'G, 'Cube 'W 'G 'B 'W 'R 'R, diff --git a/testsuite/tests/th/T10267.stderr b/testsuite/tests/th/T10267.stderr index f97ccf0a1f9b..a6e6aa71e561 100644 --- a/testsuite/tests/th/T10267.stderr +++ b/testsuite/tests/th/T10267.stderr @@ -1,5 +1,5 @@ -T10267.hs:8:1: error: +T10267.hs:8:1: error: [GHC-88464] • Found hole: _foo :: a -> a Where: ‘a’ is a rigid type variable bound by the type signature for: @@ -18,7 +18,7 @@ T10267.hs:8:1: error: (imported from ‘Prelude’ at T10267.hs:3:8-13 (and originally defined in ‘GHC.Base’)) -T10267.hs:8:1: error: +T10267.hs:8:1: error: [GHC-88464] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/th/T10638.stderr b/testsuite/tests/th/T10638.stderr index 582190e688d1..de833d4fd3bc 100644 --- a/testsuite/tests/th/T10638.stderr +++ b/testsuite/tests/th/T10638.stderr @@ -1,5 +1,5 @@ -T10638.hs:26:10: error: +T10638.hs:26:10: error: [GHC-95774] • ‘static test2’ is not a valid C identifier • When checking declaration: foreign import prim safe "static test2" cmm_test2 :: Int# -> Int# diff --git a/testsuite/tests/th/T10945.stderr b/testsuite/tests/th/T10945.stderr index fe71a2f50c56..c70a098c9d2c 100644 --- a/testsuite/tests/th/T10945.stderr +++ b/testsuite/tests/th/T10945.stderr @@ -1,5 +1,5 @@ -T10945.hs:7:11: error: +T10945.hs:7:11: error: [GHC-83865] • Couldn't match type: [Dec] with: Q [Dec] Expected: DecsQ diff --git a/testsuite/tests/th/T10946.stderr b/testsuite/tests/th/T10946.stderr index a5b6ebe16cdb..600625b5a4a8 100644 --- a/testsuite/tests/th/T10946.stderr +++ b/testsuite/tests/th/T10946.stderr @@ -1,5 +1,5 @@ -T10946.hs:8:13: error: +T10946.hs:8:13: error: [GHC-88464] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/th/T11145.stderr b/testsuite/tests/th/T11145.stderr index b8c4a1c6a85b..5fba7081a6a5 100644 --- a/testsuite/tests/th/T11145.stderr +++ b/testsuite/tests/th/T11145.stderr @@ -1,5 +1,5 @@ -T11145.hs:8:1: error: +T11145.hs:8:1: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘(a0, b0)’ Expected: Fuggle Int (Maybe (a0, b0)) Actual: Fuggle Int (Maybe Bool) diff --git a/testsuite/tests/th/T11452.stderr b/testsuite/tests/th/T11452.stderr index 2de5aa0a0fbf..c0ed994d2d2a 100644 --- a/testsuite/tests/th/T11452.stderr +++ b/testsuite/tests/th/T11452.stderr @@ -6,7 +6,7 @@ T11452.hs:6:12: error: In the expression: $$([|| \ _ -> () ||]) In an equation for ‘impred’: impred = $$([|| \ _ -> () ||]) -T11452.hs:6:14: error: +T11452.hs:6:14: error: [GHC-91028] • Couldn't match type ‘p0’ with ‘forall a. a -> a’ Expected: Language.Haskell.TH.Syntax.Code Language.Haskell.TH.Syntax.Q ((forall a. a -> a) -> ()) diff --git a/testsuite/tests/th/T11680.stderr b/testsuite/tests/th/T11680.stderr index 05e976837a80..9399586df1c1 100644 --- a/testsuite/tests/th/T11680.stderr +++ b/testsuite/tests/th/T11680.stderr @@ -1,30 +1,34 @@ -T11680.hs:15:7: error: Variable not in scope: noMatches :: Bool +T11680.hs:15:7: error: [GHC-88464] + Variable not in scope: noMatches :: Bool -T11680.hs:20:7: error: +T11680.hs:20:7: error: [GHC-88464] Variable not in scope: abce :: [a] Suggested fix: Perhaps use ‘abcd’ (line 23) -T11680.hs:31:7: error: Variable not in scope: foo :: Int +T11680.hs:31:7: error: [GHC-88464] + Variable not in scope: foo :: Int -T11680.hs:39:7: error: +T11680.hs:39:7: error: [GHC-88464] Variable not in scope: bar :: () Suggested fix: Perhaps use one of these: ‘bat’ (line 42), ‘baz’ (line 45) -T11680.hs:50:7: error: Variable not in scope: ns :: [Double] +T11680.hs:50:7: error: [GHC-88464] + Variable not in scope: ns :: [Double] -T11680.hs:55:7: error: +T11680.hs:55:7: error: [GHC-88464] Variable not in scope: intercalate Suggested fix: Perhaps use ‘List.intercalate’ (imported from Data.List) -T11680.hs:59:7: error: +T11680.hs:59:7: error: [GHC-88464] Variable not in scope: nub Suggested fix: Perhaps use ‘List.nub’ (imported from Data.List) -T11680.hs:64:7: error: Variable not in scope: x :: t0 -> Int +T11680.hs:64:7: error: [GHC-88464] + Variable not in scope: x :: t0 -> Int -T11680.hs:69:7: error: +T11680.hs:69:7: error: [GHC-88464] Variable not in scope: cat :: () Suggested fix: Perhaps use ‘bat’ (line 42) diff --git a/testsuite/tests/th/T11941.stderr b/testsuite/tests/th/T11941.stderr index ca21f919fed5..39a25c742509 100644 --- a/testsuite/tests/th/T11941.stderr +++ b/testsuite/tests/th/T11941.stderr @@ -1,5 +1,5 @@ -T11941.hs:7:30: error: +T11941.hs:7:30: error: [GHC-76037] Not in scope: ‘getFrst’ Suggested fix: Perhaps use one of these: diff --git a/testsuite/tests/th/T12387.stderr b/testsuite/tests/th/T12387.stderr index 53b8550cdd43..7b0fa48235f9 100644 --- a/testsuite/tests/th/T12387.stderr +++ b/testsuite/tests/th/T12387.stderr @@ -1,4 +1,4 @@ -T12387.hs:8:2: error: +T12387.hs:8:2: error: [GHC-46284] • Class ‘Eq’ does not have a method ‘compare’ • In the instance declaration for ‘Eq Foo’ diff --git a/testsuite/tests/th/T12387a.stderr b/testsuite/tests/th/T12387a.stderr index 00645866d49d..c9653dec376b 100644 --- a/testsuite/tests/th/T12387a.stderr +++ b/testsuite/tests/th/T12387a.stderr @@ -1,5 +1,5 @@ -T12387a.hs:11:2: - Class ‘Eq’ does not have an associated type ‘Rep’ - In the type instance declaration for ‘Rep’ - In the instance declaration for ‘Eq Foo’ \ No newline at end of file +T12387a.hs:11:2: error: [GHC-38351] + • Class ‘Eq’ does not have an associated type ‘Rep’ + • In the type instance declaration for ‘Rep’ + In the instance declaration for ‘Eq Foo’ diff --git a/testsuite/tests/th/T12411.stderr b/testsuite/tests/th/T12411.stderr index 79172a1a4637..be5f843ee29b 100644 --- a/testsuite/tests/th/T12411.stderr +++ b/testsuite/tests/th/T12411.stderr @@ -3,4 +3,5 @@ T12411.hs:5:1: error: Illegal visible type application ‘@Q’ Perhaps you intended to use TypeApplications -T12411.hs:5:7: error: Not in scope: type constructor or class ‘Q’ +T12411.hs:5:7: error: [GHC-76037] + Not in scope: type constructor or class ‘Q’ diff --git a/testsuite/tests/th/T12513.stderr b/testsuite/tests/th/T12513.stderr index 26a2dbb1da47..efafd3318120 100644 --- a/testsuite/tests/th/T12513.stderr +++ b/testsuite/tests/th/T12513.stderr @@ -1,10 +1,10 @@ -T12513.hs:9:7: error: +T12513.hs:9:7: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘(# Int #)’ • In the expression: x In an equation for ‘f’: f x = x -T12513.hs:12:7: error: +T12513.hs:12:7: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘(# Int #)’ • In the expression: x In an equation for ‘g’: g x = x diff --git a/testsuite/tests/th/T12788.stderr b/testsuite/tests/th/T12788.stderr index 485b2005f9db..28ab1a4974b1 100644 --- a/testsuite/tests/th/T12788.stderr +++ b/testsuite/tests/th/T12788.stderr @@ -1,2 +1,2 @@ -T12788.hs:9:14: error: Empty record update +T12788.hs:9:14: error: [GHC-20825] Empty record update diff --git a/testsuite/tests/th/T13837.stderr b/testsuite/tests/th/T13837.stderr index a5f1005ca849..a3e58889a379 100644 --- a/testsuite/tests/th/T13837.stderr +++ b/testsuite/tests/th/T13837.stderr @@ -1,5 +1,5 @@ -T13837.hs:9:4: error: +T13837.hs:9:4: error: [GHC-97784] • The Name ‘Fam’ is not in scope. • In the argument of reifyInstances: Fam_0 In the untyped splice: diff --git a/testsuite/tests/th/T13968.stderr b/testsuite/tests/th/T13968.stderr index 420e3c643287..95be60b0b11a 100644 --- a/testsuite/tests/th/T13968.stderr +++ b/testsuite/tests/th/T13968.stderr @@ -1,3 +1,3 @@ -T13968.hs:6:2: error: +T13968.hs:6:2: error: [GHC-40027] Cannot redefine a Name retrieved by a Template Haskell quote: succ diff --git a/testsuite/tests/th/T14627.stderr b/testsuite/tests/th/T14627.stderr index 9d9b9785f08b..373d59dee828 100644 --- a/testsuite/tests/th/T14627.stderr +++ b/testsuite/tests/th/T14627.stderr @@ -1,5 +1,5 @@ -T14627.hs:4:1: error: +T14627.hs:4:1: error: [GHC-31891] • Illegal term-level use of the type constructor or class ‘Bool’ • imported from ‘Prelude’ at T14627.hs:1:1 (and originally defined in ‘GHC.Types’) diff --git a/testsuite/tests/th/T15321.stderr b/testsuite/tests/th/T15321.stderr index 1de67decef57..2180b95e0909 100644 --- a/testsuite/tests/th/T15321.stderr +++ b/testsuite/tests/th/T15321.stderr @@ -1,5 +1,5 @@ -T15321.hs:9:9: error: +T15321.hs:9:9: error: [GHC-88464] • Found hole: _ :: String -> Language.Haskell.TH.Lib.Internal.ExpQ • In the expression: _ "baz" In the untyped splice: $(_ "baz") diff --git a/testsuite/tests/th/T15360b.stderr b/testsuite/tests/th/T15360b.stderr index f39226dda880..f3e9f3c42726 100644 --- a/testsuite/tests/th/T15360b.stderr +++ b/testsuite/tests/th/T15360b.stderr @@ -1,20 +1,21 @@ -T15360b.hs:10:13: error: +T15360b.hs:10:13: error: [GHC-83865] • Expected kind ‘* -> k3’, but ‘Type’ has kind ‘*’ • In the first argument of ‘Proxy’, namely ‘(Type Double)’ In the type signature: x :: Proxy (Type Double) -T15360b.hs:13:13: error: - • Expected kind ‘* -> k2’, but ‘1’ has kind ‘GHC.Num.Natural.Natural’ +T15360b.hs:13:13: error: [GHC-83865] + • Expected kind ‘* -> k2’, + but ‘1’ has kind ‘GHC.Num.Natural.Natural’ • In the first argument of ‘Proxy’, namely ‘(1 Int)’ In the type signature: y :: Proxy (1 Int) -T15360b.hs:16:13: error: +T15360b.hs:16:13: error: [GHC-83865] • Expected kind ‘* -> k1’, but ‘Constraint’ has kind ‘*’ • In the first argument of ‘Proxy’, namely ‘(Constraint Bool)’ In the type signature: z :: Proxy (Constraint Bool) -T15360b.hs:19:13: error: +T15360b.hs:19:13: error: [GHC-83865] • Expected kind ‘* -> k0’, but ‘'[]’ has kind ‘[a0]’ • In the first argument of ‘Proxy’, namely ‘('[] Int)’ In the type signature: w :: Proxy ('[] Int) diff --git a/testsuite/tests/th/T15433a.stderr b/testsuite/tests/th/T15433a.stderr index 13efe8c37697..5661f88dd268 100644 --- a/testsuite/tests/th/T15433a.stderr +++ b/testsuite/tests/th/T15433a.stderr @@ -1,5 +1,5 @@ -T15433a.hs:7:11: error: +T15433a.hs:7:11: error: [GHC-65507] • Wildcard ‘_’ not allowed • In the type ‘(_)’ In the type declaration for ‘T’ diff --git a/testsuite/tests/th/T16980a.stderr b/testsuite/tests/th/T16980a.stderr index 52673a87797a..9ba85cafdcf0 100644 --- a/testsuite/tests/th/T16980a.stderr +++ b/testsuite/tests/th/T16980a.stderr @@ -1,5 +1,5 @@ -T16980a.hs:10:5: error: +T16980a.hs:10:5: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Integer’ • In the expression: x In an equation for ‘y’: y = x diff --git a/testsuite/tests/th/T17380.stderr b/testsuite/tests/th/T17380.stderr index 3773c76400b4..b9e1430ff7ba 100644 --- a/testsuite/tests/th/T17380.stderr +++ b/testsuite/tests/th/T17380.stderr @@ -1,29 +1,29 @@ -T17380.hs:9:7: error: +T17380.hs:9:7: error: [GHC-83865] • Couldn't match expected type: Solo (Maybe String) with actual type: Maybe String • In the expression: Just "wat" In an equation for ‘foo’: foo = Just "wat" -T17380.hs:12:8: error: +T17380.hs:12:8: error: [GHC-83865] • Couldn't match expected type: Maybe String with actual type: Solo (Maybe String) • In the expression: Solo Just "wat" In an equation for ‘bar’: bar = (Solo Just "wat") -T17380.hs:15:6: error: +T17380.hs:15:6: error: [GHC-83865] • Couldn't match expected type: Solo (Maybe String) with actual type: Maybe String • In the pattern: Just "wat" In an equation for ‘baz’: baz (Just "wat") = Just "frerf" -T17380.hs:18:7: error: +T17380.hs:18:7: error: [GHC-83865] • Couldn't match expected type: Maybe String with actual type: Solo (Maybe String) • In the pattern: Solo(Just "wat") In an equation for ‘quux’: quux (Solo(Just "wat")) = Just "frerf" -T17380.hs:21:8: error: +T17380.hs:21:8: error: [GHC-83865] • Couldn't match type: Maybe String with: 'Solo (Maybe String) Expected: Proxy ('Solo (Maybe String)) @@ -31,7 +31,7 @@ T17380.hs:21:8: error: • In the expression: Proxy :: Proxy (Maybe String) In an equation for ‘quuz’: quuz = Proxy :: Proxy (Maybe String) -T17380.hs:24:8: error: +T17380.hs:24:8: error: [GHC-83865] • Couldn't match type: 'Solo (Maybe String) with: Maybe String Expected: Proxy (Maybe String) diff --git a/testsuite/tests/th/T17804.stderr b/testsuite/tests/th/T17804.stderr index 6a1894563591..d502dd25f84f 100644 --- a/testsuite/tests/th/T17804.stderr +++ b/testsuite/tests/th/T17804.stderr @@ -1,9 +1,9 @@ -T17804.hs:8:17: warning: [-Wimplicit-lift] +T17804.hs:8:17: warning: [GHC-00846] [-Wimplicit-lift] • The variable ‘x’ is implicitly lifted in the TH quotation • In the Template Haskell quotation [| x |] -T17804.hs:11:18: warning: [-Wimplicit-lift] +T17804.hs:11:18: warning: [GHC-00846] [-Wimplicit-lift] • The variable ‘x’ is implicitly lifted in the TH quotation • In the Template Haskell quotation [|| x ||] In the expression: [|| x ||] diff --git a/testsuite/tests/th/T18102.stderr b/testsuite/tests/th/T18102.stderr index 866e3e0777db..f8ec2715d230 100644 --- a/testsuite/tests/th/T18102.stderr +++ b/testsuite/tests/th/T18102.stderr @@ -1,5 +1,5 @@ -T18102.hs:11:22: error: +T18102.hs:11:22: error: [GHC-76037] • Not in scope: ‘ifThenElse’ • In the Template Haskell typed quotation [|| if True then 10 else 15 ||] @@ -7,7 +7,7 @@ T18102.hs:11:22: error: $$(do _stuff <- [|| if True then 10 else 15 ||] return []) -T18102.hs:11:35: error: +T18102.hs:11:35: error: [GHC-76037] • Not in scope: ‘fromInteger’ • In the Template Haskell typed quotation [|| if True then 10 else 15 ||] @@ -18,7 +18,7 @@ T18102.hs:11:35: error: Perhaps you want to add ‘fromInteger’ to the import list in the import of ‘Prelude’ (T18102.hs:5:1-50). -T18102.hs:11:43: error: +T18102.hs:11:43: error: [GHC-76037] • Not in scope: ‘fromInteger’ • In the Template Haskell typed quotation [|| if True then 10 else 15 ||] diff --git a/testsuite/tests/th/T18740c.stderr b/testsuite/tests/th/T18740c.stderr index dd718cbf33dc..23631f31c4a0 100644 --- a/testsuite/tests/th/T18740c.stderr +++ b/testsuite/tests/th/T18740c.stderr @@ -1,6 +1,6 @@ -T18740c.hs:9:1: error: +T18740c.hs:9:1: error: [GHC-31891] • Illegal term-level use of the type variable ‘a’ - bound at T18740c.hs:9:1 + • bound at T18740c.hs:9:1 • In the expression: a In an equation for ‘f’: f (Proxy :: Proxy a) = a diff --git a/testsuite/tests/th/T19709c.stderr b/testsuite/tests/th/T19709c.stderr index 37451d202312..fae9231c2443 100644 --- a/testsuite/tests/th/T19709c.stderr +++ b/testsuite/tests/th/T19709c.stderr @@ -1,5 +1,5 @@ -T19709c.hs:9:7: error: [-Wincomplete-patterns (in -Wextra), -Werror=incomplete-patterns] +T19709c.hs:9:7: error: [GHC-62161] [-Wincomplete-patterns (in -Wextra), Werror=incomplete-patterns] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘String’ not matched: diff --git a/testsuite/tests/th/T19709d.stderr b/testsuite/tests/th/T19709d.stderr index cacf6acb4825..ea19ba8f4c12 100644 --- a/testsuite/tests/th/T19709d.stderr +++ b/testsuite/tests/th/T19709d.stderr @@ -1,5 +1,5 @@ -T19709d.hs:6:2: warning: [-Wincomplete-patterns (in -Wextra)] +T19709d.hs:6:2: warning: [GHC-62161] [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘String’ not matched: diff --git a/testsuite/tests/th/T20179.stderr b/testsuite/tests/th/T20179.stderr index 28eb54d69873..2bef21b76a86 100644 --- a/testsuite/tests/th/T20179.stderr +++ b/testsuite/tests/th/T20179.stderr @@ -1,5 +1,5 @@ -T20179.hs:4:18: error: +T20179.hs:4:18: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type signature: slurmp :: [Maybe] diff --git a/testsuite/tests/th/T20884.stderr b/testsuite/tests/th/T20884.stderr index 20c1c34fd1e9..76e6a1758885 100644 --- a/testsuite/tests/th/T20884.stderr +++ b/testsuite/tests/th/T20884.stderr @@ -1,5 +1,5 @@ -T20884.hs:10:17: error: +T20884.hs:10:17: error: [GHC-31891] • The data constructor ‘:’ does not live in the type-level namespace • In the Template Haskell quotation ''(:) In the untyped splice: diff --git a/testsuite/tests/th/T2713.stderr b/testsuite/tests/th/T2713.stderr index ce9091c79cf8..ae40f1ba483c 100644 --- a/testsuite/tests/th/T2713.stderr +++ b/testsuite/tests/th/T2713.stderr @@ -1,10 +1,10 @@ -T2713.hs:11:10: error: +T2713.hs:11:10: error: [GHC-44432] The fixity signature for ‘.*.’ lacks an accompanying binding Suggested fix: Move the fixity signature to the declaration site of ‘.*.’. -T2713.hs:12:1: error: +T2713.hs:12:1: error: [GHC-44432] The type signature for ‘f’ lacks an accompanying binding Suggested fix: Move the type signature to the declaration site of ‘f’. diff --git a/testsuite/tests/th/T3177a.stderr b/testsuite/tests/th/T3177a.stderr index a9b8bed9800f..471542155f3c 100644 --- a/testsuite/tests/th/T3177a.stderr +++ b/testsuite/tests/th/T3177a.stderr @@ -1,8 +1,8 @@ -T3177a.hs:8:7: error: +T3177a.hs:8:7: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’ • In the type signature: f :: (Int Int) -T3177a.hs:11:6: error: +T3177a.hs:11:6: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’ • In the type signature: g :: Int Int diff --git a/testsuite/tests/th/T5358.stderr b/testsuite/tests/th/T5358.stderr index c6bb4c11c808..4dfd36f8c443 100644 --- a/testsuite/tests/th/T5358.stderr +++ b/testsuite/tests/th/T5358.stderr @@ -1,15 +1,15 @@ -T5358.hs:7:1: error: +T5358.hs:7:1: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘p1 -> p1’ • The equation for ‘t1’ has one value argument, but its type ‘Int’ has none -T5358.hs:8:1: error: +T5358.hs:8:1: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘p0 -> p0’ • The equation for ‘t2’ has one value argument, but its type ‘Int’ has none -T5358.hs:10:13: error: +T5358.hs:10:13: error: [GHC-83865] • Couldn't match expected type ‘t -> a0’ with actual type ‘Int’ • The function ‘t1’ is applied to one value argument, but its type ‘Int’ has none @@ -19,7 +19,7 @@ T5358.hs:10:13: error: x :: t (bound at T5358.hs:10:9) prop_x1 :: t -> Bool (bound at T5358.hs:10:1) -T5358.hs:10:21: error: +T5358.hs:10:21: error: [GHC-83865] • Couldn't match expected type ‘t -> a0’ with actual type ‘Int’ • The function ‘t2’ is applied to one value argument, but its type ‘Int’ has none diff --git a/testsuite/tests/th/T5971.stderr b/testsuite/tests/th/T5971.stderr index c06561b8532e..4dc458460596 100644 --- a/testsuite/tests/th/T5971.stderr +++ b/testsuite/tests/th/T5971.stderr @@ -1,5 +1,5 @@ -T5971.hs:6:6: error: +T5971.hs:6:6: error: [GHC-97784] • The Name ‘x’ is not in scope. • In the untyped splice: $(newName "x" >>= varE) Suggested fix: diff --git a/testsuite/tests/th/T6018th.stderr b/testsuite/tests/th/T6018th.stderr index c141bfc44aed..b5297c0d6401 100644 --- a/testsuite/tests/th/T6018th.stderr +++ b/testsuite/tests/th/T6018th.stderr @@ -1,5 +1,5 @@ -T6018th.hs:98:2: error: +T6018th.hs:98:2: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: H Int Int Int = Bool -- Defined at T6018th.hs:98:2 diff --git a/testsuite/tests/th/T7241.stderr b/testsuite/tests/th/T7241.stderr index a46daa2c2510..33fbb5806142 100644 --- a/testsuite/tests/th/T7241.stderr +++ b/testsuite/tests/th/T7241.stderr @@ -1,5 +1,5 @@ -T7241.hs:7:2: error: +T7241.hs:7:2: error: [GHC-81573] Same Name in multiple name-spaces: type constructor or class ‘Foo’, declared at: T7241.hs:7:2 data constructor ‘Foo’, declared at: T7241.hs:7:2 diff --git a/testsuite/tests/th/T7276.stderr b/testsuite/tests/th/T7276.stderr index 2b1dfb96be4e..4c73db695a6f 100644 --- a/testsuite/tests/th/T7276.stderr +++ b/testsuite/tests/th/T7276.stderr @@ -1,7 +1,7 @@ T7276.hs:6:5: error: • Exception when trying to run compile-time code: - T7276.hs:6:8: error: + T7276.hs:6:8: error: [GHC-83865] • Couldn't match type ‘[Language.Haskell.TH.Syntax.Dec]’ with ‘Language.Haskell.TH.Syntax.Exp’ Expected: Language.Haskell.TH.Lib.Internal.ExpQ diff --git a/testsuite/tests/th/T7276a.stdout b/testsuite/tests/th/T7276a.stdout index 33b418477a83..68f679144372 100644 --- a/testsuite/tests/th/T7276a.stdout +++ b/testsuite/tests/th/T7276a.stdout @@ -1,5 +1,5 @@ -<interactive>:3:9: warning: [-Wdeferred-type-errors (in -Wdefault)] +<interactive>:3:9: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘[Dec]’ with ‘Exp’ Expected: Q Exp Actual: Q Language.Haskell.TH.Lib.Internal.Decs @@ -8,7 +8,7 @@ <interactive>:1:1: error: • Exception when trying to run compile-time code: - <interactive>:3:9: error: + <interactive>:3:9: error: [GHC-83865] • Couldn't match type ‘[Dec]’ with ‘Exp’ Expected: Q Exp Actual: Q Language.Haskell.TH.Lib.Internal.Decs diff --git a/testsuite/tests/th/T8577.stderr b/testsuite/tests/th/T8577.stderr index 9c83d3c657ab..77d97f2eba6f 100644 --- a/testsuite/tests/th/T8577.stderr +++ b/testsuite/tests/th/T8577.stderr @@ -1,5 +1,5 @@ -T8577.hs:9:11: error: +T8577.hs:9:11: error: [GHC-83865] • Couldn't match type ‘Int’ with ‘Bool’ Expected: Code Q (A Bool) Actual: Code Q (A Int) diff --git a/testsuite/tests/th/T9084.stderr b/testsuite/tests/th/T9084.stderr index 722735d3067c..141115591453 100644 --- a/testsuite/tests/th/T9084.stderr +++ b/testsuite/tests/th/T9084.stderr @@ -1,3 +1,3 @@ -T9084.hs:5:2: error: +T9084.hs:5:2: error: [GHC-65904] MINIMAL pragmas not (yet) handled by Template Haskell diff --git a/testsuite/tests/th/T9209.stderr b/testsuite/tests/th/T9209.stderr index 1f4f3e78ab92..261a6bcad67c 100644 --- a/testsuite/tests/th/T9209.stderr +++ b/testsuite/tests/th/T9209.stderr @@ -1,4 +1,4 @@ -T9209.hs:5:11: +T9209.hs:5:11: error: [GHC-08451] Declaration splices are allowed only at the top level: $([d| x = 5 |]) diff --git a/testsuite/tests/th/TH_1tuple.stderr b/testsuite/tests/th/TH_1tuple.stderr index fad311b0c802..4ceeb9befe69 100644 --- a/testsuite/tests/th/TH_1tuple.stderr +++ b/testsuite/tests/th/TH_1tuple.stderr @@ -1,5 +1,5 @@ -TH_1tuple.hs:11:6: error: +TH_1tuple.hs:11:6: error: [GHC-83865] • Expecting one more argument to ‘Solo’ Expected a type, but ‘Solo’ has kind ‘* -> *’ • In an expression type signature: Solo diff --git a/testsuite/tests/th/TH_dataD1.stderr b/testsuite/tests/th/TH_dataD1.stderr index 51ae5b9d82af..c04d2d92d81f 100644 --- a/testsuite/tests/th/TH_dataD1.stderr +++ b/testsuite/tests/th/TH_dataD1.stderr @@ -1,3 +1,3 @@ -TH_dataD1.hs:7:6: +TH_dataD1.hs:7:6: error: [GHC-65904] Splices within declaration brackets not (yet) handled by Template Haskell diff --git a/testsuite/tests/th/TH_linePragma.stderr b/testsuite/tests/th/TH_linePragma.stderr index 03f35db98880..aefd003905e3 100644 --- a/testsuite/tests/th/TH_linePragma.stderr +++ b/testsuite/tests/th/TH_linePragma.stderr @@ -1,2 +1,3 @@ -virtual file:42:1: error: Variable not in scope: doesntExist +virtual file:42:1: error: [GHC-88464] + Variable not in scope: doesntExist diff --git a/testsuite/tests/th/TH_recover_warns.stderr b/testsuite/tests/th/TH_recover_warns.stderr index 24bfb76f1d69..848f1b138022 100644 --- a/testsuite/tests/th/TH_recover_warns.stderr +++ b/testsuite/tests/th/TH_recover_warns.stderr @@ -10,6 +10,6 @@ TH_recover_warns.hs:9:18: warning: [-Wunused-local-binds (in -Wextra, -Wunused-b TH_recover_warns.hs:10:34: warning: [-Wunused-local-binds (in -Wextra, -Wunused-binds)] Defined but not used: ‘x’ -TH_recover_warns.hs:10:49: warning: [-Wname-shadowing (in -Wall)] +TH_recover_warns.hs:10:49: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘x’ shadows the existing binding bound at TH_recover_warns.hs:10:34 diff --git a/testsuite/tests/th/TH_repPatSigTVar.stderr b/testsuite/tests/th/TH_repPatSigTVar.stderr index fb02dd9fb853..4f80f9eb3829 100644 --- a/testsuite/tests/th/TH_repPatSigTVar.stderr +++ b/testsuite/tests/th/TH_repPatSigTVar.stderr @@ -1,5 +1,5 @@ -TH_repPatSigTVar.hs:8:64: error: +TH_repPatSigTVar.hs:8:64: error: [GHC-76037] • Not in scope: type variable ‘c’ • In the Template Haskell quotation ''c In the untyped splice: $(sigE (varE 'undefined) (varT ''c)) diff --git a/testsuite/tests/th/overloaded/TH_overloaded_constraints_fail.stderr b/testsuite/tests/th/overloaded/TH_overloaded_constraints_fail.stderr index 1731b58b285c..902f6b37a43c 100644 --- a/testsuite/tests/th/overloaded/TH_overloaded_constraints_fail.stderr +++ b/testsuite/tests/th/overloaded/TH_overloaded_constraints_fail.stderr @@ -1,5 +1,5 @@ -TH_overloaded_constraints_fail.hs:20:14: error: +TH_overloaded_constraints_fail.hs:20:14: error: [GHC-83865] • Couldn't match type ‘Identity’ with ‘Q’ Expected: Q Exp Actual: Identity Exp diff --git a/testsuite/tests/th/overloaded/TH_overloaded_no_instance.stderr b/testsuite/tests/th/overloaded/TH_overloaded_no_instance.stderr index 7e8eab0702d4..fb78463b1e32 100644 --- a/testsuite/tests/th/overloaded/TH_overloaded_no_instance.stderr +++ b/testsuite/tests/th/overloaded/TH_overloaded_no_instance.stderr @@ -1,5 +1,5 @@ -TH_overloaded_no_instance.hs:13:10: error: +TH_overloaded_no_instance.hs:13:10: error: [GHC-39999] • No instance for ‘Quote NewType’ arising from a quotation bracket • In the expression: [| 5 |] In an equation for ‘quote2’: quote2 = [| 5 |] diff --git a/testsuite/tests/typecheck/bug1465/bug1465.stderr b/testsuite/tests/typecheck/bug1465/bug1465.stderr index e4f5b107322c..28448db00824 100644 --- a/testsuite/tests/typecheck/bug1465/bug1465.stderr +++ b/testsuite/tests/typecheck/bug1465/bug1465.stderr @@ -1,5 +1,5 @@ -C.hs:6:11: error: +C.hs:6:11: error: [GHC-83865] • Couldn't match expected type ‘bug1465-1.0:A.T’ with actual type ‘A.T’ NB: ‘bug1465-1.0:A.T’ is defined in ‘A’ in package ‘bug1465-1.0’ diff --git a/testsuite/tests/typecheck/no_skolem_info/KcConDeclSkolem.stderr b/testsuite/tests/typecheck/no_skolem_info/KcConDeclSkolem.stderr index ca5e590e729e..a7149747a82c 100644 --- a/testsuite/tests/typecheck/no_skolem_info/KcConDeclSkolem.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/KcConDeclSkolem.stderr @@ -1,5 +1,5 @@ -KcConDeclSkolem.hs:9:15: error: +KcConDeclSkolem.hs:9:15: error: [GHC-25897] • Expected kind ‘k’, but ‘a’ has kind ‘k -> k0’ • In the first argument of ‘Proxy’, namely ‘(a :: k)’ In the type ‘Proxy (a :: k)’ diff --git a/testsuite/tests/typecheck/no_skolem_info/KcConDeclSkolem2.stderr b/testsuite/tests/typecheck/no_skolem_info/KcConDeclSkolem2.stderr index b9d4d6d95f30..7931905b8a48 100644 --- a/testsuite/tests/typecheck/no_skolem_info/KcConDeclSkolem2.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/KcConDeclSkolem2.stderr @@ -1,5 +1,5 @@ -KcConDeclSkolem2.hs:8:19: error: +KcConDeclSkolem2.hs:8:19: error: [GHC-27958] • Expected kind ‘k0’, but ‘a’ has kind ‘k0 -> *’ • In the first argument of ‘a’, namely ‘a’ In the type ‘(a a)’ diff --git a/testsuite/tests/typecheck/no_skolem_info/T10946_sk.stderr b/testsuite/tests/typecheck/no_skolem_info/T10946_sk.stderr index d9ddf33946b9..025604a10222 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T10946_sk.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T10946_sk.stderr @@ -1,5 +1,5 @@ -T10946_sk.hs:6:13: error: +T10946_sk.hs:6:13: error: [GHC-88464] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/no_skolem_info/T13499.stderr b/testsuite/tests/typecheck/no_skolem_info/T13499.stderr index dbf5ba521b8a..5b1f358f54a6 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T13499.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T13499.stderr @@ -1,5 +1,5 @@ -T13499.hs:7:19: error: +T13499.hs:7:19: error: [GHC-88464] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/no_skolem_info/T14040.stderr b/testsuite/tests/typecheck/no_skolem_info/T14040.stderr index 73e01979ddb7..c0327bc9191d 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T14040.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T14040.stderr @@ -1,5 +1,5 @@ -T14040.hs:27:46: error: +T14040.hs:27:46: error: [GHC-46956] • Couldn't match kind ‘k1’ with ‘WeirdList z’ Expected kind ‘WeirdList k1’, but ‘xs’ has kind ‘WeirdList (WeirdList z)’ @@ -29,7 +29,7 @@ T14040.hs:27:46: error: -> p _ (WeirdCons x xs)) -> p _ wl -T14040.hs:28:27: error: +T14040.hs:28:27: error: [GHC-46956] • Couldn't match kind ‘k0’ with ‘z’ Expected kind ‘WeirdList k0’, but ‘WeirdCons x xs’ has kind ‘WeirdList z’ diff --git a/testsuite/tests/typecheck/no_skolem_info/T19482.stderr b/testsuite/tests/typecheck/no_skolem_info/T19482.stderr index 0c4b35f50521..2147ff2c47c6 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T19482.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T19482.stderr @@ -1,5 +1,5 @@ -T19482.hs:11:25: error: +T19482.hs:11:25: error: [GHC-25897] • Expected kind ‘[r]’, but ‘s’ has kind ‘r’ ‘r’ is a rigid type variable bound by the instance declaration diff --git a/testsuite/tests/typecheck/no_skolem_info/T19752.stderr b/testsuite/tests/typecheck/no_skolem_info/T19752.stderr index ce65be3e6264..84e8db52266c 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T19752.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T19752.stderr @@ -1,5 +1,5 @@ -T19752.hs:12:10: error: +T19752.hs:12:10: error: [GHC-25897] • Could not deduce ‘F b0 ~ a’ from the context: F b ~ a bound by the type signature for: diff --git a/testsuite/tests/typecheck/no_skolem_info/T19760.stderr b/testsuite/tests/typecheck/no_skolem_info/T19760.stderr index cb5f7e2d161d..0e5f7cc32dee 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T19760.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T19760.stderr @@ -1,5 +1,5 @@ -T19760.hs:11:41: error: +T19760.hs:11:41: error: [GHC-25897] • Couldn't match kind ‘a'’ with ‘a’ Expected kind ‘Maybe a’, but ‘m'’ has kind ‘Maybe a'’ ‘a'’ is a rigid type variable bound by diff --git a/testsuite/tests/typecheck/no_skolem_info/T20063.stderr b/testsuite/tests/typecheck/no_skolem_info/T20063.stderr index 5979d48438df..3f2e0d490bc2 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T20063.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T20063.stderr @@ -1,5 +1,5 @@ -T20063.hs:25:21: error: +T20063.hs:25:21: error: [GHC-25897] • Could not deduce ‘ctx4 ~ (ctx0 :*& l0)’ from the context: (ctx1 ~ 'Extend ctx7, ctx2 ~ 'Extend ctx8) bound by a pattern with constructor: diff --git a/testsuite/tests/typecheck/no_skolem_info/T20232.stderr b/testsuite/tests/typecheck/no_skolem_info/T20232.stderr index 047db6bd96a3..e6688cc5c729 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T20232.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T20232.stderr @@ -1,5 +1,5 @@ -T20232.hs:7:5: error: +T20232.hs:7:5: error: [GHC-25897] • Couldn't match type ‘p’ with ‘'One’ arising from multiplicity of ‘x’ ‘p’ is a rigid type variable bound by diff --git a/testsuite/tests/typecheck/no_skolem_info/T20680.stderr b/testsuite/tests/typecheck/no_skolem_info/T20680.stderr index c6a2d42bd484..ed5ed256b88e 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T20680.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T20680.stderr @@ -1,5 +1,5 @@ -T20680.hs:26:50: error: +T20680.hs:26:50: error: [GHC-25897] • Couldn't match kind ‘k’ with ‘*’ Expected kind ‘* -> *’, but ‘Rec1 f’ has kind ‘k -> *’ ‘k’ is a rigid type variable bound by diff --git a/testsuite/tests/typecheck/no_skolem_info/T20969.stderr b/testsuite/tests/typecheck/no_skolem_info/T20969.stderr index 94e74523d339..0ebf414ea284 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T20969.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T20969.stderr @@ -1,5 +1,5 @@ -T20969.hs:10:40: error: +T20969.hs:10:40: error: [GHC-39999] • No instance for ‘TH.Lift a’ arising from a use of ‘TH.liftTyped’ • In the expression: TH.liftTyped _ :: TH.Code TH.Q a In the first argument of ‘fromList’, namely @@ -7,7 +7,7 @@ T20969.hs:10:40: error: In the first argument of ‘sequenceCode’, namely ‘(fromList [TH.liftTyped _ :: TH.Code TH.Q a, [|| x ||]])’ -T20969.hs:10:53: error: +T20969.hs:10:53: error: [GHC-88464] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/no_skolem_info/T21306.stderr b/testsuite/tests/typecheck/no_skolem_info/T21306.stderr index 2845cb252ff4..22701d30c4dc 100644 --- a/testsuite/tests/typecheck/no_skolem_info/T21306.stderr +++ b/testsuite/tests/typecheck/no_skolem_info/T21306.stderr @@ -1,5 +1,5 @@ -T21306.hs:23:15: error: +T21306.hs:23:15: error: [GHC-25897] • Couldn't match type ‘xs’ with ‘xs1’ Expected: EqualLists xs xs2 Actual: EqualLists xs1 ys diff --git a/testsuite/tests/typecheck/should_compile/ExPatFail.stderr b/testsuite/tests/typecheck/should_compile/ExPatFail.stderr index e38c32b595a5..c135e4d4e114 100644 --- a/testsuite/tests/typecheck/should_compile/ExPatFail.stderr +++ b/testsuite/tests/typecheck/should_compile/ExPatFail.stderr @@ -1,5 +1,5 @@ -ExPatFail.hs:12:15: error: +ExPatFail.hs:12:15: error: [GHC-25897] • Couldn't match expected type ‘p’ with actual type ‘a’ ‘a’ is a rigid type variable bound by a pattern with constructor: diff --git a/testsuite/tests/typecheck/should_compile/PolytypeDecomp.stderr b/testsuite/tests/typecheck/should_compile/PolytypeDecomp.stderr index bdfddb70a13e..4803093bae4e 100644 --- a/testsuite/tests/typecheck/should_compile/PolytypeDecomp.stderr +++ b/testsuite/tests/typecheck/should_compile/PolytypeDecomp.stderr @@ -1,5 +1,5 @@ -PolytypeDecomp.hs:30:17: error: +PolytypeDecomp.hs:30:17: error: [GHC-91028] • Couldn't match type ‘a0’ with ‘[forall a. Maybe a]’ Expected: Id a0 Actual: [forall a. Maybe a] @@ -9,7 +9,7 @@ PolytypeDecomp.hs:30:17: error: In the first argument of ‘myLength’, namely ‘[x, f]’ In the expression: myLength [x, f] -PolytypeDecomp.hs:30:19: error: +PolytypeDecomp.hs:30:19: error: [GHC-91028] • Couldn't match type ‘a0’ with ‘[forall a. Maybe a]’ Expected: Id a0 Actual: [forall a. F [a]] diff --git a/testsuite/tests/typecheck/should_compile/T10072.stderr b/testsuite/tests/typecheck/should_compile/T10072.stderr index 994a03f9034d..2aebe247d054 100644 --- a/testsuite/tests/typecheck/should_compile/T10072.stderr +++ b/testsuite/tests/typecheck/should_compile/T10072.stderr @@ -1,5 +1,5 @@ -T10072.hs:3:31: error: +T10072.hs:3:31: error: [GHC-88464] • Found type wildcard ‘_’ standing for ‘b’ Where: ‘b’ is a rigid type variable bound by the RULE "map/empty" diff --git a/testsuite/tests/typecheck/should_compile/T10504.stderr b/testsuite/tests/typecheck/should_compile/T10504.stderr index 94596234826c..ed8b83514b6a 100644 --- a/testsuite/tests/typecheck/should_compile/T10504.stderr +++ b/testsuite/tests/typecheck/should_compile/T10504.stderr @@ -1,3 +1,3 @@ -T10504.hs:5:1: warning: +T10504.hs:5:1: warning: [GHC-35827] SPECIALISE pragma for non-overloaded function ‘myfun’ diff --git a/testsuite/tests/typecheck/should_compile/T10632.stderr b/testsuite/tests/typecheck/should_compile/T10632.stderr index 44a8fb7b6f6e..5054a17f75b8 100644 --- a/testsuite/tests/typecheck/should_compile/T10632.stderr +++ b/testsuite/tests/typecheck/should_compile/T10632.stderr @@ -1,5 +1,5 @@ -T10632.hs:4:6: warning: [-Wredundant-constraints] - • Redundant constraint: ?file1::String - • In the type signature for: - f :: (?file1::String) => IO () +T10632.hs:4:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: ?file1::String + In the type signature for: + f :: (?file1::String) => IO () diff --git a/testsuite/tests/typecheck/should_compile/T10935.stderr b/testsuite/tests/typecheck/should_compile/T10935.stderr index 8da50159102a..1b787c8ce8e2 100644 --- a/testsuite/tests/typecheck/should_compile/T10935.stderr +++ b/testsuite/tests/typecheck/should_compile/T10935.stderr @@ -1,5 +1,5 @@ -T10935.hs:5:11: warning: [-Wmonomorphism-restriction] +T10935.hs:5:11: warning: [GHC-55524] [-Wmonomorphism-restriction] • The Monomorphism Restriction applies to the binding for ‘y’ • In the expression: let y = 1 + 1 in (y, y) In an equation for ‘f’: f x = let y = 1 + 1 in (y, y) diff --git a/testsuite/tests/typecheck/should_compile/T10971a.stderr b/testsuite/tests/typecheck/should_compile/T10971a.stderr index ff06f84bffe3..b159392c75be 100644 --- a/testsuite/tests/typecheck/should_compile/T10971a.stderr +++ b/testsuite/tests/typecheck/should_compile/T10971a.stderr @@ -1,38 +1,38 @@ -T10971a.hs:7:1: warning: [-Wmissing-signatures (in -Wall)] +T10971a.hs:7:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: f :: [a] -> Int -T10971a.hs:7:11: warning: [-Wtype-defaults (in -Wall)] +T10971a.hs:7:11: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘t0’ to type ‘[]’ in the following constraint Foldable t0 arising from a use of ‘length’ • In the expression: length x In the expression: \ x -> length x In an equation for ‘f’: f = \ x -> length x -T10971a.hs:8:1: warning: [-Wmissing-signatures (in -Wall)] +T10971a.hs:8:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: g :: (a -> b) -> [a] -> [b] -T10971a.hs:8:6: warning: [-Wname-shadowing (in -Wall)] +T10971a.hs:8:6: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘f’ shadows the existing binding defined at T10971a.hs:7:1 -T10971a.hs:8:13: warning: [-Wtype-defaults (in -Wall)] +T10971a.hs:8:13: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘t0’ to type ‘[]’ in the following constraint Traversable t0 arising from a use of ‘fmapDefault’ • In the expression: fmapDefault f x In the expression: \ f x -> fmapDefault f x In an equation for ‘g’: g = \ f x -> fmapDefault f x -T10971a.hs:9:1: warning: [-Wmissing-signatures (in -Wall)] +T10971a.hs:9:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: h :: (a -> b) -> [a] -> ([b], Int) -T10971a.hs:9:6: warning: [-Wname-shadowing (in -Wall)] +T10971a.hs:9:6: warning: [GHC-63397] [-Wname-shadowing (in -Wall)] This binding for ‘f’ shadows the existing binding defined at T10971a.hs:7:1 -T10971a.hs:9:14: warning: [-Wtype-defaults (in -Wall)] +T10971a.hs:9:14: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘t0’ to type ‘[]’ in the following constraints (Traversable t0) arising from a use of ‘fmapDefault’ at T10971a.hs:9:14-24 diff --git a/testsuite/tests/typecheck/should_compile/T11254.stderr b/testsuite/tests/typecheck/should_compile/T11254.stderr index 10132d2cb81e..ab7d2addd2e4 100644 --- a/testsuite/tests/typecheck/should_compile/T11254.stderr +++ b/testsuite/tests/typecheck/should_compile/T11254.stderr @@ -1,10 +1,10 @@ -T11254.hs:16:10: warning: [-Wdeferred-type-errors (in -Wdefault)] +T11254.hs:16:10: warning: [GHC-18872] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘Frac Int’ with ‘Int’ arising from the superclasses of an instance declaration • In the instance declaration for ‘ID Rational’ -T11254.hs:18:12: warning: [-Wdeferred-type-errors (in -Wdefault)] +T11254.hs:18:12: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘GHC.Real.Ratio Integer’ with ‘Int’ Expected: Rational -> Frac Rational Actual: Rational -> Rational diff --git a/testsuite/tests/typecheck/should_compile/T11339.stderr b/testsuite/tests/typecheck/should_compile/T11339.stderr index 88250ef9a7c0..992ec0a2d156 100644 --- a/testsuite/tests/typecheck/should_compile/T11339.stderr +++ b/testsuite/tests/typecheck/should_compile/T11339.stderr @@ -1,5 +1,5 @@ -T11339.hs:15:5: error: +T11339.hs:15:5: error: [GHC-16675] • Overloaded signature conflicts with monomorphism restriction t :: forall (f :: * -> *). Applicative f => (a -> f b) -> f t • In an equation for ‘failing’: diff --git a/testsuite/tests/typecheck/should_compile/T12104.stderr b/testsuite/tests/typecheck/should_compile/T12104.stderr index 784855158be7..26901915d81f 100644 --- a/testsuite/tests/typecheck/should_compile/T12104.stderr +++ b/testsuite/tests/typecheck/should_compile/T12104.stderr @@ -1,5 +1,5 @@ -T12104.hs:11:7: warning: [-Wdeferred-type-errors (in -Wdefault)] +T12104.hs:11:7: warning: [GHC-64725] [-Wdeferred-type-errors (in -Wdefault)] • error • In the expression: () In an equation for ‘err’: err = () diff --git a/testsuite/tests/typecheck/should_compile/T12170b.stderr b/testsuite/tests/typecheck/should_compile/T12170b.stderr index 4ff0f5278f57..c431bb925567 100644 --- a/testsuite/tests/typecheck/should_compile/T12170b.stderr +++ b/testsuite/tests/typecheck/should_compile/T12170b.stderr @@ -1,3 +1,3 @@ -T12170b.hs:5:8: warning: [-Wdeferred-out-of-scope-variables (in -Wdefault)] +T12170b.hs:5:8: warning: [GHC-88464] [-Wdeferred-out-of-scope-variables (in -Wdefault)] Variable not in scope: smth :: IO () diff --git a/testsuite/tests/typecheck/should_compile/T12427a.stderr b/testsuite/tests/typecheck/should_compile/T12427a.stderr index af229a725da7..b3d6df76be6b 100644 --- a/testsuite/tests/typecheck/should_compile/T12427a.stderr +++ b/testsuite/tests/typecheck/should_compile/T12427a.stderr @@ -1,5 +1,5 @@ -T12427a.hs:17:29: error: +T12427a.hs:17:29: error: [GHC-91028] • Couldn't match expected type ‘p’ with actual type ‘(forall b. [b] -> [b]) -> Int’ Cannot equate type variable ‘p’ @@ -13,7 +13,7 @@ T12427a.hs:17:29: error: • Relevant bindings include h11 :: T -> p (bound at T12427a.hs:17:1) -T12427a.hs:28:6: error: +T12427a.hs:28:6: error: [GHC-91028] • Couldn't match expected type ‘p’ with actual type ‘(forall b. [b] -> [b]) -> Int’ Cannot equate type variable ‘p’ @@ -24,7 +24,7 @@ T12427a.hs:28:6: error: • In the pattern: T1 _ x1 In a pattern binding: T1 _ x1 = undefined -T12427a.hs:41:6: error: +T12427a.hs:41:6: error: [GHC-25897] • Couldn't match type ‘b’ with ‘[b]’ Expected: (forall b. [b] -> [b]) -> Int Actual: (forall a. a -> a) -> Int diff --git a/testsuite/tests/typecheck/should_compile/T12734a.stderr b/testsuite/tests/typecheck/should_compile/T12734a.stderr index 4b4e41b8a482..b0446dc2aa38 100644 --- a/testsuite/tests/typecheck/should_compile/T12734a.stderr +++ b/testsuite/tests/typecheck/should_compile/T12734a.stderr @@ -1,5 +1,5 @@ -T12734a.hs:72:16: error: +T12734a.hs:72:16: error: [GHC-39999] • No instance for ‘Monad (KT A '[Ty] IO)’ arising from a use of ‘test_gr’ • In the expression: diff --git a/testsuite/tests/typecheck/should_compile/T13050.stderr b/testsuite/tests/typecheck/should_compile/T13050.stderr index 92db8e2b6305..53a467977958 100644 --- a/testsuite/tests/typecheck/should_compile/T13050.stderr +++ b/testsuite/tests/typecheck/should_compile/T13050.stderr @@ -1,5 +1,5 @@ -T13050.hs:4:9: warning: [-Wtyped-holes (in -Wdefault)] +T13050.hs:4:9: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int -> Int -> Int • In the expression: _ x y In an equation for ‘f’: f x y = _ x y @@ -84,7 +84,7 @@ T13050.hs:4:9: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at T13050.hs:1:8-17 (and originally defined in ‘GHC.Base’)) -T13050.hs:5:11: warning: [-Wtyped-holes (in -Wdefault)] +T13050.hs:5:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int -> Int -> Int • In the expression: x `_` y In an equation for ‘g’: g x y = x `_` y @@ -169,7 +169,7 @@ T13050.hs:5:11: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at T13050.hs:1:8-17 (and originally defined in ‘GHC.Base’)) -T13050.hs:6:11: warning: [-Wtyped-holes (in -Wdefault)] +T13050.hs:6:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _a :: Int -> Int -> Int Or perhaps ‘_a’ is mis-spelled, or not in scope • In the expression: x `_a` y diff --git a/testsuite/tests/typecheck/should_compile/T13381.stderr b/testsuite/tests/typecheck/should_compile/T13381.stderr index 7f250eaec1c0..28e9b4d84ea9 100644 --- a/testsuite/tests/typecheck/should_compile/T13381.stderr +++ b/testsuite/tests/typecheck/should_compile/T13381.stderr @@ -1,5 +1,5 @@ -T13381.hs:21:23: error: +T13381.hs:21:23: error: [GHC-83865] • Couldn't match type ‘Exp Int’ with ‘Int’ Expected: Int -> Iter Int (Exp Char) Actual: Int -> Iter (Exp Int) (Exp Char) diff --git a/testsuite/tests/typecheck/should_compile/T13594.stderr b/testsuite/tests/typecheck/should_compile/T13594.stderr index 57810cc1e64b..58b347222ba3 100644 --- a/testsuite/tests/typecheck/should_compile/T13594.stderr +++ b/testsuite/tests/typecheck/should_compile/T13594.stderr @@ -1,3 +1,3 @@ -T13594.hs:8:1: error: +T13594.hs:8:1: error: [GHC-48099] Top-level strict bindings aren't allowed: !x = (1, 2) diff --git a/testsuite/tests/typecheck/should_compile/T13651.stderr b/testsuite/tests/typecheck/should_compile/T13651.stderr index d97e3bce4954..235d579739aa 100644 --- a/testsuite/tests/typecheck/should_compile/T13651.stderr +++ b/testsuite/tests/typecheck/should_compile/T13651.stderr @@ -1,5 +1,5 @@ -T13651.hs:12:8: error: +T13651.hs:12:8: error: [GHC-25897] • Could not deduce ‘cs ~ Bar (Foo h) (Foo s)’ from the context: (F cr cu ~ Bar h (Bar r u), F cu cs ~ Bar (Foo h) (Bar u s)) diff --git a/testsuite/tests/typecheck/should_compile/T13785.stderr b/testsuite/tests/typecheck/should_compile/T13785.stderr index d831d895ce9d..07797df12a7a 100644 --- a/testsuite/tests/typecheck/should_compile/T13785.stderr +++ b/testsuite/tests/typecheck/should_compile/T13785.stderr @@ -1,5 +1,5 @@ -T13785.hs:16:5: warning: [-Wmonomorphism-restriction] +T13785.hs:16:5: warning: [GHC-55524] [-Wmonomorphism-restriction] • The Monomorphism Restriction applies to the bindings for ‘bar2’, ‘baz2’ • In an equation for ‘foo’: diff --git a/testsuite/tests/typecheck/should_compile/T14149.stderr b/testsuite/tests/typecheck/should_compile/T14149.stderr index b1a8d3720ca0..bd3003e0bcc4 100644 --- a/testsuite/tests/typecheck/should_compile/T14149.stderr +++ b/testsuite/tests/typecheck/should_compile/T14149.stderr @@ -1,5 +1,5 @@ -T14149.hs:8:5: error: +T14149.hs:8:5: error: [GHC-18872] • Couldn't match representation of type ‘Int’ with that of ‘Bool’ arising from a use of ‘coerce’ • In the expression: coerce (k :: Int) diff --git a/testsuite/tests/typecheck/should_compile/T14273.stderr b/testsuite/tests/typecheck/should_compile/T14273.stderr index 07cbffe650cb..050bb5fd2e08 100644 --- a/testsuite/tests/typecheck/should_compile/T14273.stderr +++ b/testsuite/tests/typecheck/should_compile/T14273.stderr @@ -1,5 +1,5 @@ -T14273.hs:7:27: warning: [-Wdeferred-type-errors (in -Wdefault)] +T14273.hs:7:27: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • Could not deduce ‘Show a1’ arising from a use of ‘show’ from the context: Show a bound by the type signature for: @@ -17,7 +17,7 @@ T14273.hs:7:27: warning: [-Wdeferred-type-errors (in -Wdefault)] In the expression: Just (show _a) In an equation for ‘pleaseShow’: pleaseShow True a = Just (show _a) -T14273.hs:7:32: warning: [-Wtyped-holes (in -Wdefault)] +T14273.hs:7:32: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _a :: a1 Where: ‘a1’ is an ambiguous type variable Or perhaps ‘_a’ is mis-spelled, or not in scope @@ -55,7 +55,7 @@ T14273.hs:7:32: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at T14273.hs:1:8-40 (and originally defined in ‘GHC.Float’)) -T14273.hs:13:10: warning: [-Wdeferred-type-errors (in -Wdefault)] +T14273.hs:13:10: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • Ambiguous type variable ‘a0’ arising from a use of ‘show’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -69,7 +69,7 @@ T14273.hs:13:10: warning: [-Wdeferred-type-errors (in -Wdefault)] • In the expression: show (_h ++ []) In an equation for ‘foo’: foo xs = show (_h ++ []) -T14273.hs:13:16: warning: [-Wtyped-holes (in -Wdefault)] +T14273.hs:13:16: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _h :: [a0] Where: ‘a0’ is an ambiguous type variable Or perhaps ‘_h’ is mis-spelled, or not in scope diff --git a/testsuite/tests/typecheck/should_compile/T14590.stderr b/testsuite/tests/typecheck/should_compile/T14590.stderr index 19a4d7214849..827ead2a252f 100644 --- a/testsuite/tests/typecheck/should_compile/T14590.stderr +++ b/testsuite/tests/typecheck/should_compile/T14590.stderr @@ -1,5 +1,5 @@ -T14590.hs:4:11: warning: [-Wtyped-holes (in -Wdefault)] +T14590.hs:4:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int -> Int -> Int • In the expression: x `_` In the expression: (x `_`) y @@ -86,7 +86,7 @@ T14590.hs:4:11: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at T14590.hs:1:8-13 (and originally defined in ‘GHC.Base’)) -T14590.hs:5:11: warning: [-Wtyped-holes (in -Wdefault)] +T14590.hs:5:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _a :: Int -> Int -> Int Or perhaps ‘_a’ is mis-spelled, or not in scope • In the expression: x `_a` @@ -174,7 +174,7 @@ T14590.hs:5:11: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at T14590.hs:1:8-13 (and originally defined in ‘GHC.Base’)) -T14590.hs:6:11: warning: [-Wtyped-holes (in -Wdefault)] +T14590.hs:6:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int -> Int -> Int • In the expression: (`_` x) y In an equation for ‘f3’: f3 x y = (`_` x) y @@ -260,7 +260,7 @@ T14590.hs:6:11: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at T14590.hs:1:8-13 (and originally defined in ‘GHC.Base’)) -T14590.hs:7:11: warning: [-Wtyped-holes (in -Wdefault)] +T14590.hs:7:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _a :: Int -> Int -> Int Or perhaps ‘_a’ is mis-spelled, or not in scope • In the expression: (`_a` x) y diff --git a/testsuite/tests/typecheck/should_compile/T15368.stderr b/testsuite/tests/typecheck/should_compile/T15368.stderr index 5760692c755f..314297802897 100644 --- a/testsuite/tests/typecheck/should_compile/T15368.stderr +++ b/testsuite/tests/typecheck/should_compile/T15368.stderr @@ -1,5 +1,5 @@ -T15368.hs:11:15: warning: [-Wtyped-holes (in -Wdefault)] +T15368.hs:11:15: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: (F a b, F a0 b0) Where: ‘a0’ is an ambiguous type variable ‘b0’ is an ambiguous type variable @@ -14,13 +14,13 @@ T15368.hs:11:15: warning: [-Wtyped-holes (in -Wdefault)] • Relevant bindings include trigger :: a -> b -> (F a b, F b a) (bound at T15368.hs:11:1) -T15368.hs:11:30: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15368.hs:11:30: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type: F b0 a0 with: F b a Expected: (F a0 b0, F b a) Actual: (F a0 b0, F b0 a0) - NB: ‘F’ is a non-injective type family - The type variables ‘b0’, ‘a0’ are ambiguous + NB: ‘F’ is a non-injective type family + The type variables ‘b0’, ‘a0’ are ambiguous • In the second argument of ‘transitive’, namely ‘trigger _ _’ In the expression: _ `transitive` trigger _ _ In an equation for ‘trigger’: @@ -28,7 +28,7 @@ T15368.hs:11:30: warning: [-Wdeferred-type-errors (in -Wdefault)] • Relevant bindings include trigger :: a -> b -> (F a b, F b a) (bound at T15368.hs:11:1) -T15368.hs:11:38: warning: [-Wtyped-holes (in -Wdefault)] +T15368.hs:11:38: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a0 Where: ‘a0’ is an ambiguous type variable • In the first argument of ‘trigger’, namely ‘_’ @@ -37,7 +37,7 @@ T15368.hs:11:38: warning: [-Wtyped-holes (in -Wdefault)] • Relevant bindings include trigger :: a -> b -> (F a b, F b a) (bound at T15368.hs:11:1) -T15368.hs:11:40: warning: [-Wtyped-holes (in -Wdefault)] +T15368.hs:11:40: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: b0 Where: ‘b0’ is an ambiguous type variable • In the second argument of ‘trigger’, namely ‘_’ diff --git a/testsuite/tests/typecheck/should_compile/T15370.stderr b/testsuite/tests/typecheck/should_compile/T15370.stderr index 798cfc9f8a88..f5edd68d94b1 100644 --- a/testsuite/tests/typecheck/should_compile/T15370.stderr +++ b/testsuite/tests/typecheck/should_compile/T15370.stderr @@ -1,5 +1,5 @@ -T15370.hs:14:10: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15370.hs:14:10: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘n’ with ‘j’ Expected: n :~: j Actual: n :~: n @@ -16,7 +16,7 @@ T15370.hs:14:10: warning: [-Wdeferred-type-errors (in -Wdefault)] • Relevant bindings include mkRefl :: n :~: j (bound at T15370.hs:14:1) -T15370.hs:20:13: warning: [-Wdeferred-type-errors (in -Wdefault)] +T15370.hs:20:13: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘S r’ with ‘()’ Expected: () Actual: S r @@ -27,7 +27,7 @@ T15370.hs:20:13: warning: [-Wdeferred-type-errors (in -Wdefault)] no :: S r (bound at T15370.hs:18:7) right :: S r -> () (bound at T15370.hs:18:1) -T15370.hs:20:18: warning: [-Wtyped-holes (in -Wdefault)] +T15370.hs:20:18: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: () • In the second argument of ‘(+)’, namely ‘_’ In the expression: no + _ diff --git a/testsuite/tests/typecheck/should_compile/T15839a.stderr b/testsuite/tests/typecheck/should_compile/T15839a.stderr index 75d46f4889b1..b9330044f5b2 100644 --- a/testsuite/tests/typecheck/should_compile/T15839a.stderr +++ b/testsuite/tests/typecheck/should_compile/T15839a.stderr @@ -1,7 +1,8 @@ -T15839a.hs:6:30: warning: [-Wderiving-defaults (in -Wdefault)] +T15839a.hs:6:30: warning: [GHC-20042] [-Wderiving-defaults (in -Wdefault)] • Both DeriveAnyClass and GeneralizedNewtypeDeriving are enabled Defaulting to the DeriveAnyClass strategy for instantiating C • In the newtype declaration for ‘T’ Suggested fix: - Use DerivingStrategies to pick a different strategy + Use DerivingStrategies + to pick a different strategy diff --git a/testsuite/tests/typecheck/should_compile/T17024.stderr b/testsuite/tests/typecheck/should_compile/T17024.stderr index c3d18ffd871f..f7d1672553c6 100644 --- a/testsuite/tests/typecheck/should_compile/T17024.stderr +++ b/testsuite/tests/typecheck/should_compile/T17024.stderr @@ -1,5 +1,5 @@ -T17024.hs:18:42: warning: [-Wpartial-type-signatures (in -Wdefault)] +T17024.hs:18:42: warning: [GHC-88464] [-Wpartial-type-signatures (in -Wdefault)] • Found type wildcard ‘_’ standing for ‘c’ Where: ‘c’ is a rigid type variable bound by the inferred type of foo :: (a -> b -> c) -> HList '[a, b] -> c diff --git a/testsuite/tests/typecheck/should_compile/T17775-viewpats-b.stderr b/testsuite/tests/typecheck/should_compile/T17775-viewpats-b.stderr index c8cf911e3a51..2bbdcdead5d5 100644 --- a/testsuite/tests/typecheck/should_compile/T17775-viewpats-b.stderr +++ b/testsuite/tests/typecheck/should_compile/T17775-viewpats-b.stderr @@ -1,5 +1,5 @@ -T17775-viewpats-b.hs:7:9: error: +T17775-viewpats-b.hs:7:9: error: [GHC-39999] • No instance for ‘Eq a’ arising from a use of ‘==’ Possible fix: add (Eq a) to the context of diff --git a/testsuite/tests/typecheck/should_compile/T17775-viewpats-c.stderr b/testsuite/tests/typecheck/should_compile/T17775-viewpats-c.stderr index a0456c5a700a..72252092e9d8 100644 --- a/testsuite/tests/typecheck/should_compile/T17775-viewpats-c.stderr +++ b/testsuite/tests/typecheck/should_compile/T17775-viewpats-c.stderr @@ -1,5 +1,5 @@ -T17775-viewpats-c.hs:8:28: error: +T17775-viewpats-c.hs:8:28: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Eq a => Bool’ Expected: Int -> Eq a => Bool Actual: Int -> Bool diff --git a/testsuite/tests/typecheck/should_compile/T17775-viewpats-d.stderr b/testsuite/tests/typecheck/should_compile/T17775-viewpats-d.stderr index e270cecc25aa..4ff33ba30cab 100644 --- a/testsuite/tests/typecheck/should_compile/T17775-viewpats-d.stderr +++ b/testsuite/tests/typecheck/should_compile/T17775-viewpats-d.stderr @@ -1,5 +1,5 @@ -T17775-viewpats-d.hs:7:11: error: +T17775-viewpats-d.hs:7:11: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Eq a => Bool’ Expected: Int -> Eq a => Bool Actual: Int -> Bool diff --git a/testsuite/tests/typecheck/should_compile/T17792.stderr b/testsuite/tests/typecheck/should_compile/T17792.stderr index 2c499f91b9a5..0dedb6e40b41 100644 --- a/testsuite/tests/typecheck/should_compile/T17792.stderr +++ b/testsuite/tests/typecheck/should_compile/T17792.stderr @@ -1,3 +1,3 @@ -T17792.hs:10:7: warning: [-Wdeferred-out-of-scope-variables (in -Wdefault)] +T17792.hs:10:7: warning: [GHC-88464] [-Wdeferred-out-of-scope-variables (in -Wdefault)] Variable not in scope: notInScope :: Bool diff --git a/testsuite/tests/typecheck/should_compile/T17812.stderr b/testsuite/tests/typecheck/should_compile/T17812.stderr index 83e812e5892a..1630f5619eb6 100644 --- a/testsuite/tests/typecheck/should_compile/T17812.stderr +++ b/testsuite/tests/typecheck/should_compile/T17812.stderr @@ -1,3 +1,3 @@ -T17812.hs:8:9: warning: [-Wdeferred-out-of-scope-variables (in -Wdefault)] +T17812.hs:8:9: warning: [GHC-88464] [-Wdeferred-out-of-scope-variables (in -Wdefault)] Variable not in scope: outOfScope diff --git a/testsuite/tests/typecheck/should_compile/T18036a.stderr b/testsuite/tests/typecheck/should_compile/T18036a.stderr index b379bd95a5e5..5cea726a8719 100644 --- a/testsuite/tests/typecheck/should_compile/T18036a.stderr +++ b/testsuite/tests/typecheck/should_compile/T18036a.stderr @@ -1,6 +1,6 @@ -T18036a.hs:14:13: warning: [-Wredundant-constraints] +T18036a.hs:14:13: warning: [GHC-30606] [-Wredundant-constraints] • Redundant constraint: Monoid a - • In the type signature for: + In the type signature for: fold :: forall a. Monoid a => Identity a -> a - In the instance declaration for ‘Fold Identity’ + • In the instance declaration for ‘Fold Identity’ diff --git a/testsuite/tests/typecheck/should_compile/T18467.stderr b/testsuite/tests/typecheck/should_compile/T18467.stderr index 7ebf51de6f51..cd1d38801f65 100644 --- a/testsuite/tests/typecheck/should_compile/T18467.stderr +++ b/testsuite/tests/typecheck/should_compile/T18467.stderr @@ -1,10 +1,10 @@ -T18467.hs:9:7: warning: [-Wdeferred-type-errors (in -Wdefault)] +T18467.hs:9:7: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘Int’ with actual type ‘Float’ • In the expression: x :: Int In an equation for ‘g’: g z = x :: Int -T18467.hs:12:29: warning: [-Wdeferred-type-errors (in -Wdefault)] +T18467.hs:12:29: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match expected type ‘[a1]’ with actual type ‘a1’ ‘a1’ is a rigid type variable bound by the inferred type of t :: a1 -> (a, [a1]) diff --git a/testsuite/tests/typecheck/should_compile/T20187a.stderr b/testsuite/tests/typecheck/should_compile/T20187a.stderr index 7fcde058091f..88085f53ac7e 100644 --- a/testsuite/tests/typecheck/should_compile/T20187a.stderr +++ b/testsuite/tests/typecheck/should_compile/T20187a.stderr @@ -1,5 +1,5 @@ -T20187a.hs:7:10: warning: [-Wredundant-strictness-flags] +T20187a.hs:7:10: warning: [GHC-55666] [-Wredundant-strictness-flags] • Strictness flag has no effect on unlifted type ‘Int#’ • In the definition of data constructor ‘T’ In the data type declaration for ‘T’ diff --git a/testsuite/tests/typecheck/should_compile/T20187b.stderr b/testsuite/tests/typecheck/should_compile/T20187b.stderr index 2f0d5c601b71..c42101c3374a 100644 --- a/testsuite/tests/typecheck/should_compile/T20187b.stderr +++ b/testsuite/tests/typecheck/should_compile/T20187b.stderr @@ -1,5 +1,5 @@ -T20187b.hs:11:10: warning: [-Wredundant-strictness-flags] +T20187b.hs:11:10: warning: [GHC-55666] [-Wredundant-strictness-flags] • Strictness flag has no effect on unlifted type ‘IntU’ • In the definition of data constructor ‘T’ In the data type declaration for ‘T’ diff --git a/testsuite/tests/typecheck/should_compile/T20602.stderr b/testsuite/tests/typecheck/should_compile/T20602.stderr index 5dacc5be5abe..c3c02c154a56 100644 --- a/testsuite/tests/typecheck/should_compile/T20602.stderr +++ b/testsuite/tests/typecheck/should_compile/T20602.stderr @@ -1,40 +1,40 @@ -T20602.hs:7:6: warning: [-Wredundant-constraints] - • Redundant constraint: Ord a - • In the type signature for: - f :: forall a. (Eq a, Ord a) => a -> Bool - -T20602.hs:10:6: warning: [-Wredundant-constraints] - • Redundant constraint: Eq a - • In the type signature for: - g :: forall a. (Eq a, Ord a) => a -> Bool - -T20602.hs:13:6: warning: [-Wredundant-constraints] - • Redundant constraint: Eq a - • In the type signature for: - h :: forall a. (Eq a, Ord a) => a -> Bool - -T20602.hs:16:6: warning: [-Wredundant-constraints] - • Redundant constraint: Eq b - • In the type signature for: - j :: forall a b. (Eq a, a ~ b, Eq b) => a -> Bool - -T20602.hs:19:6: warning: [-Wredundant-constraints] - • Redundant constraints: (Eq a, a ~ b, Eq b) - • In the type signature for: - k :: forall a b. (Eq a, a ~ b, Eq b) => a -> Bool - -T20602.hs:22:6: warning: [-Wredundant-constraints] - • Redundant constraints: (Eq a, Ord a) - • In the type signature for: - l :: forall a. (Eq a, Ord a) => a -> Bool - -T20602.hs:25:6: warning: [-Wredundant-constraints] - • Redundant constraint: a ~ b - • In the type signature for: - m :: forall a b. (a ~ b) => a -> a - -T20602.hs:28:6: warning: [-Wredundant-constraints] - • Redundant constraint: b ~ a - • In the type signature for: - n :: forall a b. (Eq a, b ~ a) => a -> Bool +T20602.hs:7:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: Ord a + In the type signature for: + f :: forall a. (Eq a, Ord a) => a -> Bool + +T20602.hs:10:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: Eq a + In the type signature for: + g :: forall a. (Eq a, Ord a) => a -> Bool + +T20602.hs:13:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: Eq a + In the type signature for: + h :: forall a. (Eq a, Ord a) => a -> Bool + +T20602.hs:16:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: Eq b + In the type signature for: + j :: forall a b. (Eq a, a ~ b, Eq b) => a -> Bool + +T20602.hs:19:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraints: (Eq a, a ~ b, Eq b) + In the type signature for: + k :: forall a b. (Eq a, a ~ b, Eq b) => a -> Bool + +T20602.hs:22:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraints: (Eq a, Ord a) + In the type signature for: + l :: forall a. (Eq a, Ord a) => a -> Bool + +T20602.hs:25:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: a ~ b + In the type signature for: + m :: forall a b. (a ~ b) => a -> a + +T20602.hs:28:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: b ~ a + In the type signature for: + n :: forall a b. (Eq a, b ~ a) => a -> Bool diff --git a/testsuite/tests/typecheck/should_compile/T21315.stderr b/testsuite/tests/typecheck/should_compile/T21315.stderr index ad718569ecff..3a85c44d9fe6 100644 --- a/testsuite/tests/typecheck/should_compile/T21315.stderr +++ b/testsuite/tests/typecheck/should_compile/T21315.stderr @@ -1,4 +1,4 @@ -T21315.hs:6:10: warning: [-Wredundant-constraints] +T21315.hs:6:10: warning: [GHC-30606] [-Wredundant-constraints] • Redundant constraint: Eq a • In the instance declaration for ‘C (T a)’ diff --git a/testsuite/tests/typecheck/should_compile/T21951a.stderr b/testsuite/tests/typecheck/should_compile/T21951a.stderr index d6afb5465e25..d10a8932ce26 100644 --- a/testsuite/tests/typecheck/should_compile/T21951a.stderr +++ b/testsuite/tests/typecheck/should_compile/T21951a.stderr @@ -1,4 +1,5 @@ -T21951a.hs:10:11: warning: [-Wredundant-strictness-flags] - Lazy flag has no effect on unlifted type ‘Array# Int’ - In the definition of data constructor ‘UA’ + +T21951a.hs:10:11: warning: [GHC-71444] [-Wredundant-strictness-flags] + • Lazy flag has no effect on unlifted type ‘Array# Int’ + • In the definition of data constructor ‘UA’ In the data type declaration for ‘UA’ diff --git a/testsuite/tests/typecheck/should_compile/T21951b.stderr b/testsuite/tests/typecheck/should_compile/T21951b.stderr index f26dbe8ce27c..fa82c97823c9 100644 --- a/testsuite/tests/typecheck/should_compile/T21951b.stderr +++ b/testsuite/tests/typecheck/should_compile/T21951b.stderr @@ -1,4 +1,5 @@ -T21951b.hs:13:10: warning: [-Wredundant-strictness-flags] - Lazy flag has no effect on unlifted type ‘U’ - In the definition of data constructor ‘T’ + +T21951b.hs:13:10: warning: [GHC-71444] [-Wredundant-strictness-flags] + • Lazy flag has no effect on unlifted type ‘U’ + • In the definition of data constructor ‘T’ In the data type declaration for ‘T’ diff --git a/testsuite/tests/typecheck/should_compile/T2494.stderr b/testsuite/tests/typecheck/should_compile/T2494.stderr index d7c96aeeaab6..931cd5874f87 100644 --- a/testsuite/tests/typecheck/should_compile/T2494.stderr +++ b/testsuite/tests/typecheck/should_compile/T2494.stderr @@ -1,5 +1,5 @@ -T2494.hs:15:14: error: +T2494.hs:15:14: error: [GHC-25897] • Couldn't match type ‘b’ with ‘a’ Expected: Maybe (m a) -> Maybe (m a) Actual: Maybe (m b) -> Maybe (m b) @@ -19,7 +19,7 @@ T2494.hs:15:14: error: (bound at T2494.hs:14:11) x :: Maybe a (bound at T2494.hs:14:65) -T2494.hs:15:30: error: +T2494.hs:15:30: error: [GHC-25897] • Couldn't match type ‘b’ with ‘a’ Expected: Maybe (m a) -> Maybe (m a) Actual: Maybe (m b) -> Maybe (m b) diff --git a/testsuite/tests/typecheck/should_compile/T3696.stderr b/testsuite/tests/typecheck/should_compile/T3696.stderr index 6058e70d5099..25abdd58b198 100644 --- a/testsuite/tests/typecheck/should_compile/T3696.stderr +++ b/testsuite/tests/typecheck/should_compile/T3696.stderr @@ -1,3 +1,3 @@ -T3696.hs:9:1: warning: [-Wmissing-signatures (in -Wall)] +T3696.hs:9:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: def :: Int diff --git a/testsuite/tests/typecheck/should_compile/T4912.stderr b/testsuite/tests/typecheck/should_compile/T4912.stderr index 891ca527d814..243d3ff2e636 100644 --- a/testsuite/tests/typecheck/should_compile/T4912.stderr +++ b/testsuite/tests/typecheck/should_compile/T4912.stderr @@ -1,12 +1,12 @@ -T4912.hs:10:1: warning: [-Worphans (in -Wall)] +T4912.hs:10:1: warning: [GHC-90177] [-Worphans (in -Wall)] Orphan instance: instance Foo TheirData Suggested fix: - Move the instance declaration to the module of the class or of the type, or - wrap the type with a newtype and declare the instance on the new type. + Move the instance declaration to the module of the class or of the type, or + wrap the type with a newtype and declare the instance on the new type. -T4912.hs:13:1: warning: [-Worphans (in -Wall)] +T4912.hs:13:1: warning: [GHC-90177] [-Worphans (in -Wall)] Orphan instance: instance Bar OurData Suggested fix: - Move the instance declaration to the module of the class or of the type, or - wrap the type with a newtype and declare the instance on the new type. + Move the instance declaration to the module of the class or of the type, or + wrap the type with a newtype and declare the instance on the new type. diff --git a/testsuite/tests/typecheck/should_compile/T5481.stderr b/testsuite/tests/typecheck/should_compile/T5481.stderr index 719c4ce5c71b..01b65a9e791b 100644 --- a/testsuite/tests/typecheck/should_compile/T5481.stderr +++ b/testsuite/tests/typecheck/should_compile/T5481.stderr @@ -1,4 +1,4 @@ -T5481.hs:6:16: Not in scope: type variable ‘b’ +T5481.hs:6:16: error: [GHC-76037] Not in scope: type variable ‘b’ -T5481.hs:8:16: Not in scope: type variable ‘a’ +T5481.hs:8:16: error: [GHC-76037] Not in scope: type variable ‘a’ diff --git a/testsuite/tests/typecheck/should_compile/T5490.stderr b/testsuite/tests/typecheck/should_compile/T5490.stderr index bd54d9df941d..12d568549500 100644 --- a/testsuite/tests/typecheck/should_compile/T5490.stderr +++ b/testsuite/tests/typecheck/should_compile/T5490.stderr @@ -1,4 +1,4 @@ -T5490.hs:296:5: warning: [-Woverlapping-patterns (in -Wdefault)] +T5490.hs:296:5: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: _ -> ... diff --git a/testsuite/tests/typecheck/should_compile/T9497a.stderr b/testsuite/tests/typecheck/should_compile/T9497a.stderr index 114a7046caac..adb6f4cc56b7 100644 --- a/testsuite/tests/typecheck/should_compile/T9497a.stderr +++ b/testsuite/tests/typecheck/should_compile/T9497a.stderr @@ -1,5 +1,5 @@ -T9497a.hs:2:8: warning: [-Wtyped-holes (in -Wdefault)] +T9497a.hs:2:8: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _main :: IO () Or perhaps ‘_main’ is mis-spelled, or not in scope • In an equation for ‘main’: main = _main diff --git a/testsuite/tests/typecheck/should_compile/T9569a.stderr b/testsuite/tests/typecheck/should_compile/T9569a.stderr index 57d44a0f2a0e..13f99c50e787 100644 --- a/testsuite/tests/typecheck/should_compile/T9569a.stderr +++ b/testsuite/tests/typecheck/should_compile/T9569a.stderr @@ -1,5 +1,5 @@ -T9569a.hs:10:6: error: +T9569a.hs:10:6: error: [GHC-83865] • Couldn't match type: Int -> Int with: forall a. a -> a Expected: (forall a. a -> a) -> Int diff --git a/testsuite/tests/typecheck/should_compile/T9834.stderr b/testsuite/tests/typecheck/should_compile/T9834.stderr index 6ad8956ecc58..a73dfff4f107 100644 --- a/testsuite/tests/typecheck/should_compile/T9834.stderr +++ b/testsuite/tests/typecheck/should_compile/T9834.stderr @@ -1,5 +1,5 @@ -T9834.hs:23:12: warning: [-Wdeferred-type-errors (in -Wdefault)] +T9834.hs:23:12: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘a’ with ‘p a0’ Expected: p a Actual: p a0 -> p a0 @@ -22,7 +22,7 @@ T9834.hs:23:12: warning: [-Wdeferred-type-errors (in -Wdefault)] -> p a (bound at T9834.hs:23:3) -T9834.hs:23:23: warning: [-Wdeferred-type-errors (in -Wdefault)] +T9834.hs:23:23: warning: [GHC-25897] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘a1’ with ‘a’ Expected: Comp p q a1 -> Comp p q a1 Actual: Comp p q a -> Comp p q a diff --git a/testsuite/tests/typecheck/should_compile/T9939.stderr b/testsuite/tests/typecheck/should_compile/T9939.stderr index 4d1af91a6cb7..7318283e54b6 100644 --- a/testsuite/tests/typecheck/should_compile/T9939.stderr +++ b/testsuite/tests/typecheck/should_compile/T9939.stderr @@ -1,20 +1,20 @@ -T9939.hs:6:7: warning: [-Wredundant-constraints] +T9939.hs:6:7: warning: [GHC-30606] [-Wredundant-constraints] Redundant constraint: Eq a In the type signature for: f1 :: forall a. (Eq a, Ord a) => a -> a -> Bool -T9939.hs:10:7: warning: [-Wredundant-constraints] +T9939.hs:10:7: warning: [GHC-30606] [-Wredundant-constraints] Redundant constraint: Ord a In the type signature for: f2 :: forall a. (Eq a, Ord a) => a -> a -> Bool -T9939.hs:14:7: warning: [-Wredundant-constraints] +T9939.hs:14:7: warning: [GHC-30606] [-Wredundant-constraints] Redundant constraint: Eq b In the type signature for: f3 :: forall a b. (Eq a, a ~ b, Eq b) => a -> b -> Bool -T9939.hs:21:7: warning: [-Wredundant-constraints] +T9939.hs:21:7: warning: [GHC-30606] [-Wredundant-constraints] Redundant constraint: Eq b In the type signature for: f4 :: forall a b. (Eq a, Eq b) => a -> b -> Equal a b -> Bool diff --git a/testsuite/tests/typecheck/should_compile/TypeRepCon.stderr b/testsuite/tests/typecheck/should_compile/TypeRepCon.stderr index 4bd41fcf3a9e..6a4b48a56e35 100644 --- a/testsuite/tests/typecheck/should_compile/TypeRepCon.stderr +++ b/testsuite/tests/typecheck/should_compile/TypeRepCon.stderr @@ -1,4 +1,4 @@ -TypeRepCon.hs:12:1: warning: [-Woverlapping-patterns (in -Wdefault)] +TypeRepCon.hs:12:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side - In an equation for ‘isApp’: isApp (Con _) = ... \ No newline at end of file + In an equation for ‘isApp’: isApp (Con _) = ... diff --git a/testsuite/tests/typecheck/should_compile/Vta2.stderr b/testsuite/tests/typecheck/should_compile/Vta2.stderr index 0598cc022672..6cdacb5beeb0 100644 --- a/testsuite/tests/typecheck/should_compile/Vta2.stderr +++ b/testsuite/tests/typecheck/should_compile/Vta2.stderr @@ -1,4 +1,4 @@ -Vta2.hs:14:17: warning: [-Woverlapping-patterns (in -Wdefault)] +Vta2.hs:14:17: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In a case alternative: False -> ... diff --git a/testsuite/tests/typecheck/should_compile/abstract_refinement_hole_fits.stderr b/testsuite/tests/typecheck/should_compile/abstract_refinement_hole_fits.stderr index c5030e1fba1f..d34792964a59 100644 --- a/testsuite/tests/typecheck/should_compile/abstract_refinement_hole_fits.stderr +++ b/testsuite/tests/typecheck/should_compile/abstract_refinement_hole_fits.stderr @@ -1,5 +1,5 @@ -abstract_refinement_hole_fits.hs:4:5: warning: [-Wtyped-holes (in -Wdefault)] +abstract_refinement_hole_fits.hs:4:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: [Integer] -> Integer • In an equation for ‘f’: f = _ • Relevant bindings include @@ -124,7 +124,7 @@ abstract_refinement_hole_fits.hs:4:5: warning: [-Wtyped-holes (in -Wdefault)] ($!) (_ :: t0 -> [Integer] -> Integer) (_ :: t0) where ($!) :: forall a b. (a -> b) -> a -> b -abstract_refinement_hole_fits.hs:7:5: warning: [-Wtyped-holes (in -Wdefault)] +abstract_refinement_hole_fits.hs:7:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Integer -> [Integer] -> Integer • In the expression: _ 0 In an equation for ‘g’: g = _ 0 diff --git a/testsuite/tests/typecheck/should_compile/constraint_hole_fits.stderr b/testsuite/tests/typecheck/should_compile/constraint_hole_fits.stderr index 5696a167812b..65e213a21b0c 100644 --- a/testsuite/tests/typecheck/should_compile/constraint_hole_fits.stderr +++ b/testsuite/tests/typecheck/should_compile/constraint_hole_fits.stderr @@ -1,5 +1,5 @@ -constraint_hole_fits.hs:4:5: warning: [-Wtyped-holes (in -Wdefault)] +constraint_hole_fits.hs:4:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: [a] -> a Where: ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_compile/free_monad_hole_fits.stderr b/testsuite/tests/typecheck/should_compile/free_monad_hole_fits.stderr index eee461b70882..4edd6e88cf25 100644 --- a/testsuite/tests/typecheck/should_compile/free_monad_hole_fits.stderr +++ b/testsuite/tests/typecheck/should_compile/free_monad_hole_fits.stderr @@ -1,5 +1,5 @@ -free_monad_hole_fits.hs:14:28: warning: [-Wtyped-holes (in -Wdefault)] +free_monad_hole_fits.hs:14:28: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _a :: (Free f a -> Free f b) -> f (Free f a) -> f (Free f b) Where: ‘a’, ‘b’ are rigid type variables bound by @@ -34,7 +34,7 @@ free_monad_hole_fits.hs:14:28: warning: [-Wtyped-holes (in -Wdefault)] pure (_ :: f (Free f a) -> f (Free f b)) where pure :: forall (f :: * -> *) a. Applicative f => a -> f a -free_monad_hole_fits.hs:25:31: warning: [-Wtyped-holes (in -Wdefault)] +free_monad_hole_fits.hs:25:31: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _a :: Free f a -> Free f b Where: ‘a’, ‘b’ are rigid type variables bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_compile/hole_constraints.stderr b/testsuite/tests/typecheck/should_compile/hole_constraints.stderr index 28f3ad92ba31..c707f228a3e2 100644 --- a/testsuite/tests/typecheck/should_compile/hole_constraints.stderr +++ b/testsuite/tests/typecheck/should_compile/hole_constraints.stderr @@ -1,5 +1,5 @@ -hole_constraints.hs:8:6: warning: [-Wtyped-holes (in -Wdefault)] +hole_constraints.hs:8:6: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: @@ -11,7 +11,7 @@ hole_constraints.hs:8:6: warning: [-Wtyped-holes (in -Wdefault)] Constraints include Eq a (from hole_constraints.hs:7:1-15) Valid hole fits include f1 :: a -hole_constraints.hs:12:6: warning: [-Wtyped-holes (in -Wdefault)] +hole_constraints.hs:12:6: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: @@ -27,7 +27,7 @@ hole_constraints.hs:12:6: warning: [-Wtyped-holes (in -Wdefault)] f2 :: a f1 :: forall a. Eq a => a -hole_constraints.hs:16:35: warning: [-Wtyped-holes (in -Wdefault)] +hole_constraints.hs:16:35: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: [a] Where: ‘a’ is a rigid type variable bound by the instance declaration @@ -43,7 +43,7 @@ hole_constraints.hs:16:35: warning: [-Wtyped-holes (in -Wdefault)] [] :: forall a. [a] mempty :: forall a. Monoid a => a -hole_constraints.hs:20:19: warning: [-Wtyped-holes (in -Wdefault)] +hole_constraints.hs:20:19: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: @@ -56,7 +56,7 @@ hole_constraints.hs:20:19: warning: [-Wtyped-holes (in -Wdefault)] Constraints include b ~ a (from hole_constraints.hs:20:10-13) Valid hole fits include x :: a -hole_constraints.hs:27:32: warning: [-Wtyped-holes (in -Wdefault)] +hole_constraints.hs:27:32: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: String • In a case alternative: AnyShow x -> _ In the expression: case a of AnyShow x -> _ diff --git a/testsuite/tests/typecheck/should_compile/hole_constraints_nested.stderr b/testsuite/tests/typecheck/should_compile/hole_constraints_nested.stderr index 9667fc3a899e..76fd014452d8 100644 --- a/testsuite/tests/typecheck/should_compile/hole_constraints_nested.stderr +++ b/testsuite/tests/typecheck/should_compile/hole_constraints_nested.stderr @@ -1,5 +1,5 @@ -hole_constraints_nested.hs:12:16: warning: [-Wtyped-holes (in -Wdefault)] +hole_constraints_nested.hs:12:16: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int • In a case alternative: EqOrd -> _ In the expression: case d2 of EqOrd -> _ diff --git a/testsuite/tests/typecheck/should_compile/holes.stderr b/testsuite/tests/typecheck/should_compile/holes.stderr index dd5c497db2a6..8416f0a4fc24 100644 --- a/testsuite/tests/typecheck/should_compile/holes.stderr +++ b/testsuite/tests/typecheck/should_compile/holes.stderr @@ -1,5 +1,5 @@ -holes.hs:3:5: warning: [-Wtyped-holes (in -Wdefault)] +holes.hs:3:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: p Where: ‘p’ is a rigid type variable bound by the inferred type of f :: p @@ -8,7 +8,7 @@ holes.hs:3:5: warning: [-Wtyped-holes (in -Wdefault)] • Relevant bindings include f :: p (bound at holes.hs:3:1) Valid hole fits include f :: forall {p}. p -holes.hs:6:7: warning: [-Wtyped-holes (in -Wdefault)] +holes.hs:6:7: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Char • In an equation for ‘g’: g x = _ • Relevant bindings include @@ -19,7 +19,7 @@ holes.hs:6:7: warning: [-Wtyped-holes (in -Wdefault)] maxBound :: forall a. Bounded a => a minBound :: forall a. Bounded a => a -holes.hs:8:5: warning: [-Wtyped-holes (in -Wdefault)] +holes.hs:8:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: [Char] • In the first argument of ‘(++)’, namely ‘_’ In the expression: _ ++ "a" @@ -31,7 +31,7 @@ holes.hs:8:5: warning: [-Wtyped-holes (in -Wdefault)] [] :: forall a. [a] mempty :: forall a. Monoid a => a -holes.hs:11:15: warning: [-Wtyped-holes (in -Wdefault)] +holes.hs:11:15: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: b0 Where: ‘b0’ is an ambiguous type variable • In the second argument of ‘const’, namely ‘_’ diff --git a/testsuite/tests/typecheck/should_compile/holes2.stderr b/testsuite/tests/typecheck/should_compile/holes2.stderr index 47de4c617a33..2c52711cf555 100644 --- a/testsuite/tests/typecheck/should_compile/holes2.stderr +++ b/testsuite/tests/typecheck/should_compile/holes2.stderr @@ -1,5 +1,5 @@ -holes2.hs:3:5: warning: [-Wdeferred-type-errors (in -Wdefault)] +holes2.hs:3:5: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • Ambiguous type variable ‘a0’ arising from a use of ‘show’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -8,12 +8,12 @@ holes2.hs:3:5: warning: [-Wdeferred-type-errors (in -Wdefault)] -- Defined in ‘Data.Either’ instance Show Ordering -- Defined in ‘GHC.Show’ ...plus 26 others - ...plus 71 instances involving out-of-scope types + ...plus 28 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: show _ In an equation for ‘f’: f = show _ -holes2.hs:3:10: warning: [-Wtyped-holes (in -Wdefault)] +holes2.hs:3:10: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a0 Where: ‘a0’ is an ambiguous type variable • In the first argument of ‘show’, namely ‘_’ diff --git a/testsuite/tests/typecheck/should_compile/holes3.stderr b/testsuite/tests/typecheck/should_compile/holes3.stderr index c14e9e7b5caa..8032042b9051 100644 --- a/testsuite/tests/typecheck/should_compile/holes3.stderr +++ b/testsuite/tests/typecheck/should_compile/holes3.stderr @@ -1,5 +1,5 @@ -holes3.hs:3:5: error: +holes3.hs:3:5: error: [GHC-88464] • Found hole: _ :: p Where: ‘p’ is a rigid type variable bound by the inferred type of f :: p @@ -8,7 +8,7 @@ holes3.hs:3:5: error: • Relevant bindings include f :: p (bound at holes3.hs:3:1) Valid hole fits include f :: forall {p}. p -holes3.hs:6:7: error: +holes3.hs:6:7: error: [GHC-88464] • Found hole: _gr :: Char Or perhaps ‘_gr’ is mis-spelled, or not in scope • In an equation for ‘g’: g x = _gr @@ -20,7 +20,7 @@ holes3.hs:6:7: error: maxBound :: forall a. Bounded a => a minBound :: forall a. Bounded a => a -holes3.hs:8:5: error: +holes3.hs:8:5: error: [GHC-88464] • Found hole: _aa :: [Char] Or perhaps ‘_aa’ is mis-spelled, or not in scope • In the first argument of ‘(++)’, namely ‘_aa’ @@ -33,7 +33,7 @@ holes3.hs:8:5: error: [] :: forall a. [a] mempty :: forall a. Monoid a => a -holes3.hs:11:15: error: +holes3.hs:11:15: error: [GHC-88464] • Found hole: _x :: b0 Where: ‘b0’ is an ambiguous type variable Or perhaps ‘_x’ is mis-spelled, or not in scope diff --git a/testsuite/tests/typecheck/should_compile/local_hole_fits.stderr b/testsuite/tests/typecheck/should_compile/local_hole_fits.stderr index 2cf85f3c1efd..ec684fc4fb88 100644 --- a/testsuite/tests/typecheck/should_compile/local_hole_fits.stderr +++ b/testsuite/tests/typecheck/should_compile/local_hole_fits.stderr @@ -1,5 +1,5 @@ -local_hole_fits.hs:4:15: warning: [-Wtyped-holes (in -Wdefault)] +local_hole_fits.hs:4:15: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: @@ -12,7 +12,7 @@ local_hole_fits.hs:4:15: warning: [-Wtyped-holes (in -Wdefault)] head :: [a] -> a (bound at local_hole_fits.hs:4:1) Valid hole fits include x :: a (bound at local_hole_fits.hs:4:7) -local_hole_fits.hs:8:11: warning: [-Wtyped-holes (in -Wdefault)] +local_hole_fits.hs:8:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_compile/refinement_hole_fits.stderr b/testsuite/tests/typecheck/should_compile/refinement_hole_fits.stderr index 6084e6aa0f53..adb5ed75f27e 100644 --- a/testsuite/tests/typecheck/should_compile/refinement_hole_fits.stderr +++ b/testsuite/tests/typecheck/should_compile/refinement_hole_fits.stderr @@ -1,5 +1,5 @@ -refinement_hole_fits.hs:4:5: warning: [-Wtyped-holes (in -Wdefault)] +refinement_hole_fits.hs:4:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: [Integer] -> Integer • In an equation for ‘f’: f = _ • Relevant bindings include @@ -117,7 +117,7 @@ refinement_hole_fits.hs:4:5: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at refinement_hole_fits.hs:1:8-30 (and originally defined in ‘GHC.List’)) -refinement_hole_fits.hs:7:5: warning: [-Wtyped-holes (in -Wdefault)] +refinement_hole_fits.hs:7:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Integer -> [Integer] -> Integer • In the expression: _ 0 In an equation for ‘g’: g = _ 0 @@ -219,7 +219,7 @@ refinement_hole_fits.hs:7:5: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at refinement_hole_fits.hs:1:8-30 (and originally defined in ‘GHC.List’)) -refinement_hole_fits.hs:10:7: warning: [-Wtyped-holes (in -Wdefault)] +refinement_hole_fits.hs:10:7: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a Where: ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_compile/subsumption_sort_hole_fits.stderr b/testsuite/tests/typecheck/should_compile/subsumption_sort_hole_fits.stderr index d9d577f5dd09..c1b3e3c12b83 100644 --- a/testsuite/tests/typecheck/should_compile/subsumption_sort_hole_fits.stderr +++ b/testsuite/tests/typecheck/should_compile/subsumption_sort_hole_fits.stderr @@ -1,5 +1,5 @@ -subsumption_sort_hole_fits.hs:2:5: warning: [-Wtyped-holes (in -Wdefault)] +subsumption_sort_hole_fits.hs:2:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: String -> [String] • In the expression: _ "hello, world" In an equation for ‘f’: f = _ "hello, world" diff --git a/testsuite/tests/typecheck/should_compile/tc017.stderr b/testsuite/tests/typecheck/should_compile/tc017.stderr index 7e7dfc3b40ad..51aa3a598979 100644 --- a/testsuite/tests/typecheck/should_compile/tc017.stderr +++ b/testsuite/tests/typecheck/should_compile/tc017.stderr @@ -1,4 +1,4 @@ -tc017.hs:4:5: warning: [-Woverlapping-patterns (in -Wdefault)] +tc017.hs:4:5: warning: [GHC-53633] [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘v’: v | False = ... diff --git a/testsuite/tests/typecheck/should_compile/tc141.stderr b/testsuite/tests/typecheck/should_compile/tc141.stderr index dcf7573d8ea1..6c2645e77eee 100644 --- a/testsuite/tests/typecheck/should_compile/tc141.stderr +++ b/testsuite/tests/typecheck/should_compile/tc141.stderr @@ -1,12 +1,12 @@ -tc141.hs:11:12: error: +tc141.hs:11:12: error: [GHC-46131] • You cannot bind scoped type variable ‘a’ in a pattern binding signature • In the pattern: p :: a In the pattern: (p :: a, q :: a) In a pattern binding: (p :: a, q :: a) = x -tc141.hs:11:31: error: +tc141.hs:11:31: error: [GHC-25897] • Couldn't match expected type ‘a1’ with actual type ‘b’ ‘a1’ is a rigid type variable bound by an expression type signature: @@ -24,7 +24,7 @@ tc141.hs:11:31: error: x :: (b, b) (bound at tc141.hs:11:3) f :: (b, b) -> (a, b) (bound at tc141.hs:11:1) -tc141.hs:13:13: error: +tc141.hs:13:13: error: [GHC-46131] • You cannot bind scoped type variable ‘a’ in a pattern binding signature • In the pattern: y :: a @@ -36,7 +36,7 @@ tc141.hs:13:13: error: v = b in v -tc141.hs:15:18: error: +tc141.hs:15:18: error: [GHC-25897] • Couldn't match expected type ‘a1’ with actual type ‘p2’ ‘a1’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_compile/tc214.stderr b/testsuite/tests/typecheck/should_compile/tc214.stderr index de6b340e4b42..6751f31a5ccf 100644 --- a/testsuite/tests/typecheck/should_compile/tc214.stderr +++ b/testsuite/tests/typecheck/should_compile/tc214.stderr @@ -1,9 +1,9 @@ -tc214.hs:19:1: warning: [-Woverlapping-patterns (in -Wdefault)] +tc214.hs:19:1: warning: [GHC-94210] [-Woverlapping-patterns (in -Wdefault)] Pattern match has inaccessible right hand side In an equation for ‘bar2’: bar2 (F2 _) = ... -tc214.hs:19:7: warning: [-Winaccessible-code (in -Wdefault)] +tc214.hs:19:7: warning: [GHC-40564] [-Winaccessible-code (in -Wdefault)] • Inaccessible code in a pattern with constructor: F2 :: forall a. a -> Foo2 [a], in an equation for ‘bar2’ diff --git a/testsuite/tests/typecheck/should_compile/tc231.stderr b/testsuite/tests/typecheck/should_compile/tc231.stderr index e3118409ce8b..45362b7a2e92 100644 --- a/testsuite/tests/typecheck/should_compile/tc231.stderr +++ b/testsuite/tests/typecheck/should_compile/tc231.stderr @@ -1,5 +1,5 @@ -tc231.hs:34:9: error: +tc231.hs:34:9: error: [GHC-39999] • No instance for ‘Zork s (Z [Char]) b0’ arising from a use of ‘huh’ • In the expression: huh (s b) diff --git a/testsuite/tests/typecheck/should_compile/tc243.stderr b/testsuite/tests/typecheck/should_compile/tc243.stderr index 5c5e9b20f97e..8bb776080ef5 100644 --- a/testsuite/tests/typecheck/should_compile/tc243.stderr +++ b/testsuite/tests/typecheck/should_compile/tc243.stderr @@ -1,3 +1,3 @@ -tc243.hs:10:1: warning: [-Wmissing-signatures (in -Wall)] +tc243.hs:10:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: (.+.) :: a diff --git a/testsuite/tests/typecheck/should_compile/tc254.stderr b/testsuite/tests/typecheck/should_compile/tc254.stderr index 2d2c20decb89..5f2c7a2c8083 100644 --- a/testsuite/tests/typecheck/should_compile/tc254.stderr +++ b/testsuite/tests/typecheck/should_compile/tc254.stderr @@ -1,4 +1,4 @@ -tc254.hs:8:1: warning: [-Wmissing-methods (in -Wdefault)] +tc254.hs:8:1: warning: [GHC-08585] [-Wmissing-methods (in -Wdefault)] • No explicit associated type or default declaration for ‘Typ’ • In the instance declaration for ‘Cls Int’ diff --git a/testsuite/tests/typecheck/should_compile/type_in_type_hole_fits.stderr b/testsuite/tests/typecheck/should_compile/type_in_type_hole_fits.stderr index 9f96ea3505d0..3d06a058a307 100644 --- a/testsuite/tests/typecheck/should_compile/type_in_type_hole_fits.stderr +++ b/testsuite/tests/typecheck/should_compile/type_in_type_hole_fits.stderr @@ -1,5 +1,5 @@ -type_in_type_hole_fits.hs:79:11: warning: [-Wtyped-holes (in -Wdefault)] +type_in_type_hole_fits.hs:79:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _a :: [Integer] -> Sorted (O ('NLogN 2 0)) (O N) 'True Integer Or perhaps ‘_a’ is mis-spelled, or not in scope @@ -27,7 +27,7 @@ type_in_type_hole_fits.hs:79:11: warning: [-Wtyped-holes (in -Wdefault)] with insertionSort @Integer @(O ('NLogN 2 0)) @(O N) @'True (defined at type_in_type_hole_fits.hs:65:1) -type_in_type_hole_fits.hs:82:11: warning: [-Wtyped-holes (in -Wdefault)] +type_in_type_hole_fits.hs:82:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _b :: [Integer] -> Sorted (O ('NLogN 1 1)) (O N) 'False Integer Or perhaps ‘_b’ is mis-spelled, or not in scope @@ -59,7 +59,7 @@ type_in_type_hole_fits.hs:82:11: warning: [-Wtyped-holes (in -Wdefault)] with mergeSort @Integer @(O ('NLogN 1 1)) @(O N) @'False (defined at type_in_type_hole_fits.hs:61:1) -type_in_type_hole_fits.hs:85:11: warning: [-Wtyped-holes (in -Wdefault)] +type_in_type_hole_fits.hs:85:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _c :: [Integer] -> Sorted (O ('NLogN 1 1)) (O One) 'False Integer Or perhaps ‘_c’ is mis-spelled, or not in scope diff --git a/testsuite/tests/typecheck/should_compile/valid_hole_fits.stderr b/testsuite/tests/typecheck/should_compile/valid_hole_fits.stderr index 1c105ae30c55..d8344711fe78 100644 --- a/testsuite/tests/typecheck/should_compile/valid_hole_fits.stderr +++ b/testsuite/tests/typecheck/should_compile/valid_hole_fits.stderr @@ -1,7 +1,7 @@ [1 of 2] Compiling ValidHoleFits ( ValidHoleFits.hs, ValidHoleFits.o ) [2 of 2] Compiling Foo ( valid_hole_fits.hs, valid_hole_fits.o ) -valid_hole_fits.hs:9:6: warning: [-Wdeferred-out-of-scope-variables (in -Wdefault)] +valid_hole_fits.hs:9:6: warning: [GHC-88464] [-Wdeferred-out-of-scope-variables (in -Wdefault)] Variable not in scope: putStrLn :: String -> IO () Suggested fixes: • Perhaps use one of these: @@ -11,7 +11,7 @@ valid_hole_fits.hs:9:6: warning: [-Wdeferred-out-of-scope-variables (in -Wdefaul from the explicit hiding list in the import of ‘Prelude’ (valid_hole_fits.hs:3:1-40). -valid_hole_fits.hs:17:17: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:17:17: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Int -> IO Int • In a stmt of a 'do' block: y <- _ x In the expression: @@ -39,7 +39,7 @@ valid_hole_fits.hs:17:17: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at valid_hole_fits.hs:3:1-40 (and originally defined in ‘GHC.Base’)) -valid_hole_fits.hs:21:8: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:21:8: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: [Maybe a] -> [a] Where: ‘a’ is a rigid type variable bound by the type signature for: @@ -58,7 +58,7 @@ valid_hole_fits.hs:21:8: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at valid_hole_fits.hs:3:1-40 (and originally defined in ‘GHC.Base’)) -valid_hole_fits.hs:24:9: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:24:9: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Integer -> ValidHoleFits.Moo • In an equation for ‘test2’: test2 = _ • Relevant bindings include @@ -71,7 +71,7 @@ valid_hole_fits.hs:24:9: warning: [-Wtyped-holes (in -Wdefault)] (imported qualified from ‘ValidHoleFits’ at valid_hole_fits.hs:6:1-30 (and originally defined at ValidHoleFits.hs:4:12-22)) -valid_hole_fits.hs:27:5: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:27:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: t0 -> Maybe Integer Where: ‘t0’ is an ambiguous type variable • In the expression: _ 2 @@ -92,7 +92,7 @@ valid_hole_fits.hs:27:5: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at valid_hole_fits.hs:3:1-40 (and originally defined in ‘GHC.Base’)) -valid_hole_fits.hs:30:10: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:30:10: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a1 Where: ‘a1’ is an ambiguous type variable • In the first argument of ‘show’, namely ‘_’ @@ -128,7 +128,7 @@ valid_hole_fits.hs:30:10: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at valid_hole_fits.hs:3:1-40 (and originally defined in ‘GHC.Float’)) -valid_hole_fits.hs:34:11: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:34:11: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Bool -> a0 Where: ‘a0’ is an ambiguous type variable • In the first argument of ‘show’, namely ‘(_ (_ :: Bool))’ @@ -176,7 +176,7 @@ valid_hole_fits.hs:34:11: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at valid_hole_fits.hs:3:1-40 (and originally defined in ‘GHC.Show’)) -valid_hole_fits.hs:34:14: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:34:14: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: Bool • In the first argument of ‘_’, namely ‘(_ :: Bool)’ In the first argument of ‘show’, namely ‘(_ (_ :: Bool))’ @@ -202,7 +202,7 @@ valid_hole_fits.hs:34:14: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at valid_hole_fits.hs:3:1-40 (and originally defined in ‘GHC.Enum’)) -valid_hole_fits.hs:38:10: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:38:10: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: a -> [a] -> [a] Where: ‘a’ is a rigid type variable bound by the type signature for: @@ -229,7 +229,7 @@ valid_hole_fits.hs:38:10: warning: [-Wtyped-holes (in -Wdefault)] (imported from ‘Prelude’ at valid_hole_fits.hs:3:1-40 (and originally defined in ‘GHC.Base’)) -valid_hole_fits.hs:41:8: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits.hs:41:8: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: String -> IO () • In the expression: _ "hello, world" In an equation for ‘main’: main = _ "hello, world" diff --git a/testsuite/tests/typecheck/should_compile/valid_hole_fits_interactions.stderr b/testsuite/tests/typecheck/should_compile/valid_hole_fits_interactions.stderr index 90f7943f092e..a6f557bee780 100644 --- a/testsuite/tests/typecheck/should_compile/valid_hole_fits_interactions.stderr +++ b/testsuite/tests/typecheck/should_compile/valid_hole_fits_interactions.stderr @@ -1,5 +1,5 @@ -valid_hole_fits_interactions.hs:15:5: warning: [-Wtyped-holes (in -Wdefault)] +valid_hole_fits_interactions.hs:15:5: warning: [GHC-88464] [-Wtyped-holes (in -Wdefault)] • Found hole: _ :: SBool 'True • In an equation for ‘f’: f = _ • Relevant bindings include diff --git a/testsuite/tests/typecheck/should_fail/AmbigFDs.stderr b/testsuite/tests/typecheck/should_fail/AmbigFDs.stderr index c95578268e4e..9ab5b25eaceb 100644 --- a/testsuite/tests/typecheck/should_fail/AmbigFDs.stderr +++ b/testsuite/tests/typecheck/should_fail/AmbigFDs.stderr @@ -1,5 +1,5 @@ -AmbigFDs.hs:10:8: error: +AmbigFDs.hs:10:8: error: [GHC-25897] • Couldn't match type ‘b1’ with ‘b2’ arising from a functional dependency between constraints: ‘C a b2’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr index b865437c8668..546803fcde87 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr @@ -1,3 +1,3 @@ -AssocTyDef01.hs:9:10: +AssocTyDef01.hs:9:10: error: [GHC-54721] ‘OtherType’ is not a (visible) associated type of class ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef04.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef04.stderr index 71fc77d4ed63..2e19d713bc36 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef04.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef04.stderr @@ -1,7 +1,7 @@ -AssocTyDef04.hs:6:18: - Expecting one more argument to ‘Maybe’ - Expected a type, but ‘Maybe’ has kind ‘* -> *’ - In the type ‘Maybe’ - In the default type instance declaration for ‘Typ’ - In the class declaration for ‘Cls’ +AssocTyDef04.hs:6:18: error: [GHC-83865] + • Expecting one more argument to ‘Maybe’ + Expected a type, but ‘Maybe’ has kind ‘* -> *’ + • In the type ‘Maybe’ + In the default type instance declaration for ‘Typ’ + In the class declaration for ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr index c4498ed5834c..30595d68aa1e 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr @@ -1,3 +1,3 @@ -AssocTyDef07.hs:5:10: +AssocTyDef07.hs:5:10: error: [GHC-54721] ‘Typ’ is not a (visible) associated type of class ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr index d63d36957039..1d2494243eef 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr @@ -1,3 +1,3 @@ -AssocTyDef08.hs:4:10: +AssocTyDef08.hs:4:10: error: [GHC-54721] ‘Typ’ is not a (visible) associated type of class ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef09.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef09.stderr index c6dfdeb0da02..4bcf093a88ff 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef09.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef09.stderr @@ -1,3 +1,3 @@ -AssocTyDef09.hs:8:10: +AssocTyDef09.hs:8:10: error: [GHC-54721] ‘OtherType’ is not a (visible) associated type of class ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/ClassOperator.stderr b/testsuite/tests/typecheck/should_fail/ClassOperator.stderr index 977c490b6454..539359f7a989 100644 --- a/testsuite/tests/typecheck/should_fail/ClassOperator.stderr +++ b/testsuite/tests/typecheck/should_fail/ClassOperator.stderr @@ -1,5 +1,5 @@ -ClassOperator.hs:14:3: error: +ClassOperator.hs:14:3: error: [GHC-39999] • Could not deduce ‘a ><> b0’ from the context: a ><> b bound by the type signature for: @@ -12,7 +12,7 @@ ClassOperator.hs:14:3: error: (**>) :: forall a b. (a ><> b) => a -> a -> () In the class declaration for ‘><>’ -ClassOperator.hs:14:3: error: +ClassOperator.hs:14:3: error: [GHC-39999] • Could not deduce ‘a ><> b0’ from the context: a ><> b bound by the type signature for: @@ -25,7 +25,7 @@ ClassOperator.hs:14:3: error: (**<) :: forall a b. (a ><> b) => a -> a -> () In the class declaration for ‘><>’ -ClassOperator.hs:14:3: error: +ClassOperator.hs:14:3: error: [GHC-39999] • Could not deduce ‘a ><> b0’ from the context: a ><> b bound by the type signature for: @@ -38,7 +38,7 @@ ClassOperator.hs:14:3: error: (>**) :: forall a b. (a ><> b) => a -> a -> () In the class declaration for ‘><>’ -ClassOperator.hs:14:3: error: +ClassOperator.hs:14:3: error: [GHC-39999] • Could not deduce ‘a ><> b0’ from the context: a ><> b bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/CustomTypeErrors01.stderr b/testsuite/tests/typecheck/should_fail/CustomTypeErrors01.stderr index 71e175ef41d7..a849b6fb6cf7 100644 --- a/testsuite/tests/typecheck/should_fail/CustomTypeErrors01.stderr +++ b/testsuite/tests/typecheck/should_fail/CustomTypeErrors01.stderr @@ -1,5 +1,5 @@ -CustomTypeErrors01.hs:12:11: error: +CustomTypeErrors01.hs:12:11: error: [GHC-64725] • Values of type 'MyType' cannot be compared for equality. • In the expression: x == MyType In an equation for ‘err’: err x = x == MyType diff --git a/testsuite/tests/typecheck/should_fail/CustomTypeErrors02.stderr b/testsuite/tests/typecheck/should_fail/CustomTypeErrors02.stderr index 3d551ac8f360..3c3d7b325293 100644 --- a/testsuite/tests/typecheck/should_fail/CustomTypeErrors02.stderr +++ b/testsuite/tests/typecheck/should_fail/CustomTypeErrors02.stderr @@ -1,5 +1,5 @@ -CustomTypeErrors02.hs:17:1: error: +CustomTypeErrors02.hs:17:1: error: [GHC-47403] • The type 'a0 -> a0' cannot be represented as an integer. • When checking the inferred type err :: (TypeError ...) diff --git a/testsuite/tests/typecheck/should_fail/CustomTypeErrors03.stderr b/testsuite/tests/typecheck/should_fail/CustomTypeErrors03.stderr index b1ceb26b5e67..bf0aa3850728 100644 --- a/testsuite/tests/typecheck/should_fail/CustomTypeErrors03.stderr +++ b/testsuite/tests/typecheck/should_fail/CustomTypeErrors03.stderr @@ -1,5 +1,5 @@ -CustomTypeErrors03.hs:6:6: error: - This is a type error - In the type signature: - f :: TypeError (Text "This is a type error") +CustomTypeErrors03.hs:6:6: error: [GHC-47403] + • This is a type error + • In the type signature: + f :: TypeError (Text "This is a type error") diff --git a/testsuite/tests/typecheck/should_fail/CustomTypeErrors04.stderr b/testsuite/tests/typecheck/should_fail/CustomTypeErrors04.stderr index 9bec37b907f2..1b656b3cd67c 100644 --- a/testsuite/tests/typecheck/should_fail/CustomTypeErrors04.stderr +++ b/testsuite/tests/typecheck/should_fail/CustomTypeErrors04.stderr @@ -1,5 +1,5 @@ -CustomTypeErrors04.hs:14:14: error: +CustomTypeErrors04.hs:14:14: error: [GHC-64725] • ERROR • In the expression: () In an equation for ‘testNOTOK1’: testNOTOK1 = () diff --git a/testsuite/tests/typecheck/should_fail/CustomTypeErrors05.stderr b/testsuite/tests/typecheck/should_fail/CustomTypeErrors05.stderr index 3164c860db2a..52079f265e83 100644 --- a/testsuite/tests/typecheck/should_fail/CustomTypeErrors05.stderr +++ b/testsuite/tests/typecheck/should_fail/CustomTypeErrors05.stderr @@ -1,5 +1,5 @@ -CustomTypeErrors05.hs:14:14: error: +CustomTypeErrors05.hs:14:14: error: [GHC-64725] • ERROR • In the expression: 1 In an equation for ‘testNOTOK2’: testNOTOK2 = 1 diff --git a/testsuite/tests/typecheck/should_fail/ExpandSynsFail1.stderr b/testsuite/tests/typecheck/should_fail/ExpandSynsFail1.stderr index f592741d6ff9..84f9f96dce86 100644 --- a/testsuite/tests/typecheck/should_fail/ExpandSynsFail1.stderr +++ b/testsuite/tests/typecheck/should_fail/ExpandSynsFail1.stderr @@ -1,5 +1,5 @@ -ExpandSynsFail1.hs:4:31: error: +ExpandSynsFail1.hs:4:31: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: Foo Actual: Bar diff --git a/testsuite/tests/typecheck/should_fail/ExpandSynsFail2.stderr b/testsuite/tests/typecheck/should_fail/ExpandSynsFail2.stderr index 5aae6fea458a..5898069566c9 100644 --- a/testsuite/tests/typecheck/should_fail/ExpandSynsFail2.stderr +++ b/testsuite/tests/typecheck/should_fail/ExpandSynsFail2.stderr @@ -1,5 +1,5 @@ -ExpandSynsFail2.hs:19:37: error: +ExpandSynsFail2.hs:19:37: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: ST s Foo Actual: MyBarST s diff --git a/testsuite/tests/typecheck/should_fail/ExpandSynsFail3.stderr b/testsuite/tests/typecheck/should_fail/ExpandSynsFail3.stderr index 5179c4ddc18c..e496f3064e6d 100644 --- a/testsuite/tests/typecheck/should_fail/ExpandSynsFail3.stderr +++ b/testsuite/tests/typecheck/should_fail/ExpandSynsFail3.stderr @@ -1,5 +1,5 @@ -ExpandSynsFail3.hs:21:8: error: +ExpandSynsFail3.hs:21:8: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: T (T3, T5, Int) Actual: T (T5, T3, Bool) diff --git a/testsuite/tests/typecheck/should_fail/ExpandSynsFail4.stderr b/testsuite/tests/typecheck/should_fail/ExpandSynsFail4.stderr index d11f72a75848..661103d4cecd 100644 --- a/testsuite/tests/typecheck/should_fail/ExpandSynsFail4.stderr +++ b/testsuite/tests/typecheck/should_fail/ExpandSynsFail4.stderr @@ -1,5 +1,5 @@ -ExpandSynsFail4.hs:11:22: error: +ExpandSynsFail4.hs:11:22: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: T Int Actual: T Bool diff --git a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity1.stderr b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity1.stderr index dd5b456230b3..e2721b742129 100644 --- a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity1.stderr +++ b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity1.stderr @@ -1,5 +1,5 @@ -ExplicitSpecificity1.hs:9:15: error: +ExplicitSpecificity1.hs:9:15: error: [GHC-95781] • Cannot apply expression of type ‘a0 -> a0’ to a visible type argument ‘Int’ • In the expression: foo @Int 42 diff --git a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity10.stderr b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity10.stderr index 0929129d5e15..8ebcd25fc9ec 100644 --- a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity10.stderr +++ b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity10.stderr @@ -1,5 +1,5 @@ -ExplicitSpecificity10.hs:8:10: error: +ExplicitSpecificity10.hs:8:10: error: [GHC-95781] • Cannot apply expression of type ‘a0 -> a0’ to a visible type argument ‘Bool’ • In the expression: unT t @Bool diff --git a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity2.stderr b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity2.stderr index 8c4316915764..f36b5e104ede 100644 --- a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity2.stderr +++ b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity2.stderr @@ -1,5 +1,5 @@ -ExplicitSpecificity2.hs:11:15: error: +ExplicitSpecificity2.hs:11:15: error: [GHC-95781] • Cannot apply expression of type ‘Proxy (*) -> T (*)’ to a visible type argument ‘Int’ • In the expression: C @Type @Int Proxy diff --git a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity3.stderr b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity3.stderr index 751fbefa734c..933b5f215888 100644 --- a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity3.stderr +++ b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity3.stderr @@ -1,2 +1,3 @@ -ExplicitSpecificity3.hs:5:17: error: parse error on input ‘}’ +ExplicitSpecificity3.hs:5:17: error: [GHC-58481] + parse error on input ‘}’ diff --git a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity7.stderr b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity7.stderr index 2d98e4786706..f68ac8ced147 100644 --- a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity7.stderr +++ b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity7.stderr @@ -1,5 +1,5 @@ -ExplicitSpecificity7.hs:8:12: error: +ExplicitSpecificity7.hs:8:12: error: [GHC-20967] • Cannot apply function of kind ‘Bool -> b0 -> b0’ to visible kind argument ‘Int’ • In the type ‘Foo @Bool @Int True 42’ diff --git a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity8.stderr b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity8.stderr index 09c8e93a800d..005fdde40d06 100644 --- a/testsuite/tests/typecheck/should_fail/ExplicitSpecificity8.stderr +++ b/testsuite/tests/typecheck/should_fail/ExplicitSpecificity8.stderr @@ -1,3 +1,3 @@ -ExplicitSpecificity8.hs:9:19: error: +ExplicitSpecificity8.hs:9:19: error: [GHC-57342] Inferred type variables are not allowed here diff --git a/testsuite/tests/typecheck/should_fail/FD1.stderr b/testsuite/tests/typecheck/should_fail/FD1.stderr index b0beafb4162b..e8543108355d 100644 --- a/testsuite/tests/typecheck/should_fail/FD1.stderr +++ b/testsuite/tests/typecheck/should_fail/FD1.stderr @@ -1,5 +1,5 @@ -FD1.hs:16:1: error: +FD1.hs:16:1: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘Int -> Int’ ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/FD2.stderr b/testsuite/tests/typecheck/should_fail/FD2.stderr index a5462aa94ee5..6085948ac76a 100644 --- a/testsuite/tests/typecheck/should_fail/FD2.stderr +++ b/testsuite/tests/typecheck/should_fail/FD2.stderr @@ -1,5 +1,5 @@ -FD2.hs:26:34: error: +FD2.hs:26:34: error: [GHC-25897] • Couldn't match expected type ‘e1’ with actual type ‘e’ ‘e1’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/FD3.stderr b/testsuite/tests/typecheck/should_fail/FD3.stderr index d7ac728b6cfa..38add26f44aa 100644 --- a/testsuite/tests/typecheck/should_fail/FD3.stderr +++ b/testsuite/tests/typecheck/should_fail/FD3.stderr @@ -1,5 +1,5 @@ -FD3.hs:15:15: error: +FD3.hs:15:15: error: [GHC-25897] • Couldn't match type ‘a’ with ‘(String, a)’ arising from a functional dependency between: constraint ‘MkA (String, a) a’ arising from a use of ‘mkA’ diff --git a/testsuite/tests/typecheck/should_fail/FDsFromGivens2.stderr b/testsuite/tests/typecheck/should_fail/FDsFromGivens2.stderr index 00e55ea20a17..fed3fb579757 100644 --- a/testsuite/tests/typecheck/should_fail/FDsFromGivens2.stderr +++ b/testsuite/tests/typecheck/should_fail/FDsFromGivens2.stderr @@ -1,13 +1,12 @@ -FDsFromGivens2.hs:15:15: error: +FDsFromGivens2.hs:15:15: error: [GHC-18872] • Couldn't match type ‘Char’ with ‘[a]’ arising from a functional dependency between constraints: ‘C Char [a]’ arising from a use of ‘f’ at FDsFromGivens2.hs:15:15 ‘C Char Char’ arising from a pattern with constructor: KCC :: C Char Char => () -> KCC, - in an equation for ‘bar’ - at FDsFromGivens2.hs:15:6-10 + in an equation for ‘bar’ at FDsFromGivens2.hs:15:6-10 • In the expression: f In an equation for ‘bar’: bar (KCC _) = f • Relevant bindings include diff --git a/testsuite/tests/typecheck/should_fail/FailDueToGivenOverlapping.stderr b/testsuite/tests/typecheck/should_fail/FailDueToGivenOverlapping.stderr index 57d5ceb9e818..30939861fce6 100644 --- a/testsuite/tests/typecheck/should_fail/FailDueToGivenOverlapping.stderr +++ b/testsuite/tests/typecheck/should_fail/FailDueToGivenOverlapping.stderr @@ -1,5 +1,5 @@ -FailDueToGivenOverlapping.hs:27:9: error: +FailDueToGivenOverlapping.hs:27:9: error: [GHC-43085] • Overlapping instances for E [a0] arising from a use of ‘eop’ Matching givens (or their superclasses): E [Int] diff --git a/testsuite/tests/typecheck/should_fail/FrozenErrorTests.stderr b/testsuite/tests/typecheck/should_fail/FrozenErrorTests.stderr index 6345e2ab1cf6..12714ace9e6d 100644 --- a/testsuite/tests/typecheck/should_fail/FrozenErrorTests.stderr +++ b/testsuite/tests/typecheck/should_fail/FrozenErrorTests.stderr @@ -1,5 +1,5 @@ -FrozenErrorTests.hs:26:9: error: +FrozenErrorTests.hs:26:9: error: [GHC-25897] • Couldn't match type ‘a’ with ‘[a]’ arising from a use of ‘goo1’ ‘a’ is a rigid type variable bound by the inferred type of test1 :: a @@ -9,20 +9,20 @@ FrozenErrorTests.hs:26:9: error: • Relevant bindings include test1 :: a (bound at FrozenErrorTests.hs:26:1) -FrozenErrorTests.hs:29:15: error: +FrozenErrorTests.hs:29:15: error: [GHC-18872] • Couldn't match type ‘Int’ with ‘[Int]’ arising from a use of ‘goo1’ • In the first argument of ‘goo2’, namely ‘(goo1 False undefined)’ In the expression: goo2 (goo1 False undefined) In an equation for ‘test2’: test2 = goo2 (goo1 False undefined) -FrozenErrorTests.hs:30:9: error: +FrozenErrorTests.hs:30:9: error: [GHC-18872] • Couldn't match type ‘Int’ with ‘[Int]’ arising from a use of ‘goo1’ • In the expression: goo1 False (goo2 undefined) In an equation for ‘test3’: test3 = goo1 False (goo2 undefined) -FrozenErrorTests.hs:45:15: error: +FrozenErrorTests.hs:45:15: error: [GHC-18872] • Couldn't match type: T2 c c with: M (T2 (T2 c c) c) arising from a use of ‘goo3’ @@ -32,7 +32,7 @@ FrozenErrorTests.hs:45:15: error: • Relevant bindings include test4 :: T2 (T2 c c) c (bound at FrozenErrorTests.hs:45:1) -FrozenErrorTests.hs:46:9: error: +FrozenErrorTests.hs:46:9: error: [GHC-18872] • Couldn't match type: T2 c c with: M (T2 (T2 c c) c) arising from a use of ‘goo3’ diff --git a/testsuite/tests/typecheck/should_fail/FunDepOrigin1b.stderr b/testsuite/tests/typecheck/should_fail/FunDepOrigin1b.stderr index 353bfac5079d..0ba059d50e76 100644 --- a/testsuite/tests/typecheck/should_fail/FunDepOrigin1b.stderr +++ b/testsuite/tests/typecheck/should_fail/FunDepOrigin1b.stderr @@ -1,11 +1,11 @@ -FunDepOrigin1b.hs:9:10: error: +FunDepOrigin1b.hs:9:10: error: [GHC-39999] • No instance for ‘C Bool (Maybe a0)’ arising from a use of ‘op’ • In the expression: op True Nothing In the expression: (op True Nothing, op False []) In an equation for ‘foo’: foo _ = (op True Nothing, op False []) -FunDepOrigin1b.hs:9:27: error: +FunDepOrigin1b.hs:9:27: error: [GHC-39999] • No instance for ‘C Bool [a1]’ arising from a use of ‘op’ • In the expression: op False [] In the expression: (op True Nothing, op False []) diff --git a/testsuite/tests/typecheck/should_fail/GivenForallLoop.stderr b/testsuite/tests/typecheck/should_fail/GivenForallLoop.stderr index 1cf64abc2235..ae71b40a9161 100644 --- a/testsuite/tests/typecheck/should_fail/GivenForallLoop.stderr +++ b/testsuite/tests/typecheck/should_fail/GivenForallLoop.stderr @@ -1,5 +1,5 @@ -GivenForallLoop.hs:8:11: error: +GivenForallLoop.hs:8:11: error: [GHC-25897] • Could not deduce ‘a ~ b’ from the context: a ~ (forall b1. F a b1) bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/IPFail.stderr b/testsuite/tests/typecheck/should_fail/IPFail.stderr index 9cf37c7c5fac..5ea0f1ff2835 100644 --- a/testsuite/tests/typecheck/should_fail/IPFail.stderr +++ b/testsuite/tests/typecheck/should_fail/IPFail.stderr @@ -1,5 +1,5 @@ -IPFail.hs:6:18: error: +IPFail.hs:6:18: error: [GHC-39999] • Could not deduce ‘Num Bool’ arising from the literal ‘5’ from the context: ?x::Int bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/LevPolyBounded.stderr b/testsuite/tests/typecheck/should_fail/LevPolyBounded.stderr index d5c20ed70faa..4ff98786d5b3 100644 --- a/testsuite/tests/typecheck/should_fail/LevPolyBounded.stderr +++ b/testsuite/tests/typecheck/should_fail/LevPolyBounded.stderr @@ -1,5 +1,5 @@ -LevPolyBounded.hs:11:15: error: +LevPolyBounded.hs:11:15: error: [GHC-25897] • Expected a type, but ‘a’ has kind ‘TYPE r’ ‘r’ is a rigid type variable bound by the class declaration for ‘XBounded’ @@ -7,7 +7,7 @@ LevPolyBounded.hs:11:15: error: • In the type signature: LevPolyBounded.minBound :: a In the class declaration for ‘XBounded’ -LevPolyBounded.hs:12:15: error: +LevPolyBounded.hs:12:15: error: [GHC-25897] • Expected a type, but ‘a’ has kind ‘TYPE r’ ‘r’ is a rigid type variable bound by the class declaration for ‘XBounded’ diff --git a/testsuite/tests/typecheck/should_fail/LongWayOverlapping.stderr b/testsuite/tests/typecheck/should_fail/LongWayOverlapping.stderr index 3a2620d43aa7..078b5c1b3ea2 100644 --- a/testsuite/tests/typecheck/should_fail/LongWayOverlapping.stderr +++ b/testsuite/tests/typecheck/should_fail/LongWayOverlapping.stderr @@ -1,5 +1,5 @@ -LongWayOverlapping.hs:22:11: error: +LongWayOverlapping.hs:22:11: error: [GHC-39999] • No instance for ‘EmbAsChild [Char] Char’ arising from a use of ‘emb’ • In the expression: emb 'c' diff --git a/testsuite/tests/typecheck/should_fail/MissingDefaultMethodBinding.stderr b/testsuite/tests/typecheck/should_fail/MissingDefaultMethodBinding.stderr index fe752862c189..62e7389f4fec 100644 --- a/testsuite/tests/typecheck/should_fail/MissingDefaultMethodBinding.stderr +++ b/testsuite/tests/typecheck/should_fail/MissingDefaultMethodBinding.stderr @@ -1,4 +1,4 @@ -MissingDefaultMethodBinding.hs:5:1: - Class ‘C’ has a generic-default signature without a binding ‘meth’ - In the class declaration for ‘C’ +MissingDefaultMethodBinding.hs:5:1: error: [GHC-59794] + • Class ‘C’ has a generic-default signature without a binding ‘meth’ + • In the class declaration for ‘C’ diff --git a/testsuite/tests/typecheck/should_fail/MissingExportList03.stderr b/testsuite/tests/typecheck/should_fail/MissingExportList03.stderr index 897db5366194..96ac6dd44a82 100644 --- a/testsuite/tests/typecheck/should_fail/MissingExportList03.stderr +++ b/testsuite/tests/typecheck/should_fail/MissingExportList03.stderr @@ -1,3 +1,3 @@ -MissingExportList03.hs:1:1: error: [-Wmissing-export-lists, -Werror=missing-export-lists] +MissingExportList03.hs:1:1: error: [GHC-85401] [-Wmissing-export-lists, Werror=missing-export-lists] The export item ‘module ShouldFail’ is missing an export list diff --git a/testsuite/tests/typecheck/should_fail/OrdErr.stderr b/testsuite/tests/typecheck/should_fail/OrdErr.stderr index 01dba4924a69..e9fb95e47f61 100644 --- a/testsuite/tests/typecheck/should_fail/OrdErr.stderr +++ b/testsuite/tests/typecheck/should_fail/OrdErr.stderr @@ -1,9 +1,10 @@ -OrdErr.hs:12:14: error: + +OrdErr.hs:12:14: error: [GHC-64725] • Cannot satisfy: a <= a + 1 • In the expression: proxyInEq In an equation for ‘proxyInEq1’: proxyInEq1 = proxyInEq -OrdErr.hs:16:14: error: +OrdErr.hs:16:14: error: [GHC-64725] • Cannot satisfy: 5 <= 3 • In the expression: proxyInEq In an equation for ‘proxyInEq2’: proxyInEq2 = proxyInEq diff --git a/testsuite/tests/typecheck/should_fail/SCLoop.stderr b/testsuite/tests/typecheck/should_fail/SCLoop.stderr index 11960c2b6edb..3a791561e600 100644 --- a/testsuite/tests/typecheck/should_fail/SCLoop.stderr +++ b/testsuite/tests/typecheck/should_fail/SCLoop.stderr @@ -1,5 +1,5 @@ -SCLoop.hs:22:7: error: +SCLoop.hs:22:7: error: [GHC-39999] • No instance for ‘SC ()’ arising from a use of ‘op’ • In the expression: op () ([Just True]) In an equation for ‘foo’: foo = op () ([Just True]) diff --git a/testsuite/tests/typecheck/should_fail/StrictBinds.stderr b/testsuite/tests/typecheck/should_fail/StrictBinds.stderr index 082d71176afc..f76d888d7bfa 100644 --- a/testsuite/tests/typecheck/should_fail/StrictBinds.stderr +++ b/testsuite/tests/typecheck/should_fail/StrictBinds.stderr @@ -1,5 +1,5 @@ -StrictBinds.hs:7:11: error: +StrictBinds.hs:7:11: error: [GHC-20185] Recursive bindings for unlifted types aren't allowed: x = 3# +# y y = x diff --git a/testsuite/tests/typecheck/should_fail/T10194.stderr b/testsuite/tests/typecheck/should_fail/T10194.stderr index 60374ffe16c6..89c3b9c78005 100644 --- a/testsuite/tests/typecheck/should_fail/T10194.stderr +++ b/testsuite/tests/typecheck/should_fail/T10194.stderr @@ -1,5 +1,5 @@ -T10194.hs:7:8: error: +T10194.hs:7:8: error: [GHC-91028] • Couldn't match type ‘b0’ with ‘X’ Expected: (X -> c) -> (a -> X) -> a -> c Actual: (b0 -> c) -> (a -> b0) -> a -> c diff --git a/testsuite/tests/typecheck/should_fail/T10285.stderr b/testsuite/tests/typecheck/should_fail/T10285.stderr index 647254a88253..a339dd613995 100644 --- a/testsuite/tests/typecheck/should_fail/T10285.stderr +++ b/testsuite/tests/typecheck/should_fail/T10285.stderr @@ -1,5 +1,5 @@ -T10285.hs:8:17: error: +T10285.hs:8:17: error: [GHC-10283] • Could not deduce ‘Coercible a b’ arising from a use of ‘coerce’ from the context: Coercible (N a) (N b) bound by a pattern with constructor: diff --git a/testsuite/tests/typecheck/should_fail/T10351.stderr b/testsuite/tests/typecheck/should_fail/T10351.stderr index 88b37d3432f9..d749801f338e 100644 --- a/testsuite/tests/typecheck/should_fail/T10351.stderr +++ b/testsuite/tests/typecheck/should_fail/T10351.stderr @@ -1,5 +1,5 @@ -T10351.hs:7:1: error: +T10351.hs:7:1: error: [GHC-80003] • Non type-variable argument in the constraint: C [a] • When checking the inferred type f :: forall {a}. C [a] => a -> () diff --git a/testsuite/tests/typecheck/should_fail/T10495.stderr b/testsuite/tests/typecheck/should_fail/T10495.stderr index 5067d251830b..450006b801a1 100644 --- a/testsuite/tests/typecheck/should_fail/T10495.stderr +++ b/testsuite/tests/typecheck/should_fail/T10495.stderr @@ -1,5 +1,5 @@ -T10495.hs:5:7: error: +T10495.hs:5:7: error: [GHC-10283] • Couldn't match representation of type ‘a0’ with that of ‘b0’ arising from a use of ‘coerce’ • In the expression: coerce diff --git a/testsuite/tests/typecheck/should_fail/T10534.stderr b/testsuite/tests/typecheck/should_fail/T10534.stderr index 8dea57419d51..02e9aa511d75 100644 --- a/testsuite/tests/typecheck/should_fail/T10534.stderr +++ b/testsuite/tests/typecheck/should_fail/T10534.stderr @@ -1,5 +1,5 @@ -T10534a.hs:10:9: error: +T10534a.hs:10:9: error: [GHC-10283] • Could not deduce ‘Coercible a b’ arising from a use of ‘coerce’ from the context: Coercible (DF a) (DF b) bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T10619.stderr b/testsuite/tests/typecheck/should_fail/T10619.stderr index 0274ce91c75c..19646e56a534 100644 --- a/testsuite/tests/typecheck/should_fail/T10619.stderr +++ b/testsuite/tests/typecheck/should_fail/T10619.stderr @@ -1,9 +1,9 @@ -T10619.hs:10:14: error: +T10619.hs:10:14: error: [GHC-91028] • Couldn't match type ‘p1’ with ‘forall a. a -> a’ Expected: (forall a. a -> a) -> forall b. b -> b Actual: p1 -> p1 - • Cannot instantiate unification variable ‘p1’ + Cannot instantiate unification variable ‘p1’ with a type involving polytypes: forall a. a -> a • In the expression: \ y -> y In the expression: @@ -18,11 +18,11 @@ T10619.hs:10:14: error: else \ y -> y -T10619.hs:14:15: error: +T10619.hs:14:15: error: [GHC-91028] • Couldn't match type ‘p3’ with ‘forall a. a -> a’ Expected: p3 -> p3 Actual: (forall a. a -> a) -> forall b. b -> b - • Cannot equate type variable ‘p3’ + Cannot equate type variable ‘p3’ with a type involving polytypes: forall a. a -> a ‘p3’ is a rigid type variable bound by the inferred type of bar :: p2 -> p3 -> p3 @@ -43,20 +43,20 @@ T10619.hs:14:15: error: • Relevant bindings include bar :: p2 -> p3 -> p3 (bound at T10619.hs:12:1) -T10619.hs:17:13: error: +T10619.hs:17:13: error: [GHC-91028] • Couldn't match type ‘p0’ with ‘forall a. a -> a’ Expected: (forall a. a -> a) -> forall b. b -> b Actual: p0 -> p0 - • Cannot instantiate unification variable ‘p0’ + Cannot instantiate unification variable ‘p0’ with a type involving polytypes: forall a. a -> a • In the expression: \ y -> y In an equation for ‘baz’: baz False = \ y -> y -T10619.hs:20:14: error: +T10619.hs:20:14: error: [GHC-91028] • Couldn't match type ‘p’ with ‘forall a. a -> a’ Expected: p -> p Actual: (forall a. a -> a) -> forall b. b -> b - • Cannot equate type variable ‘p’ + Cannot equate type variable ‘p’ with a type involving polytypes: forall a. a -> a ‘p’ is a rigid type variable bound by the inferred type of quux :: Bool -> p -> p diff --git a/testsuite/tests/typecheck/should_fail/T10709.stderr b/testsuite/tests/typecheck/should_fail/T10709.stderr index 543cc05a38f0..b27ed794a1a2 100644 --- a/testsuite/tests/typecheck/should_fail/T10709.stderr +++ b/testsuite/tests/typecheck/should_fail/T10709.stderr @@ -1,10 +1,10 @@ -T10709.hs:6:21: error: +T10709.hs:6:21: error: [GHC-91028] • Couldn't match type ‘a2’ with ‘(forall a4. IO a4 -> IO a4) -> IO a3’ Expected: a2 -> IO a3 Actual: ((forall a. IO a -> IO a) -> IO a3) -> IO a3 - • Cannot equate type variable ‘a2’ + Cannot equate type variable ‘a2’ with a type involving polytypes: (forall a4. IO a4 -> IO a4) -> IO a3 ‘a2’ is a rigid type variable bound by @@ -16,12 +16,12 @@ T10709.hs:6:21: error: • Relevant bindings include x1 :: a2 -> IO [a3] (bound at T10709.hs:6:1) -T10709.hs:7:22: error: +T10709.hs:7:22: error: [GHC-91028] • Couldn't match type ‘a1’ with ‘(forall a2. IO a2 -> IO a2) -> IO a’ Expected: a1 -> IO a Actual: ((forall a1. IO a1 -> IO a1) -> IO a) -> IO a - • Cannot instantiate unification variable ‘a1’ + Cannot instantiate unification variable ‘a1’ with a type involving polytypes: (forall a2. IO a2 -> IO a2) -> IO a • In the second argument of ‘(.)’, namely ‘mask’ @@ -29,12 +29,12 @@ T10709.hs:7:22: error: In an equation for ‘x2’: x2 = (replicateM 2 . mask) undefined • Relevant bindings include x2 :: IO [a] (bound at T10709.hs:7:1) -T10709.hs:8:22: error: +T10709.hs:8:22: error: [GHC-91028] • Couldn't match type ‘a0’ with ‘(forall a2. IO a2 -> IO a2) -> IO a’ Expected: a0 -> IO a Actual: ((forall a1. IO a1 -> IO a1) -> IO a) -> IO a - • Cannot instantiate unification variable ‘a0’ + Cannot instantiate unification variable ‘a0’ with a type involving polytypes: (forall a2. IO a2 -> IO a2) -> IO a • In the second argument of ‘(.)’, namely ‘mask’ diff --git a/testsuite/tests/typecheck/should_fail/T10709b.stderr b/testsuite/tests/typecheck/should_fail/T10709b.stderr index 53483efbad7e..acd824e24910 100644 --- a/testsuite/tests/typecheck/should_fail/T10709b.stderr +++ b/testsuite/tests/typecheck/should_fail/T10709b.stderr @@ -1,5 +1,5 @@ -T10709b.hs:6:22: error: +T10709b.hs:6:22: error: [GHC-91028] • Couldn't match type ‘p1’ with ‘forall a. IO a -> IO a’ Expected: (p1 -> IO ()) -> IO () Actual: ((forall a. IO a -> IO a) -> IO ()) -> IO () @@ -10,7 +10,7 @@ T10709b.hs:6:22: error: In an equation for ‘x4’: x4 = (replicateM 2 . mask) (\ _ -> return ()) -T10709b.hs:7:22: error: +T10709b.hs:7:22: error: [GHC-91028] • Couldn't match type ‘t0’ with ‘forall a1. IO a1 -> IO a1’ Expected: (t0 -> IO a) -> IO a Actual: ((forall a1. IO a1 -> IO a1) -> IO a) -> IO a @@ -21,7 +21,7 @@ T10709b.hs:7:22: error: In an equation for ‘x5’: x5 = (replicateM 2 . mask) (\ x -> undefined x) -T10709b.hs:8:22: error: +T10709b.hs:8:22: error: [GHC-91028] • Couldn't match type ‘p0’ with ‘forall a1. IO a1 -> IO a1’ Expected: (p0 -> IO a) -> IO a Actual: ((forall a1. IO a1 -> IO a1) -> IO a) -> IO a @@ -32,7 +32,7 @@ T10709b.hs:8:22: error: In an equation for ‘x6’: x6 = (replicateM 2 . mask) (id (\ _ -> undefined)) -T10709b.hs:9:22: error: +T10709b.hs:9:22: error: [GHC-91028] • Couldn't match type ‘b0’ with ‘forall a1. IO a1 -> IO a1’ Expected: (b0 -> IO a) -> IO a Actual: ((forall a1. IO a1 -> IO a1) -> IO a) -> IO a @@ -43,7 +43,7 @@ T10709b.hs:9:22: error: In an equation for ‘x7’: x7 = (replicateM 2 . mask) (const undefined) -T10709b.hs:10:22: error: +T10709b.hs:10:22: error: [GHC-91028] • Couldn't match type ‘a0’ with ‘forall a1. IO a1 -> IO a1’ Expected: (a0 -> IO a) -> IO a Actual: ((forall a1. IO a1 -> IO a1) -> IO a) -> IO a diff --git a/testsuite/tests/typecheck/should_fail/T10715b.stderr b/testsuite/tests/typecheck/should_fail/T10715b.stderr index 6eb2f698bd9e..d7d51829705d 100644 --- a/testsuite/tests/typecheck/should_fail/T10715b.stderr +++ b/testsuite/tests/typecheck/should_fail/T10715b.stderr @@ -1,5 +1,5 @@ -T10715b.hs:7:7: error: +T10715b.hs:7:7: error: [GHC-10283] • Couldn't match representation of type ‘b0’ with that of ‘[b0]’ arising from a use of ‘coerce’ • In the first argument of ‘asTypeOf’, namely ‘coerce’ diff --git a/testsuite/tests/typecheck/should_fail/T10836.stderr b/testsuite/tests/typecheck/should_fail/T10836.stderr index bcbfde76943a..0fe436ff3f0d 100644 --- a/testsuite/tests/typecheck/should_fail/T10836.stderr +++ b/testsuite/tests/typecheck/should_fail/T10836.stderr @@ -1,5 +1,5 @@ -T10836.hs:5:5: error: +T10836.hs:5:5: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: Foo Int = Int -- Defined at T10836.hs:5:5 @@ -7,7 +7,7 @@ T10836.hs:5:5: error: • In the equations for closed type family ‘Foo’ In the type family declaration for ‘Foo’ -T10836.hs:9:5: error: +T10836.hs:9:5: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: Bar Int = Int -- Defined at T10836.hs:9:5 diff --git a/testsuite/tests/typecheck/should_fail/T10971b.stderr b/testsuite/tests/typecheck/should_fail/T10971b.stderr index b527f8d07cfd..a46117f9f716 100644 --- a/testsuite/tests/typecheck/should_fail/T10971b.stderr +++ b/testsuite/tests/typecheck/should_fail/T10971b.stderr @@ -1,5 +1,5 @@ -T10971b.hs:4:11: error: +T10971b.hs:4:11: error: [GHC-39999] • Ambiguous type variable ‘t2’ arising from a use of ‘length’ prevents the constraint ‘(Foldable t2)’ from being solved. Relevant bindings include @@ -10,13 +10,13 @@ T10971b.hs:4:11: error: instance Foldable (Either a) -- Defined in ‘Data.Foldable’ instance Foldable Maybe -- Defined in ‘Data.Foldable’ ...plus three others - ...plus 29 instances involving out-of-scope types + ...plus 26 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: length x In the expression: \ x -> length x In an equation for ‘f’: f = \ x -> length x -T10971b.hs:5:13: error: +T10971b.hs:5:13: error: [GHC-39999] • Ambiguous type variable ‘t1’ arising from a use of ‘fmapDefault’ prevents the constraint ‘(Traversable t1)’ from being solved. Relevant bindings include @@ -33,7 +33,7 @@ T10971b.hs:5:13: error: In the expression: \ f x -> fmapDefault f x In an equation for ‘g’: g = \ f x -> fmapDefault f x -T10971b.hs:6:14: error: +T10971b.hs:6:14: error: [GHC-39999] • Ambiguous type variable ‘t0’ arising from a use of ‘fmapDefault’ prevents the constraint ‘(Traversable t0)’ from being solved. Relevant bindings include @@ -50,7 +50,7 @@ T10971b.hs:6:14: error: In the expression: (fmapDefault f x, length x) In the expression: \ f x -> (fmapDefault f x, length x) -T10971b.hs:6:31: error: +T10971b.hs:6:31: error: [GHC-39999] • Ambiguous type variable ‘t0’ arising from a use of ‘length’ prevents the constraint ‘(Foldable t0)’ from being solved. Relevant bindings include @@ -61,7 +61,7 @@ T10971b.hs:6:31: error: instance Foldable (Either a) -- Defined in ‘Data.Foldable’ instance Foldable Maybe -- Defined in ‘Data.Foldable’ ...plus three others - ...plus 29 instances involving out-of-scope types + ...plus 26 instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the expression: length x In the expression: (fmapDefault f x, length x) diff --git a/testsuite/tests/typecheck/should_fail/T10971d.stderr b/testsuite/tests/typecheck/should_fail/T10971d.stderr index 93dce724d086..70ac8107498e 100644 --- a/testsuite/tests/typecheck/should_fail/T10971d.stderr +++ b/testsuite/tests/typecheck/should_fail/T10971d.stderr @@ -1,19 +1,19 @@ -T10971d.hs:4:14: error: +T10971d.hs:4:14: error: [GHC-83865] • Couldn't match expected type: [a0] with actual type: Maybe a3 • In the first argument of ‘f’, namely ‘(Just 1)’ In the second argument of ‘($)’, namely ‘f (Just 1)’ In a stmt of a 'do' block: print $ f (Just 1) -T10971d.hs:5:19: error: +T10971d.hs:5:19: error: [GHC-83865] • Couldn't match expected type: [b0] with actual type: Maybe a4 • In the second argument of ‘g’, namely ‘(Just 5)’ In the second argument of ‘($)’, namely ‘g (+ 1) (Just 5)’ In a stmt of a 'do' block: print $ g (+ 1) (Just 5) -T10971d.hs:6:23: error: +T10971d.hs:6:23: error: [GHC-83865] • Couldn't match expected type: [a2] with actual type: Maybe a1 • In the second argument of ‘h’, namely ‘Nothing’ diff --git a/testsuite/tests/typecheck/should_fail/T11112.stderr b/testsuite/tests/typecheck/should_fail/T11112.stderr index db6e1822cb41..08afdc44eaee 100644 --- a/testsuite/tests/typecheck/should_fail/T11112.stderr +++ b/testsuite/tests/typecheck/should_fail/T11112.stderr @@ -1,4 +1,4 @@ -T11112.hs:3:9: error: +T11112.hs:3:9: error: [GHC-83865] • Expected a type, but ‘Ord s’ has kind ‘Constraint’ • In the type signature: sort :: Ord s -> [s] -> [s] diff --git a/testsuite/tests/typecheck/should_fail/T11274.stderr b/testsuite/tests/typecheck/should_fail/T11274.stderr index 4bc2004ad5ce..161efdec52f3 100644 --- a/testsuite/tests/typecheck/should_fail/T11274.stderr +++ b/testsuite/tests/typecheck/should_fail/T11274.stderr @@ -1,5 +1,5 @@ -T11274.hs:10:25: error: +T11274.hs:10:25: error: [GHC-39999] • No instance for ‘Eq Asd’ arising from a use of ‘==’ • In the expression: x == y In an equation for ‘missingInstance’: missingInstance x y = x == y diff --git a/testsuite/tests/typecheck/should_fail/T11313.stderr b/testsuite/tests/typecheck/should_fail/T11313.stderr index ba71dd4e88d8..28b182b0fe44 100644 --- a/testsuite/tests/typecheck/should_fail/T11313.stderr +++ b/testsuite/tests/typecheck/should_fail/T11313.stderr @@ -1,5 +1,5 @@ -T11313.hs:5:12: error: +T11313.hs:5:12: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘*’ has kind ‘*’ • In the type ‘(*)’ In the expression: fmap @(*) diff --git a/testsuite/tests/typecheck/should_fail/T11347.stderr b/testsuite/tests/typecheck/should_fail/T11347.stderr index 5f1e7ad61eee..8c650e4ed369 100644 --- a/testsuite/tests/typecheck/should_fail/T11347.stderr +++ b/testsuite/tests/typecheck/should_fail/T11347.stderr @@ -1,11 +1,13 @@ -T11347.hs:6:41: error: +T11347.hs:6:41: error: [GHC-10283] • Couldn't match representation of type ‘a’ with that of ‘b’ arising from the coercion of the method ‘unsafe’ from type ‘Id1 a -> Discern (Id1 a) b’ to type ‘Id2 a -> Discern (Id2 a) b’ ‘a’ is a rigid type variable bound by - the deriving clause for ‘UnsafeCast b (Id2 a)’ at T11347.hs:6:41-52 + the deriving clause for ‘UnsafeCast b (Id2 a)’ + at T11347.hs:6:41-52 ‘b’ is a rigid type variable bound by - the deriving clause for ‘UnsafeCast b (Id2 a)’ at T11347.hs:6:41-52 + the deriving clause for ‘UnsafeCast b (Id2 a)’ + at T11347.hs:6:41-52 • When deriving the instance for (UnsafeCast b (Id2 a)) diff --git a/testsuite/tests/typecheck/should_fail/T11355.stderr b/testsuite/tests/typecheck/should_fail/T11355.stderr index 6262a9057cb3..f9a5964b534b 100644 --- a/testsuite/tests/typecheck/should_fail/T11355.stderr +++ b/testsuite/tests/typecheck/should_fail/T11355.stderr @@ -1,5 +1,5 @@ -T11355.hs:5:7: error: +T11355.hs:5:7: error: [GHC-91510] • Illegal polymorphic type: forall a. a • In the expression: const @_ @((forall a. a) -> forall a. a) () (id @(forall a. a)) diff --git a/testsuite/tests/typecheck/should_fail/T11356.stderr b/testsuite/tests/typecheck/should_fail/T11356.stderr index e0224022a200..0f1b4a746d92 100644 --- a/testsuite/tests/typecheck/should_fail/T11356.stderr +++ b/testsuite/tests/typecheck/should_fail/T11356.stderr @@ -1,4 +1,4 @@ -T11356.hs:3:7: error: +T11356.hs:3:7: error: [GHC-83865] • Expected kind ‘k0 -> Constraint’, but ‘T p’ has kind ‘Constraint’ • In the class declaration for ‘C’ diff --git a/testsuite/tests/typecheck/should_fail/T11464.stderr b/testsuite/tests/typecheck/should_fail/T11464.stderr index 11dda61a9fa0..61bb2dca70a2 100644 --- a/testsuite/tests/typecheck/should_fail/T11464.stderr +++ b/testsuite/tests/typecheck/should_fail/T11464.stderr @@ -1,5 +1,5 @@ -T11464.hs:5:14: error: +T11464.hs:5:14: error: [GHC-83865] • Expecting one more argument to ‘Either a’ Expected a type, but ‘Either a’ has kind ‘* -> *’ • In the first argument of ‘Eq’, namely ‘(Either a)’ diff --git a/testsuite/tests/typecheck/should_fail/T11514.stderr b/testsuite/tests/typecheck/should_fail/T11514.stderr index dd940a36b179..ed05b81e3eb7 100644 --- a/testsuite/tests/typecheck/should_fail/T11514.stderr +++ b/testsuite/tests/typecheck/should_fail/T11514.stderr @@ -1,5 +1,5 @@ -T11514.hs:6:7: error: +T11514.hs:6:7: error: [GHC-91028] • Couldn't match expected type ‘(Show a => a -> a) -> ()’ with actual type ‘a0’ Cannot instantiate unification variable ‘a0’ diff --git a/testsuite/tests/typecheck/should_fail/T11541.stderr b/testsuite/tests/typecheck/should_fail/T11541.stderr index 4302fb05dcfc..34da72ab0794 100644 --- a/testsuite/tests/typecheck/should_fail/T11541.stderr +++ b/testsuite/tests/typecheck/should_fail/T11541.stderr @@ -1,2 +1,2 @@ -T11541.hs:8:12: error: Variable not in scope: foo +T11541.hs:8:12: error: [GHC-88464] Variable not in scope: foo diff --git a/testsuite/tests/typecheck/should_fail/T11563.stderr b/testsuite/tests/typecheck/should_fail/T11563.stderr index 5ed6d3c7997b..59e3c0641644 100644 --- a/testsuite/tests/typecheck/should_fail/T11563.stderr +++ b/testsuite/tests/typecheck/should_fail/T11563.stderr @@ -1,5 +1,5 @@ -T11563.hs:6:19: error: +T11563.hs:6:19: error: [GHC-83865] • Expecting one more argument to ‘T’ Expected a type, but ‘T’ has kind ‘* -> *’ • In the first argument of ‘C’, namely ‘T’ diff --git a/testsuite/tests/typecheck/should_fail/T11672.stderr b/testsuite/tests/typecheck/should_fail/T11672.stderr index a0f8d7e36c75..aa5b15fd5ba5 100644 --- a/testsuite/tests/typecheck/should_fail/T11672.stderr +++ b/testsuite/tests/typecheck/should_fail/T11672.stderr @@ -1,5 +1,5 @@ -T11672.hs:9:10: error: +T11672.hs:9:10: error: [GHC-18872] • Couldn't match kind ‘*’ with ‘Symbol’ When matching types a0 :: Symbol diff --git a/testsuite/tests/typecheck/should_fail/T11698.stderr b/testsuite/tests/typecheck/should_fail/T11698.stderr index 4f2cf8e7175f..3a10a9f251de 100644 --- a/testsuite/tests/typecheck/should_fail/T11698.stderr +++ b/testsuite/tests/typecheck/should_fail/T11698.stderr @@ -1,7 +1,6 @@ -T11698.hs:4:17: error: +T11698.hs:4:17: error: [GHC-83865] • Couldn't match expected type ‘Char’ with actual type ‘Bool’ • In the first argument of ‘k’, namely ‘True’ In the expression: k True In the expression: (k 'v', k True) - diff --git a/testsuite/tests/typecheck/should_fail/T11947a.stderr b/testsuite/tests/typecheck/should_fail/T11947a.stderr index 46a955f13870..20d6a541ba0f 100644 --- a/testsuite/tests/typecheck/should_fail/T11947a.stderr +++ b/testsuite/tests/typecheck/should_fail/T11947a.stderr @@ -1,5 +1,5 @@ -T11947a.hs:4:19: error: +T11947a.hs:4:19: error: [GHC-39999] • Could not deduce ‘RealFloat a0’ from the context: RealFloat a bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T11948.stderr b/testsuite/tests/typecheck/should_fail/T11948.stderr index b618a586b1a2..5380d9ed4f51 100644 --- a/testsuite/tests/typecheck/should_fail/T11948.stderr +++ b/testsuite/tests/typecheck/should_fail/T11948.stderr @@ -1,5 +1,5 @@ -T11948.hs:21:18: error: +T11948.hs:21:18: error: [GHC-39999] • Could not deduce ‘Bar (F zq) zq’ arising from a use of ‘bar’ from the context: Bar (Foo (F zq)) (Foo zq) bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T11974b.stderr b/testsuite/tests/typecheck/should_fail/T11974b.stderr index db91ac98ea8b..eb40f2de1272 100644 --- a/testsuite/tests/typecheck/should_fail/T11974b.stderr +++ b/testsuite/tests/typecheck/should_fail/T11974b.stderr @@ -1,16 +1,15 @@ -T11974b.hs:5:1: error: +T11974b.hs:5:1: error: [GHC-88933] • The default type ‘Blah’ is not an instance of ‘Num’ or ‘Show’ or ‘Eq’ or ‘Ord’ or ‘Foldable’ or ‘Traversable’ • When checking the types in a default declaration -T11974b.hs:5:1: error: +T11974b.hs:5:1: error: [GHC-88933] • The default type ‘Monad’ is not an instance of ‘Num’ or ‘Show’ or ‘Eq’ or ‘Ord’ or ‘Foldable’ or ‘Traversable’ • When checking the types in a default declaration -T11974b.hs:5:1: error: +T11974b.hs:5:1: error: [GHC-88933] • The default type ‘Either’ is not an instance of ‘Num’ or ‘Show’ or ‘Eq’ or ‘Ord’ or ‘Foldable’ or ‘Traversable’ • When checking the types in a default declaration - diff --git a/testsuite/tests/typecheck/should_fail/T11990a.stderr b/testsuite/tests/typecheck/should_fail/T11990a.stderr index f875e677da60..d0746d55dad9 100644 --- a/testsuite/tests/typecheck/should_fail/T11990a.stderr +++ b/testsuite/tests/typecheck/should_fail/T11990a.stderr @@ -1,5 +1,5 @@ -T11990a.hs:18:6: - Unexpected type @ PartialTF: Char - In the expression: testPartialTF 'a' +T11990a.hs:18:6: error: [GHC-64725] + • Unexpected type @ PartialTF: Char + • In the expression: testPartialTF 'a' In an equation for ‘t1’: t1 = testPartialTF 'a' diff --git a/testsuite/tests/typecheck/should_fail/T11990b.stderr b/testsuite/tests/typecheck/should_fail/T11990b.stderr index 9a92d439d87b..834d22f15809 100644 --- a/testsuite/tests/typecheck/should_fail/T11990b.stderr +++ b/testsuite/tests/typecheck/should_fail/T11990b.stderr @@ -1,5 +1,5 @@ -T11990b.hs:28:6: - Unexpected type @ PartialTF: Char - In the expression: testNesPartialTF 'a' +T11990b.hs:28:6: error: [GHC-64725] + • Unexpected type @ PartialTF: Char + • In the expression: testNesPartialTF 'a' In an equation for ‘t2’: t2 = testNesPartialTF 'a' diff --git a/testsuite/tests/typecheck/should_fail/T12045b.stderr b/testsuite/tests/typecheck/should_fail/T12045b.stderr index fcb65b133d96..237c26ac5530 100644 --- a/testsuite/tests/typecheck/should_fail/T12045b.stderr +++ b/testsuite/tests/typecheck/should_fail/T12045b.stderr @@ -1,5 +1,5 @@ -T12045b.hs:7:6: error: +T12045b.hs:7:6: error: [GHC-20967] • Cannot apply function of kind ‘*’ to visible kind argument ‘Type’ • In the type signature: x :: Int @Type diff --git a/testsuite/tests/typecheck/should_fail/T12045c.stderr b/testsuite/tests/typecheck/should_fail/T12045c.stderr index 86a51a49ace5..1764bc866083 100644 --- a/testsuite/tests/typecheck/should_fail/T12045c.stderr +++ b/testsuite/tests/typecheck/should_fail/T12045c.stderr @@ -1,5 +1,5 @@ -T12045c.hs:8:3: error: +T12045c.hs:8:3: error: [GHC-20967] • Cannot apply function of kind ‘k0 -> k1’ to visible kind argument ‘Type’ • In the type family declaration for ‘F’ diff --git a/testsuite/tests/typecheck/should_fail/T12083a.stderr b/testsuite/tests/typecheck/should_fail/T12083a.stderr index f5763509ab72..54457a7d090e 100644 --- a/testsuite/tests/typecheck/should_fail/T12083a.stderr +++ b/testsuite/tests/typecheck/should_fail/T12083a.stderr @@ -1,5 +1,5 @@ -T12083a.hs:6:1: error: +T12083a.hs:6:1: error: [GHC-91510] • Illegal qualified type: Num a => a • In the type synonym declaration for ‘Constrd’ Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/typecheck/should_fail/T12083b.stderr b/testsuite/tests/typecheck/should_fail/T12083b.stderr index e9733c994533..5359fbec8735 100644 --- a/testsuite/tests/typecheck/should_fail/T12083b.stderr +++ b/testsuite/tests/typecheck/should_fail/T12083b.stderr @@ -1,5 +1,5 @@ -T12083b.hs:7:5: error: +T12083b.hs:7:5: error: [GHC-91510] • Illegal qualified type: Eq a => r • When checking the class method: test :: forall a r. Class a => a -> (Eq a => r) -> r diff --git a/testsuite/tests/typecheck/should_fail/T12102b.stderr b/testsuite/tests/typecheck/should_fail/T12102b.stderr index 49bce539859a..57ba1395b6ef 100644 --- a/testsuite/tests/typecheck/should_fail/T12102b.stderr +++ b/testsuite/tests/typecheck/should_fail/T12102b.stderr @@ -1,5 +1,5 @@ -T12102b.hs:21:25: error: +T12102b.hs:21:25: error: [GHC-83865] • Couldn't match expected kind ‘'True’ with actual kind ‘IsTypeLit a’ • In the first argument of ‘Show’, namely ‘(T a)’ diff --git a/testsuite/tests/typecheck/should_fail/T12151.stderr b/testsuite/tests/typecheck/should_fail/T12151.stderr index 8360c68b9f00..21fea0bdeb17 100644 --- a/testsuite/tests/typecheck/should_fail/T12151.stderr +++ b/testsuite/tests/typecheck/should_fail/T12151.stderr @@ -5,7 +5,7 @@ T12151.hs:9:13: error: • When checking the class method: put :: forall a. Put a => a In the class declaration for ‘Put’ -T12151.hs:9:13: error: +T12151.hs:9:13: error: [GHC-39999] • Could not deduce ‘Put a0’ from the context: Put a bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T12170a.stderr b/testsuite/tests/typecheck/should_fail/T12170a.stderr index a8f349df434d..85fa3554e96a 100644 --- a/testsuite/tests/typecheck/should_fail/T12170a.stderr +++ b/testsuite/tests/typecheck/should_fail/T12170a.stderr @@ -1,9 +1,9 @@ -T12170a.hs:20:35: error: +T12170a.hs:20:35: error: [GHC-83865] • Couldn't match type ‘Ref m0’ with ‘IORef’ Expected: IORef (f0 ()) -> m0 (f0 ()) Actual: Ref m0 (f0 ()) -> m0 (f0 ()) - The type variable ‘m0’ is ambiguous + The type variable ‘m0’ is ambiguous • In the second argument of ‘(.)’, namely ‘readRef’ In the second argument of ‘(>>=)’, namely ‘join . readRef’ In the expression: newRef (pure ()) >>= join . readRef diff --git a/testsuite/tests/typecheck/should_fail/T12177.stderr b/testsuite/tests/typecheck/should_fail/T12177.stderr index e3262d3e31fe..3c0b65938955 100644 --- a/testsuite/tests/typecheck/should_fail/T12177.stderr +++ b/testsuite/tests/typecheck/should_fail/T12177.stderr @@ -1,5 +1,5 @@ -T12177.hs:3:19: error: +T12177.hs:3:19: error: [GHC-88464] • Found hole: _ :: p3 Where: ‘p3’ is a rigid type variable bound by the inferred type of bar :: p1 -> p2 -> p3 @@ -11,7 +11,7 @@ T12177.hs:3:19: error: x :: p2 (bound at T12177.hs:3:14) bar :: p1 -> p2 -> p3 (bound at T12177.hs:3:1) -T12177.hs:5:37: error: +T12177.hs:5:37: error: [GHC-88464] • Found hole: _ :: p6 Where: ‘p6’ is a rigid type variable bound by the inferred type of baz :: p1 -> p2 -> p3 -> p4 -> p5 -> p6 diff --git a/testsuite/tests/typecheck/should_fail/T12178a.stderr b/testsuite/tests/typecheck/should_fail/T12178a.stderr index 46fb5a661495..da9a0b15abe7 100644 --- a/testsuite/tests/typecheck/should_fail/T12178a.stderr +++ b/testsuite/tests/typecheck/should_fail/T12178a.stderr @@ -1,5 +1,5 @@ -T12178a.hs:7:12: error: +T12178a.hs:7:12: error: [GHC-44432] The INLINE pragma for ‘C’ lacks an accompanying binding Suggested fix: Move the INLINE pragma to the declaration site of ‘C’. diff --git a/testsuite/tests/typecheck/should_fail/T12373.stderr b/testsuite/tests/typecheck/should_fail/T12373.stderr index f53f5ea7e268..71654355bdd8 100644 --- a/testsuite/tests/typecheck/should_fail/T12373.stderr +++ b/testsuite/tests/typecheck/should_fail/T12373.stderr @@ -1,5 +1,5 @@ -T12373.hs:10:19: error: +T12373.hs:10:19: error: [GHC-18872] • Couldn't match a lifted type with an unlifted type When matching types a0 :: * diff --git a/testsuite/tests/typecheck/should_fail/T12406.stderr b/testsuite/tests/typecheck/should_fail/T12406.stderr index 5219a5f29051..6e3e337f626c 100644 --- a/testsuite/tests/typecheck/should_fail/T12406.stderr +++ b/testsuite/tests/typecheck/should_fail/T12406.stderr @@ -1,3 +1,3 @@ -T12406.hs:20:28: error: +T12406.hs:20:28: error: [GHC-88464] Variable not in scope: join :: m0 (f0 ()) -> IO () diff --git a/testsuite/tests/typecheck/should_fail/T12430.stderr b/testsuite/tests/typecheck/should_fail/T12430.stderr index eab71af1fc2a..2b6c4e4b3efa 100644 --- a/testsuite/tests/typecheck/should_fail/T12430.stderr +++ b/testsuite/tests/typecheck/should_fail/T12430.stderr @@ -1,5 +1,5 @@ -T12430.hs:7:3: error: +T12430.hs:7:3: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. Type variable ‘x’ cannot be inferred from the right-hand side. In the type family equation: diff --git a/testsuite/tests/typecheck/should_fail/T12529.stderr b/testsuite/tests/typecheck/should_fail/T12529.stderr index 6819cd8dd274..fcbf0222270a 100644 --- a/testsuite/tests/typecheck/should_fail/T12529.stderr +++ b/testsuite/tests/typecheck/should_fail/T12529.stderr @@ -1,2 +1,2 @@ -T12529.hs:5:5: error: Variable not in scope: p +T12529.hs:5:5: error: [GHC-88464] Variable not in scope: p diff --git a/testsuite/tests/typecheck/should_fail/T12563.stderr b/testsuite/tests/typecheck/should_fail/T12563.stderr index 4b64ef1cc7a9..abfb75ce640a 100644 --- a/testsuite/tests/typecheck/should_fail/T12563.stderr +++ b/testsuite/tests/typecheck/should_fail/T12563.stderr @@ -1,5 +1,5 @@ -T12563.hs:8:15: error: +T12563.hs:8:15: error: [GHC-91028] • Couldn't match expected type ‘(forall a. f a) -> f r’ with actual type ‘p’ Cannot equate type variable ‘p’ diff --git a/testsuite/tests/typecheck/should_fail/T12589.stderr b/testsuite/tests/typecheck/should_fail/T12589.stderr index a2587e277864..e13b7e5bafc5 100644 --- a/testsuite/tests/typecheck/should_fail/T12589.stderr +++ b/testsuite/tests/typecheck/should_fail/T12589.stderr @@ -1,2 +1,3 @@ -T12589.hs:13:3: error: Variable not in scope: (&) :: t0 -> t1 -> t +T12589.hs:13:3: error: [GHC-88464] + Variable not in scope: (&) :: t0 -> t1 -> t diff --git a/testsuite/tests/typecheck/should_fail/T12648.stderr b/testsuite/tests/typecheck/should_fail/T12648.stderr index 6f12341c062a..9b935cf8d4f2 100644 --- a/testsuite/tests/typecheck/should_fail/T12648.stderr +++ b/testsuite/tests/typecheck/should_fail/T12648.stderr @@ -1,5 +1,5 @@ -T12648.hs:76:9: error: +T12648.hs:76:9: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘()’ ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T12729.stderr b/testsuite/tests/typecheck/should_fail/T12729.stderr index 9fdcd6f940a2..7bb0aedc1201 100644 --- a/testsuite/tests/typecheck/should_fail/T12729.stderr +++ b/testsuite/tests/typecheck/should_fail/T12729.stderr @@ -1,5 +1,5 @@ -T12729.hs:7:1: error: +T12729.hs:7:1: error: [GHC-55233] • Newtype has non-* return kind ‘TYPE 'IntRep’ • In the newtype declaration for ‘A’ Suggested fix: Perhaps you intended to use UnliftedNewtypes diff --git a/testsuite/tests/typecheck/should_fail/T12785b.stderr b/testsuite/tests/typecheck/should_fail/T12785b.stderr index f251d17ea8f2..ee1158ce9ef6 100644 --- a/testsuite/tests/typecheck/should_fail/T12785b.stderr +++ b/testsuite/tests/typecheck/should_fail/T12785b.stderr @@ -1,5 +1,5 @@ -T12785b.hs:30:65: error: +T12785b.hs:30:65: error: [GHC-25897] • Could not deduce ‘Payload ('S n) (Payload n s1) ~ s’ arising from a use of ‘SBranchX’ from the context: m ~ 'S n diff --git a/testsuite/tests/typecheck/should_fail/T12837.stderr b/testsuite/tests/typecheck/should_fail/T12837.stderr index b2bca63280d0..98e08935e5fc 100644 --- a/testsuite/tests/typecheck/should_fail/T12837.stderr +++ b/testsuite/tests/typecheck/should_fail/T12837.stderr @@ -1,12 +1,12 @@ -T12837.hs:10:10: error: +T12837.hs:10:10: error: [GHC-97044] • Class ‘Typeable’ does not support user-specified instances. • In the instance declaration for ‘Typeable K’ -T12837.hs:11:10: error: +T12837.hs:11:10: error: [GHC-97044] • Class ‘KnownNat’ does not support user-specified instances. • In the instance declaration for ‘KnownNat n’ -T12837.hs:12:10: error: +T12837.hs:12:10: error: [GHC-97044] • Class ‘KnownSymbol’ does not support user-specified instances. • In the instance declaration for ‘KnownSymbol n’ diff --git a/testsuite/tests/typecheck/should_fail/T12906.stderr b/testsuite/tests/typecheck/should_fail/T12906.stderr index 0de979453301..37dc0e93b36c 100644 --- a/testsuite/tests/typecheck/should_fail/T12906.stderr +++ b/testsuite/tests/typecheck/should_fail/T12906.stderr @@ -1,5 +1,5 @@ -T12906.hs:2:7: error: +T12906.hs:2:7: error: [GHC-83865] • Couldn't match type: IO () with: [Char] Expected: String diff --git a/testsuite/tests/typecheck/should_fail/T12918b.stderr b/testsuite/tests/typecheck/should_fail/T12918b.stderr index bb53f774b5fb..b81209666077 100644 --- a/testsuite/tests/typecheck/should_fail/T12918b.stderr +++ b/testsuite/tests/typecheck/should_fail/T12918b.stderr @@ -13,7 +13,7 @@ T12918b.hs:12:11: error: bar2 :: forall a b. Foo1 a => a -> b In the class declaration for ‘Foo1’ -T12918b.hs:12:11: error: +T12918b.hs:12:11: error: [GHC-39999] • Could not deduce ‘Foo1 a0’ from the context: Foo1 a bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T12921.stderr b/testsuite/tests/typecheck/should_fail/T12921.stderr index 8b1e638d277b..380881742170 100644 --- a/testsuite/tests/typecheck/should_fail/T12921.stderr +++ b/testsuite/tests/typecheck/should_fail/T12921.stderr @@ -1,5 +1,5 @@ -T12921.hs:4:1: error: +T12921.hs:4:1: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from an annotation prevents the constraint ‘(Data.Data.Data a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -14,7 +14,7 @@ T12921.hs:4:1: error: • In the annotation: {-# ANN module "HLint: ignore Reduce duplication" #-} -T12921.hs:4:16: error: +T12921.hs:4:16: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from the literal ‘"HLint: ignore Reduce duplication"’ prevents the constraint ‘(Data.String.IsString a0)’ from being solved. @@ -27,5 +27,5 @@ T12921.hs:4:16: error: • In the annotation: {-# ANN module "HLint: ignore Reduce duplication" #-} -T12921.hs:7:8: error: +T12921.hs:7:8: error: [GHC-88464] Variable not in scope: choice :: [a0] -> Int -> Int diff --git a/testsuite/tests/typecheck/should_fail/T12947.stderr b/testsuite/tests/typecheck/should_fail/T12947.stderr index a5d9193db116..299c6f95452e 100644 --- a/testsuite/tests/typecheck/should_fail/T12947.stderr +++ b/testsuite/tests/typecheck/should_fail/T12947.stderr @@ -1,3 +1,3 @@ -T12947.hs:15:14: error: +T12947.hs:15:14: error: [GHC-88464] Data constructor not in scope: ContT :: (p0 -> m0 a0) -> P m a diff --git a/testsuite/tests/typecheck/should_fail/T12966.stderr b/testsuite/tests/typecheck/should_fail/T12966.stderr index dd63bf47ca8a..8de98d14b14e 100644 --- a/testsuite/tests/typecheck/should_fail/T12966.stderr +++ b/testsuite/tests/typecheck/should_fail/T12966.stderr @@ -1,5 +1,5 @@ -T12966.hs:4:39: error: +T12966.hs:4:39: error: [GHC-83865] • Expecting one more argument to ‘(~) (Maybe d)’ Expected a type, but ‘(~) (Maybe d)’ has kind ‘* -> Constraint’ • In the type ‘forall d. (c d) => ((~) (Maybe d))’ diff --git a/testsuite/tests/typecheck/should_fail/T13068.stderr b/testsuite/tests/typecheck/should_fail/T13068.stderr index d78e402f76d6..b53d15051f33 100644 --- a/testsuite/tests/typecheck/should_fail/T13068.stderr +++ b/testsuite/tests/typecheck/should_fail/T13068.stderr @@ -1,6 +1,6 @@ [1 of 5] Compiling T13068[boot] ( T13068.hs-boot, T13068.o-boot ) [2 of 5] Compiling T13068a ( T13068a.hs, T13068a.o ) -T13068a.hs:3:10: error: +T13068a.hs:3:10: error: [GHC-51758] • Cannot define instance for abstract class ‘C’ • In the instance declaration for ‘C Int’ diff --git a/testsuite/tests/typecheck/should_fail/T13075.stderr b/testsuite/tests/typecheck/should_fail/T13075.stderr index 89abb9afe37a..372a5982d9a1 100644 --- a/testsuite/tests/typecheck/should_fail/T13075.stderr +++ b/testsuite/tests/typecheck/should_fail/T13075.stderr @@ -1,3 +1,3 @@ -T13075.hs:5:1: error: +T13075.hs:5:1: error: [GHC-48099] Top-level strict bindings aren't allowed: !(Just x) = Nothing diff --git a/testsuite/tests/typecheck/should_fail/T13292.stderr b/testsuite/tests/typecheck/should_fail/T13292.stderr index 9d0d3fe7ee50..d56f7ce2bbb9 100644 --- a/testsuite/tests/typecheck/should_fail/T13292.stderr +++ b/testsuite/tests/typecheck/should_fail/T13292.stderr @@ -1,5 +1,5 @@ -T13292a.hs:4:12: warning: [-Wdeferred-type-errors (in -Wdefault)] +T13292a.hs:4:12: warning: [GHC-39999] [-Wdeferred-type-errors (in -Wdefault)] • Ambiguous type variable ‘m0’ arising from a use of ‘return’ prevents the constraint ‘(Monad m0)’ from being solved. Relevant bindings include @@ -14,13 +14,13 @@ T13292a.hs:4:12: warning: [-Wdeferred-type-errors (in -Wdefault)] • In the expression: return () In an equation for ‘someFunc’: someFunc = return () -T13292.hs:6:1: warning: [-Wdeferred-type-errors (in -Wdefault)] +T13292.hs:6:1: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘GHC.Types.Any’ with ‘IO’ Expected: IO () Actual: GHC.Types.Any () • When checking the type of the IO action ‘main’ -T13292.hs:6:1: warning: [-Wdeferred-type-errors (in -Wdefault)] +T13292.hs:6:1: warning: [GHC-83865] [-Wdeferred-type-errors (in -Wdefault)] • Couldn't match type ‘GHC.Types.Any’ with ‘IO’ Expected: IO () Actual: GHC.Types.Any () diff --git a/testsuite/tests/typecheck/should_fail/T13311.stderr b/testsuite/tests/typecheck/should_fail/T13311.stderr index e858a6037e73..5ca2cbc87f1b 100644 --- a/testsuite/tests/typecheck/should_fail/T13311.stderr +++ b/testsuite/tests/typecheck/should_fail/T13311.stderr @@ -1,5 +1,5 @@ -T13311.hs:9:3: error: +T13311.hs:9:3: error: [GHC-83865] • Couldn't match expected type: IO a0 with actual type: Maybe a1 -> Maybe b0 • Probable cause: ‘f’ is applied to too few arguments diff --git a/testsuite/tests/typecheck/should_fail/T13320.stderr b/testsuite/tests/typecheck/should_fail/T13320.stderr index 4442069d1555..92a755c11c80 100644 --- a/testsuite/tests/typecheck/should_fail/T13320.stderr +++ b/testsuite/tests/typecheck/should_fail/T13320.stderr @@ -1,5 +1,5 @@ -T13320.hs:32:21: error: +T13320.hs:32:21: error: [GHC-18872] • Couldn't match type: X_Var ξ with: TermX ξ arising from a use of ‘genTerm’ diff --git a/testsuite/tests/typecheck/should_fail/T13446.stderr b/testsuite/tests/typecheck/should_fail/T13446.stderr index a0308f8be280..819ea107113e 100644 --- a/testsuite/tests/typecheck/should_fail/T13446.stderr +++ b/testsuite/tests/typecheck/should_fail/T13446.stderr @@ -1,5 +1,5 @@ -T13446.hs:34:17: error: +T13446.hs:34:17: error: [GHC-83865] • Couldn't match expected type ‘Dict (JReference (JComparable a))’ with actual type ‘Char’ • In the first argument of ‘Sub’, namely ‘'a'’ diff --git a/testsuite/tests/typecheck/should_fail/T13487.stderr b/testsuite/tests/typecheck/should_fail/T13487.stderr index c6f6c26597a1..6d0e7839f58e 100644 --- a/testsuite/tests/typecheck/should_fail/T13487.stderr +++ b/testsuite/tests/typecheck/should_fail/T13487.stderr @@ -1,5 +1,5 @@ -T13487.hs:19:7: warning: [-Wdeferred-type-errors (in -Wdefault)] +T13487.hs:19:7: warning: [GHC-64725] [-Wdeferred-type-errors (in -Wdefault)] • GHC panic in 3... 2... 1... • In the expression: K 'a' 'b' In an equation for ‘foo’: foo = K 'a' 'b' diff --git a/testsuite/tests/typecheck/should_fail/T13506.stderr b/testsuite/tests/typecheck/should_fail/T13506.stderr index 50ea1b21c52b..7a7434b6bd70 100644 --- a/testsuite/tests/typecheck/should_fail/T13506.stderr +++ b/testsuite/tests/typecheck/should_fail/T13506.stderr @@ -1,5 +1,5 @@ -T13506.hs:16:12: error: +T13506.hs:16:12: error: [GHC-18872] • Couldn't match type ‘Char’ with ‘()’ arising from a functional dependency between: constraint ‘FunDep [Char] ()’ arising from a use of ‘singleton’ diff --git a/testsuite/tests/typecheck/should_fail/T13530.stderr b/testsuite/tests/typecheck/should_fail/T13530.stderr index 4b540f297c4c..31c294d65418 100644 --- a/testsuite/tests/typecheck/should_fail/T13530.stderr +++ b/testsuite/tests/typecheck/should_fail/T13530.stderr @@ -1,5 +1,5 @@ -T13530.hs:11:7: error: +T13530.hs:11:7: error: [GHC-18872] • Couldn't match a lifted type with an unlifted type When matching types a0 :: * diff --git a/testsuite/tests/typecheck/should_fail/T13610.stderr b/testsuite/tests/typecheck/should_fail/T13610.stderr index cfff3dc86394..1a060eac76e3 100644 --- a/testsuite/tests/typecheck/should_fail/T13610.stderr +++ b/testsuite/tests/typecheck/should_fail/T13610.stderr @@ -1,5 +1,5 @@ -T13610.hs:11:15: error: +T13610.hs:11:15: error: [GHC-18872] • Couldn't match a lifted type with an unlifted type When matching types a :: * diff --git a/testsuite/tests/typecheck/should_fail/T13640.stderr b/testsuite/tests/typecheck/should_fail/T13640.stderr index 28afc7d55e02..7c4a944b17d2 100644 --- a/testsuite/tests/typecheck/should_fail/T13640.stderr +++ b/testsuite/tests/typecheck/should_fail/T13640.stderr @@ -1,5 +1,5 @@ -T13640.hs:13:22: error: +T13640.hs:13:22: error: [GHC-88464] Variable not in scope: (.) :: (f0 a c0 -> f0 b c0) diff --git a/testsuite/tests/typecheck/should_fail/T13677.stderr b/testsuite/tests/typecheck/should_fail/T13677.stderr index c29aba248e3e..09dac46a9d8d 100644 --- a/testsuite/tests/typecheck/should_fail/T13677.stderr +++ b/testsuite/tests/typecheck/should_fail/T13677.stderr @@ -1,4 +1,4 @@ -T13677.hs:10:8: error: +T13677.hs:10:8: error: [GHC-83865] • Expected a constraint, but ‘Dict (Int ~ Int)’ has kind ‘*’ • In the type signature: foo :: Dict (Int ~ Int) => Int diff --git a/testsuite/tests/typecheck/should_fail/T13819.stderr b/testsuite/tests/typecheck/should_fail/T13819.stderr index 917345f7100c..4e08f504383e 100644 --- a/testsuite/tests/typecheck/should_fail/T13819.stderr +++ b/testsuite/tests/typecheck/should_fail/T13819.stderr @@ -1,5 +1,5 @@ -T13819.hs:12:17: error: +T13819.hs:12:17: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘_ -> WrappedMonad A _’ has kind ‘*’ • In the type ‘(_ -> WrappedMonad A _)’ In the expression: pure @(_ -> WrappedMonad A _) @(_ -> A _) pure diff --git a/testsuite/tests/typecheck/should_fail/T13834.stderr b/testsuite/tests/typecheck/should_fail/T13834.stderr index 864b5ab7aedd..ba0aafe464c1 100644 --- a/testsuite/tests/typecheck/should_fail/T13834.stderr +++ b/testsuite/tests/typecheck/should_fail/T13834.stderr @@ -1,3 +1,3 @@ -T13834.hs:5:7: +T13834.hs:5:7: error: [GHC-88464] Variable not in scope: notInScope :: Bool -> t diff --git a/testsuite/tests/typecheck/should_fail/T13902.stderr b/testsuite/tests/typecheck/should_fail/T13902.stderr index c7630039aa1c..37ec4b401ba4 100644 --- a/testsuite/tests/typecheck/should_fail/T13902.stderr +++ b/testsuite/tests/typecheck/should_fail/T13902.stderr @@ -1,5 +1,5 @@ -T13902.hs:8:5: error: +T13902.hs:8:5: error: [GHC-83865] • Couldn't match expected type ‘t0 -> Int’ with actual type ‘Int’ • The function ‘f’ is applied to two value arguments, but its type ‘Int -> Int’ has only one diff --git a/testsuite/tests/typecheck/should_fail/T13909.stderr b/testsuite/tests/typecheck/should_fail/T13909.stderr index d370d9ed05a5..02067ba714d6 100644 --- a/testsuite/tests/typecheck/should_fail/T13909.stderr +++ b/testsuite/tests/typecheck/should_fail/T13909.stderr @@ -1,5 +1,5 @@ -T13909.hs:11:18: error: +T13909.hs:11:18: error: [GHC-91028] • Expecting two more arguments to ‘Hm’ Expected kind ‘k’, but ‘Hm’ has kind ‘forall k -> k -> *’ Cannot equate type variable ‘k’ diff --git a/testsuite/tests/typecheck/should_fail/T13983.stderr b/testsuite/tests/typecheck/should_fail/T13983.stderr index aba88bc9f2b0..c3253aa7718f 100644 --- a/testsuite/tests/typecheck/should_fail/T13983.stderr +++ b/testsuite/tests/typecheck/should_fail/T13983.stderr @@ -1,2 +1,2 @@ -T13983.hs:7:25: error: Not in scope: type variable ‘k’ +T13983.hs:7:25: error: [GHC-76037] Not in scope: type variable ‘k’ diff --git a/testsuite/tests/typecheck/should_fail/T14000.stderr b/testsuite/tests/typecheck/should_fail/T14000.stderr index 8b51e3764124..69cdc26ff164 100644 --- a/testsuite/tests/typecheck/should_fail/T14000.stderr +++ b/testsuite/tests/typecheck/should_fail/T14000.stderr @@ -1,2 +1,3 @@ -T14000.hs:8:9: error: Variable not in scope: noSuchThing +T14000.hs:8:9: error: [GHC-88464] + Variable not in scope: noSuchThing diff --git a/testsuite/tests/typecheck/should_fail/T14048a.stderr b/testsuite/tests/typecheck/should_fail/T14048a.stderr index 9767d3a45c94..595da5e4adbf 100644 --- a/testsuite/tests/typecheck/should_fail/T14048a.stderr +++ b/testsuite/tests/typecheck/should_fail/T14048a.stderr @@ -1,4 +1,4 @@ -T14048a.hs:6:1: error: +T14048a.hs:6:1: error: [GHC-55233] • Data type has non-* return kind ‘Constraint’ • In the data declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/T14048b.stderr b/testsuite/tests/typecheck/should_fail/T14048b.stderr index d265193b6920..8b4e8295b38b 100644 --- a/testsuite/tests/typecheck/should_fail/T14048b.stderr +++ b/testsuite/tests/typecheck/should_fail/T14048b.stderr @@ -1,5 +1,5 @@ -T14048b.hs:7:1: error: +T14048b.hs:7:1: error: [GHC-55233] • Data family has non-TYPE and non-variable return kind ‘Constraint’ • In the data family declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/T14048c.stderr b/testsuite/tests/typecheck/should_fail/T14048c.stderr index e1bb37295827..d74333b444ea 100644 --- a/testsuite/tests/typecheck/should_fail/T14048c.stderr +++ b/testsuite/tests/typecheck/should_fail/T14048c.stderr @@ -1,4 +1,4 @@ -T14048c.hs:9:1: error: +T14048c.hs:9:1: error: [GHC-55233] • Data instance has non-* return kind ‘Constraint’ • In the data instance declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/T14055.stderr b/testsuite/tests/typecheck/should_fail/T14055.stderr index 19e4d59112d9..c7017b8b567b 100644 --- a/testsuite/tests/typecheck/should_fail/T14055.stderr +++ b/testsuite/tests/typecheck/should_fail/T14055.stderr @@ -1,5 +1,5 @@ -T14055.hs:6:18: error: +T14055.hs:6:18: error: [GHC-83865] • Expected kind ‘() -> X’, but ‘t -> ()’ has kind ‘*’ • In the first argument of ‘RollX’, namely ‘(t -> ())’ In the type ‘RollX (t -> ())’ diff --git a/testsuite/tests/typecheck/should_fail/T14232.stderr b/testsuite/tests/typecheck/should_fail/T14232.stderr index a497be7b19df..061294092899 100644 --- a/testsuite/tests/typecheck/should_fail/T14232.stderr +++ b/testsuite/tests/typecheck/should_fail/T14232.stderr @@ -1,4 +1,4 @@ -T14232.hs:3:6: error: +T14232.hs:3:6: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘String -> a’ has kind ‘*’ • In the type signature: f :: (String -> a) String -> a diff --git a/testsuite/tests/typecheck/should_fail/T14325.stderr b/testsuite/tests/typecheck/should_fail/T14325.stderr index 6cf71b5e0850..787a60220947 100644 --- a/testsuite/tests/typecheck/should_fail/T14325.stderr +++ b/testsuite/tests/typecheck/should_fail/T14325.stderr @@ -1,5 +1,5 @@ -T14325.hs:11:9: error: +T14325.hs:11:9: error: [GHC-25897] • Couldn't match type ‘b’ with ‘f b’ arising from a superclass required to satisfy ‘C b (f b)’, arising from a use of ‘foo’ diff --git a/testsuite/tests/typecheck/should_fail/T14390.stderr b/testsuite/tests/typecheck/should_fail/T14390.stderr index 82646d8d8cc2..f593a6b7aa5e 100644 --- a/testsuite/tests/typecheck/should_fail/T14390.stderr +++ b/testsuite/tests/typecheck/should_fail/T14390.stderr @@ -1,4 +1,4 @@ -T14390.hs:4:10: error: +T14390.hs:4:10: error: [GHC-97044] • Class ‘~~’ does not support user-specified instances. • In the instance declaration for ‘(~~) Int Int’ diff --git a/testsuite/tests/typecheck/should_fail/T14605.stderr b/testsuite/tests/typecheck/should_fail/T14605.stderr index 04d8b5a67d9b..3eca58c6568c 100644 --- a/testsuite/tests/typecheck/should_fail/T14605.stderr +++ b/testsuite/tests/typecheck/should_fail/T14605.stderr @@ -1,5 +1,5 @@ -T14605.hs:14:13: error: +T14605.hs:14:13: error: [GHC-10283] • Couldn't match representation of type ‘x’ with that of ‘()’ arising from a use of ‘coerce’ ‘x’ is a rigid type variable bound by diff --git a/testsuite/tests/typecheck/should_fail/T14607.stderr b/testsuite/tests/typecheck/should_fail/T14607.stderr index b7d60593e15a..7485a6b98918 100644 --- a/testsuite/tests/typecheck/should_fail/T14607.stderr +++ b/testsuite/tests/typecheck/should_fail/T14607.stderr @@ -1,11 +1,11 @@ -T14607.hs:22:9: error: +T14607.hs:22:9: error: [GHC-83865] • Expecting one more argument to ‘LamCons a '()’ - Expected a type, but ‘LamCons a '()’ has kind ‘() -> *’ - • In the type signature: mk :: LamCons a '() + Expected a type, but ‘LamCons a '()’ has kind ‘() -> *’ + • In the type signature: mk :: LamCons a '() In the instance declaration for ‘Mk a’ -T14607.hs:22:19: error: +T14607.hs:22:19: error: [GHC-83865] • Expected a type, but ‘'()’ has kind ‘()’ • In the second argument of ‘LamCons’, namely ‘'()’ In the type signature: mk :: LamCons a '() diff --git a/testsuite/tests/typecheck/should_fail/T14618.stderr b/testsuite/tests/typecheck/should_fail/T14618.stderr index 6cf768bbce63..0996d4eb7434 100644 --- a/testsuite/tests/typecheck/should_fail/T14618.stderr +++ b/testsuite/tests/typecheck/should_fail/T14618.stderr @@ -1,5 +1,5 @@ -T14618.hs:7:14: error: +T14618.hs:7:14: error: [GHC-25897] • Couldn't match expected type ‘b’ with actual type ‘a’ ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T14761b.stderr b/testsuite/tests/typecheck/should_fail/T14761b.stderr index af557c47255b..8cd05c228108 100644 --- a/testsuite/tests/typecheck/should_fail/T14761b.stderr +++ b/testsuite/tests/typecheck/should_fail/T14761b.stderr @@ -1,2 +1,3 @@ -T14761b.hs:5:19: error: Operator applied to too few arguments: ! +T14761b.hs:5:19: error: [GHC-24180] + Operator applied to too few arguments: ! diff --git a/testsuite/tests/typecheck/should_fail/T14884.stderr b/testsuite/tests/typecheck/should_fail/T14884.stderr index d949df2ec6cf..30e1ffbbfcad 100644 --- a/testsuite/tests/typecheck/should_fail/T14884.stderr +++ b/testsuite/tests/typecheck/should_fail/T14884.stderr @@ -1,5 +1,5 @@ -T14884.hs:4:5: error: +T14884.hs:4:5: error: [GHC-88464] • Found hole: _ :: (a0 -> IO ()) -> String -> IO () Where: ‘a0’ is an ambiguous type variable • In the expression: _ print "abc" @@ -31,7 +31,7 @@ T14884.hs:4:5: error: (imported from ‘Prelude’ at T14884.hs:1:8-13 (and originally defined in ‘GHC.Base’)) -T14884.hs:4:7: error: +T14884.hs:4:7: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘print’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. diff --git a/testsuite/tests/typecheck/should_fail/T14904a.stderr b/testsuite/tests/typecheck/should_fail/T14904a.stderr index 95aee86ee4e2..cd0e6e7bae37 100644 --- a/testsuite/tests/typecheck/should_fail/T14904a.stderr +++ b/testsuite/tests/typecheck/should_fail/T14904a.stderr @@ -1,7 +1,7 @@ -T14904a.hs:10:6: error: +T14904a.hs:10:6: error: [GHC-91028] • Expected kind ‘forall (a :: k2). g a’, but ‘f’ has kind ‘k1’ - • Cannot equate type variable ‘k1’ + Cannot equate type variable ‘k1’ with a kind involving polytypes: forall (a :: k2). g a ‘k1’ is a rigid type variable bound by a family instance declaration diff --git a/testsuite/tests/typecheck/should_fail/T14904b.stderr b/testsuite/tests/typecheck/should_fail/T14904b.stderr index 83a9ec15fa13..b9f7b75b42ca 100644 --- a/testsuite/tests/typecheck/should_fail/T14904b.stderr +++ b/testsuite/tests/typecheck/should_fail/T14904b.stderr @@ -1,5 +1,5 @@ -T14904b.hs:9:7: error: +T14904b.hs:9:7: error: [GHC-91028] • Expected kind ‘forall (a :: k1). g a’, but ‘f’ has kind ‘k0’ Cannot instantiate unification variable ‘k0’ with a kind involving polytypes: forall (a :: k1). g a diff --git a/testsuite/tests/typecheck/should_fail/T15067.stderr b/testsuite/tests/typecheck/should_fail/T15067.stderr index 811f3a6602de..64d322f927c4 100644 --- a/testsuite/tests/typecheck/should_fail/T15067.stderr +++ b/testsuite/tests/typecheck/should_fail/T15067.stderr @@ -1,5 +1,5 @@ -T15067.hs:9:14: error: +T15067.hs:9:14: error: [GHC-39999] • No instance for ‘Typeable (# | #)’ arising from a use of ‘typeRep’ GHC can't yet do polykinded diff --git a/testsuite/tests/typecheck/should_fail/T15330.stderr b/testsuite/tests/typecheck/should_fail/T15330.stderr index 43e6b473eb35..19ec29e90f1f 100644 --- a/testsuite/tests/typecheck/should_fail/T15330.stderr +++ b/testsuite/tests/typecheck/should_fail/T15330.stderr @@ -1,5 +1,5 @@ -T15330.hs:12:6: error: +T15330.hs:12:6: error: [GHC-83865] • Couldn't match type: [Char] with: Proxy (T 'True) Expected: Proxy (T 'True) @@ -7,7 +7,7 @@ T15330.hs:12:6: error: • In the expression: "foo" In an equation for ‘f1’: f1 = "foo" -T15330.hs:16:6: error: +T15330.hs:16:6: error: [GHC-83865] • Couldn't match type: [Char] with: Proxy (t 'True) Expected: Proxy (t 'True) diff --git a/testsuite/tests/typecheck/should_fail/T15361.stderr b/testsuite/tests/typecheck/should_fail/T15361.stderr index d668994f3f7a..961466bec0df 100644 --- a/testsuite/tests/typecheck/should_fail/T15361.stderr +++ b/testsuite/tests/typecheck/should_fail/T15361.stderr @@ -1,5 +1,5 @@ -T15361.hs:13:13: error: +T15361.hs:13:13: error: [GHC-25897] • Could not deduce ‘a ~ c’ from the context: b ~ a bound by a pattern with constructor: @@ -21,7 +21,7 @@ T15361.hs:13:13: error: • Relevant bindings include foo :: (a :~~: b) -> a :~~: c (bound at T15361.hs:13:1) -T15361.hs:20:27: error: +T15361.hs:20:27: error: [GHC-39999] • Could not deduce ‘Show a’ arising from a use of ‘show’ from the context: Ord a bound by a pattern with constructor: diff --git a/testsuite/tests/typecheck/should_fail/T15592a.stderr b/testsuite/tests/typecheck/should_fail/T15592a.stderr index 5002b4771d39..da9ed9660130 100644 --- a/testsuite/tests/typecheck/should_fail/T15592a.stderr +++ b/testsuite/tests/typecheck/should_fail/T15592a.stderr @@ -1,5 +1,5 @@ -T15592a.hs:8:22: error: +T15592a.hs:8:22: error: [GHC-20967] • Cannot apply function of kind ‘Proxy j -> Proxy k -> k2 -> Constraint’ to visible kind argument ‘j’ diff --git a/testsuite/tests/typecheck/should_fail/T15629.stderr b/testsuite/tests/typecheck/should_fail/T15629.stderr index f8985982a4d0..b09a6112d389 100644 --- a/testsuite/tests/typecheck/should_fail/T15629.stderr +++ b/testsuite/tests/typecheck/should_fail/T15629.stderr @@ -1,5 +1,5 @@ -T15629.hs:27:31: error: +T15629.hs:27:31: error: [GHC-25897] • Couldn't match kind ‘z’ with ‘ab’ Expected kind ‘F x ab ~> F x ab’, but ‘Comp (F1Sym :: x ~> F x z) F2Sym’ has kind ‘TyFun diff --git a/testsuite/tests/typecheck/should_fail/T15648.stderr b/testsuite/tests/typecheck/should_fail/T15648.stderr index acfcaf8d1c7c..a8df34b3f697 100644 --- a/testsuite/tests/typecheck/should_fail/T15648.stderr +++ b/testsuite/tests/typecheck/should_fail/T15648.stderr @@ -1,5 +1,5 @@ -T15648.hs:23:21: error: +T15648.hs:23:21: error: [GHC-83865] • Couldn't match type: (a0 GHC.Prim.~# b0) -> JankyEquality a0 b0 with: JankyEquality a a Expected: JankyEquality a b @@ -11,7 +11,7 @@ T15648.hs:23:21: error: legitToJank :: LegitEquality a b -> JankyEquality a b (bound at T15648.hs:23:1) -T15648.hs:30:33: error: +T15648.hs:30:33: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘b’ ‘b’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T15712.stderr b/testsuite/tests/typecheck/should_fail/T15712.stderr index 8031f5f0da98..ac4f79021413 100644 --- a/testsuite/tests/typecheck/should_fail/T15712.stderr +++ b/testsuite/tests/typecheck/should_fail/T15712.stderr @@ -1,5 +1,5 @@ -T15712.hs:19:16: error: +T15712.hs:19:16: error: [GHC-83865] • Expecting one more argument to ‘GEndo’ Expected kind ‘* -> *’, but ‘GEndo’ has kind ‘(* -> *) -> * -> *’ • In the first argument of ‘Codensity’, namely ‘GEndo’ diff --git a/testsuite/tests/typecheck/should_fail/T15767.stderr b/testsuite/tests/typecheck/should_fail/T15767.stderr index 7c9dc3329a7e..8c915c0aa337 100644 --- a/testsuite/tests/typecheck/should_fail/T15767.stderr +++ b/testsuite/tests/typecheck/should_fail/T15767.stderr @@ -1,5 +1,5 @@ -T15767.hs:7:5: error: +T15767.hs:7:5: error: [GHC-39999] • No instance for ‘C () b0’ arising from a use of ‘x’ • In the expression: x In an equation for ‘y’: diff --git a/testsuite/tests/typecheck/should_fail/T15793.stderr b/testsuite/tests/typecheck/should_fail/T15793.stderr index d160947e3b5e..462bed1c9cc8 100644 --- a/testsuite/tests/typecheck/should_fail/T15793.stderr +++ b/testsuite/tests/typecheck/should_fail/T15793.stderr @@ -1,5 +1,5 @@ -T15793.hs:18:3: error: +T15793.hs:18:3: error: [GHC-45474] • Illegal oversaturated visible kind argument: ‘@a’ • In the equations for closed type family ‘F2’ In the type family declaration for ‘F2’ diff --git a/testsuite/tests/typecheck/should_fail/T15797.stderr b/testsuite/tests/typecheck/should_fail/T15797.stderr index 04c2a5fc50a4..c3b159c95dc0 100644 --- a/testsuite/tests/typecheck/should_fail/T15797.stderr +++ b/testsuite/tests/typecheck/should_fail/T15797.stderr @@ -1,5 +1,5 @@ -T15797.hs:26:9: error: +T15797.hs:26:9: error: [GHC-83865] • Expecting two more arguments to ‘EQ @ob’ Expected a type, but ‘EQ @ob’ has kind ‘ob -> ob -> *’ • In the first argument of ‘RÃki’, namely ‘(EQ @ob)’ diff --git a/testsuite/tests/typecheck/should_fail/T15799.stderr b/testsuite/tests/typecheck/should_fail/T15799.stderr index af44e0a8edcd..4e70fcce1228 100644 --- a/testsuite/tests/typecheck/should_fail/T15799.stderr +++ b/testsuite/tests/typecheck/should_fail/T15799.stderr @@ -1,5 +1,5 @@ -T15799.hs:46:62: error: +T15799.hs:46:62: error: [GHC-83865] • Couldn't match kind ‘TypeLits.Natural’ with ‘Op Nat’ Expected kind ‘Op Nat’, but ‘UnOp b’ has kind ‘Nat’ • In the first argument of ‘(<=)’, namely ‘UnOp b’ diff --git a/testsuite/tests/typecheck/should_fail/T15801.stderr b/testsuite/tests/typecheck/should_fail/T15801.stderr index 2209d72ab886..9c7cdabeefea 100644 --- a/testsuite/tests/typecheck/should_fail/T15801.stderr +++ b/testsuite/tests/typecheck/should_fail/T15801.stderr @@ -1,5 +1,5 @@ -T15801.hs:52:10: error: +T15801.hs:52:10: error: [GHC-18872] • Couldn't match representation of type: UnOp op_a -> UnOp b with that of: op_a --> b arising from the superclasses of an instance declaration diff --git a/testsuite/tests/typecheck/should_fail/T15816.stderr b/testsuite/tests/typecheck/should_fail/T15816.stderr index 90bf2122d64e..e3c2505afdd5 100644 --- a/testsuite/tests/typecheck/should_fail/T15816.stderr +++ b/testsuite/tests/typecheck/should_fail/T15816.stderr @@ -1,5 +1,5 @@ -T15816.hs:8:1: error: +T15816.hs:8:1: error: [GHC-20967] • Cannot apply function of kind ‘*’ to visible kind argument ‘Int’ • In the data instance declaration for ‘U’ diff --git a/testsuite/tests/typecheck/should_fail/T15862.stderr b/testsuite/tests/typecheck/should_fail/T15862.stderr index aeb0f73b9bd1..76bdaee542f0 100644 --- a/testsuite/tests/typecheck/should_fail/T15862.stderr +++ b/testsuite/tests/typecheck/should_fail/T15862.stderr @@ -1,5 +1,5 @@ -T15862.hs:16:16: error: +T15862.hs:16:16: error: [GHC-91028] • Expected kind ‘k0’, but ‘MkFoo’ has kind ‘(forall a. a) -> Foo’ Cannot instantiate unification variable ‘k0’ with a kind involving polytypes: (forall a. a) -> Foo diff --git a/testsuite/tests/typecheck/should_fail/T15883.stderr b/testsuite/tests/typecheck/should_fail/T15883.stderr index c66d5109328b..b0c28a2eed3a 100644 --- a/testsuite/tests/typecheck/should_fail/T15883.stderr +++ b/testsuite/tests/typecheck/should_fail/T15883.stderr @@ -1,5 +1,5 @@ -T15883.hs:9:1: error: +T15883.hs:9:1: error: [GHC-55233] • Newtype has non-* return kind ‘TYPE rep’ • In the newtype declaration for ‘Foo’ Suggested fix: Perhaps you intended to use UnliftedNewtypes diff --git a/testsuite/tests/typecheck/should_fail/T15883b.stderr b/testsuite/tests/typecheck/should_fail/T15883b.stderr index 0e03d99a37bd..a4a3df67ee56 100644 --- a/testsuite/tests/typecheck/should_fail/T15883b.stderr +++ b/testsuite/tests/typecheck/should_fail/T15883b.stderr @@ -1,5 +1,5 @@ -T15883b.hs:14:1: error: +T15883b.hs:14:1: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘==’ prevents the constraint ‘(Eq a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. diff --git a/testsuite/tests/typecheck/should_fail/T15883c.stderr b/testsuite/tests/typecheck/should_fail/T15883c.stderr index 4f4b05638636..71d5914408a0 100644 --- a/testsuite/tests/typecheck/should_fail/T15883c.stderr +++ b/testsuite/tests/typecheck/should_fail/T15883c.stderr @@ -1,10 +1,10 @@ -T15883c.hs:14:1: error: +T15883c.hs:14:1: error: [GHC-39999] • No instance for ‘Eq (Foo LiftedRep)’ arising from the superclasses of an instance declaration • In the instance declaration for ‘Ord (Foo LiftedRep)’ -T15883c.hs:14:1: error: +T15883c.hs:14:1: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘compare’ prevents the constraint ‘(Ord a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -21,7 +21,7 @@ T15883c.hs:14:1: error: in a derived instance for ‘Ord (Foo LiftedRep)’: To see the code I am typechecking, use -ddump-deriv -T15883c.hs:14:1: error: +T15883c.hs:14:1: error: [GHC-39999] • Ambiguous type variable ‘a1’ arising from a use of ‘<’ prevents the constraint ‘(Ord a1)’ from being solved. Probable fix: use a type annotation to specify what ‘a1’ should be. diff --git a/testsuite/tests/typecheck/should_fail/T15883d.stderr b/testsuite/tests/typecheck/should_fail/T15883d.stderr index eea1ccac2d7a..c6bd38b340ef 100644 --- a/testsuite/tests/typecheck/should_fail/T15883d.stderr +++ b/testsuite/tests/typecheck/should_fail/T15883d.stderr @@ -1,5 +1,5 @@ -T15883d.hs:14:1: error: +T15883d.hs:14:1: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘showsPrec’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. diff --git a/testsuite/tests/typecheck/should_fail/T15883e.stderr b/testsuite/tests/typecheck/should_fail/T15883e.stderr index 947e45270f72..5c9981879029 100644 --- a/testsuite/tests/typecheck/should_fail/T15883e.stderr +++ b/testsuite/tests/typecheck/should_fail/T15883e.stderr @@ -1,5 +1,5 @@ -T15883e.hs:16:1: error: +T15883e.hs:16:1: error: [GHC-39999] • Ambiguous type variable ‘d0’ arising from a use of ‘k’ prevents the constraint ‘(Data d0)’ from being solved. Probable fix: use a type annotation to specify what ‘d0’ should be. @@ -18,13 +18,13 @@ T15883e.hs:16:1: error: To see the code I am typechecking, use -ddump-deriv In the instance declaration for ‘Data (Foo LiftedRep)’ -T15883e.hs:16:1: error: +T15883e.hs:16:1: error: [GHC-46956] • Couldn't match expected type ‘a’ with actual type ‘d0’ - because type variable ‘a’ would escape its scope - This (rigid, skolem) type variable is bound by - a type expected by the context: - forall a. a - at T15883e.hs:16:1-52 + • because type variable ‘a’ would escape its scope + This (rigid, skolem) type variable is bound by + a type expected by the context: + forall a. a + at T15883e.hs:16:1-52 • In the first argument of ‘MkFoo’, namely ‘a1’ In the expression: MkFoo a1 In the first argument of ‘z’, namely ‘(\ a1 -> MkFoo a1)’ @@ -33,7 +33,7 @@ T15883e.hs:16:1: error: To see the code I am typechecking, use -ddump-deriv • Relevant bindings include a1 :: d0 (bound at T15883e.hs:16:1) -T15883e.hs:16:1: error: +T15883e.hs:16:1: error: [GHC-39999] • Ambiguous type variable ‘b0’ arising from a use of ‘k’ prevents the constraint ‘(Data b0)’ from being solved. Probable fix: use a type annotation to specify what ‘b0’ should be. @@ -52,13 +52,13 @@ T15883e.hs:16:1: error: To see the code I am typechecking, use -ddump-deriv In the instance declaration for ‘Data (Foo LiftedRep)’ -T15883e.hs:16:1: error: +T15883e.hs:16:1: error: [GHC-46956] • Couldn't match expected type ‘a’ with actual type ‘b0’ - because type variable ‘a’ would escape its scope - This (rigid, skolem) type variable is bound by - a type expected by the context: - forall a. a - at T15883e.hs:16:1-52 + • because type variable ‘a’ would escape its scope + This (rigid, skolem) type variable is bound by + a type expected by the context: + forall a. a + at T15883e.hs:16:1-52 • In the first argument of ‘MkFoo’, namely ‘a1’ In the expression: MkFoo a1 In the first argument of ‘z’, namely ‘(\ a1 -> MkFoo a1)’ diff --git a/testsuite/tests/typecheck/should_fail/T1595.stderr b/testsuite/tests/typecheck/should_fail/T1595.stderr index 2f17fb8ffb2b..db4205d5e3b1 100644 --- a/testsuite/tests/typecheck/should_fail/T1595.stderr +++ b/testsuite/tests/typecheck/should_fail/T1595.stderr @@ -1,6 +1,6 @@ -T1595.hs:8:15: error: +T1595.hs:8:15: error: [GHC-76037] Not in scope: type constructor or class ‘DoesNotExist’ -T1595.hs:13:22: error: +T1595.hs:13:22: error: [GHC-76037] Not in scope: type constructor or class ‘DoesNotExist’ diff --git a/testsuite/tests/typecheck/should_fail/T15962.stderr b/testsuite/tests/typecheck/should_fail/T15962.stderr index c69bdf6cfcf6..a6f4034277e7 100644 --- a/testsuite/tests/typecheck/should_fail/T15962.stderr +++ b/testsuite/tests/typecheck/should_fail/T15962.stderr @@ -1,5 +1,5 @@ -T15962.hs:28:11: error: +T15962.hs:28:11: error: [GHC-88464] • Found hole: _ :: Big ks -> Big (Eval (Map Dual ks)) Where: ‘ks’ is a rigid type variable bound by the type signature for: @@ -14,5 +14,5 @@ T15962.hs:28:11: error: dualBig :: Big ks -> Big (Eval (Map Dual ks)) (bound at T15962.hs:28:1) -T15962.hs:34:12: error: +T15962.hs:34:12: error: [GHC-88464] Variable not in scope: iDontExist :: Big ('Conjunction : ks) diff --git a/testsuite/tests/typecheck/should_fail/T16059a.stderr b/testsuite/tests/typecheck/should_fail/T16059a.stderr index 276822065342..3d7b3f67dcdc 100644 --- a/testsuite/tests/typecheck/should_fail/T16059a.stderr +++ b/testsuite/tests/typecheck/should_fail/T16059a.stderr @@ -1,9 +1,9 @@ -T16059a.hs:8:6: error: +T16059a.hs:8:6: error: [GHC-01259] • Illegal constraint in a kind: Eq b => b • In the type signature: f :: forall b (a :: Eq b => b). Int -T16059a.hs:11:6: error: +T16059a.hs:11:6: error: [GHC-01259] • Illegal constraint in a kind: Eq b => b • In the expansion of type synonym ‘Foo’ In the type signature: g :: forall b (a :: Foo b). Int diff --git a/testsuite/tests/typecheck/should_fail/T16059c.stderr b/testsuite/tests/typecheck/should_fail/T16059c.stderr index 3beef8141239..626f58318680 100644 --- a/testsuite/tests/typecheck/should_fail/T16059c.stderr +++ b/testsuite/tests/typecheck/should_fail/T16059c.stderr @@ -1,5 +1,5 @@ -T16059c.hs:6:6: error: +T16059c.hs:6:6: error: [GHC-91510] • Illegal polymorphic type: forall a1. a1 • In the expansion of type synonym ‘Foo’ In the type signature: f :: Foo -> a -> f diff --git a/testsuite/tests/typecheck/should_fail/T16059d.stderr b/testsuite/tests/typecheck/should_fail/T16059d.stderr index 4c78c037f488..af4c881a9c40 100644 --- a/testsuite/tests/typecheck/should_fail/T16059d.stderr +++ b/testsuite/tests/typecheck/should_fail/T16059d.stderr @@ -1,6 +1,6 @@ -T16059d.hs:5:1: error: +T16059d.hs:5:1: error: [GHC-19590] • Illegal unboxed tuple type as function argument: (# #) • In the expansion of type synonym ‘Bar’ In the type synonym declaration for ‘Bar'’ - Suggested fix: Perhaps you intended to use UnboxedTuples \ No newline at end of file + Suggested fix: Perhaps you intended to use UnboxedTuples diff --git a/testsuite/tests/typecheck/should_fail/T16059e.stderr b/testsuite/tests/typecheck/should_fail/T16059e.stderr index 8128fb699622..e98712f8db18 100644 --- a/testsuite/tests/typecheck/should_fail/T16059e.stderr +++ b/testsuite/tests/typecheck/should_fail/T16059e.stderr @@ -1,5 +1,5 @@ -T16059e.hs:15:6: error: +T16059e.hs:15:6: error: [GHC-91510] • Illegal polymorphic type: forall a. a • In the expansion of type synonym ‘Foo’ In the expansion of type synonym ‘Const’ diff --git a/testsuite/tests/typecheck/should_fail/T16074.stderr b/testsuite/tests/typecheck/should_fail/T16074.stderr index 10b263efcb37..b612cbefeddd 100644 --- a/testsuite/tests/typecheck/should_fail/T16074.stderr +++ b/testsuite/tests/typecheck/should_fail/T16074.stderr @@ -1,5 +1,5 @@ -T16074.hs:10:7: error: +T16074.hs:10:7: error: [GHC-25897] • Couldn't match type ‘a’ with ‘b’ Expected: TYPE a :~: TYPE b Actual: TYPE a :~: TYPE a diff --git a/testsuite/tests/typecheck/should_fail/T16204c.stderr b/testsuite/tests/typecheck/should_fail/T16204c.stderr index 731a87342347..df0e1675b724 100644 --- a/testsuite/tests/typecheck/should_fail/T16204c.stderr +++ b/testsuite/tests/typecheck/should_fail/T16204c.stderr @@ -1,5 +1,5 @@ -T16204c.hs:16:8: error: +T16204c.hs:16:8: error: [GHC-83865] • Couldn't match type ‘Rep’ with ‘*’ Expected: Sing @(*) a Actual: Sing @Rep a0 diff --git a/testsuite/tests/typecheck/should_fail/T16255.stderr b/testsuite/tests/typecheck/should_fail/T16255.stderr index ba23f0e466c3..e4867cba9675 100644 --- a/testsuite/tests/typecheck/should_fail/T16255.stderr +++ b/testsuite/tests/typecheck/should_fail/T16255.stderr @@ -1,10 +1,10 @@ -T16255.hs:14:3: error: +T16255.hs:14:3: error: [GHC-45474] • Illegal oversaturated visible kind argument: ‘@Bool’ • In the equations for closed type family ‘F1’ In the type family declaration for ‘F1’ -T16255.hs:22:3: error: +T16255.hs:22:3: error: [GHC-45474] • Illegal oversaturated visible kind argument: ‘@Symbol’ • In the equations for closed type family ‘F2’ In the type family declaration for ‘F2’ diff --git a/testsuite/tests/typecheck/should_fail/T1633.stderr b/testsuite/tests/typecheck/should_fail/T1633.stderr index 5d9dcc44f5aa..83600c40b07c 100644 --- a/testsuite/tests/typecheck/should_fail/T1633.stderr +++ b/testsuite/tests/typecheck/should_fail/T1633.stderr @@ -1,5 +1,5 @@ -T1633.hs:8:18: error: +T1633.hs:8:18: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Bool’ has kind ‘*’ • In the first argument of ‘Functor’, namely ‘Bool’ In the instance declaration for ‘Functor Bool’ diff --git a/testsuite/tests/typecheck/should_fail/T16414.stderr b/testsuite/tests/typecheck/should_fail/T16414.stderr index 57a31ffd4bb9..88f2db430fe2 100644 --- a/testsuite/tests/typecheck/should_fail/T16414.stderr +++ b/testsuite/tests/typecheck/should_fail/T16414.stderr @@ -1,5 +1,5 @@ -T16414.hs:15:6: error: +T16414.hs:15:6: error: [GHC-43085] • Overlapping instances for AllZip2 f0 arising from a use of ‘f2’ Matching givens (or their superclasses): AllZip2 I diff --git a/testsuite/tests/typecheck/should_fail/T16453E2.stderr b/testsuite/tests/typecheck/should_fail/T16453E2.stderr index b7beedb511d9..6dbee3a635e3 100644 --- a/testsuite/tests/typecheck/should_fail/T16453E2.stderr +++ b/testsuite/tests/typecheck/should_fail/T16453E2.stderr @@ -1,5 +1,5 @@ -T16453E2.hs:1:28: error: +T16453E2.hs:1:28: error: [GHC-69158] Conflicting exports for ‘main’: ‘T16453T.main’ exports ‘T16453T.main’ imported from ‘T16453T’ at T16453E2.hs:2:1-14 diff --git a/testsuite/tests/typecheck/should_fail/T16456.stderr b/testsuite/tests/typecheck/should_fail/T16456.stderr index 5e69b9352afa..b0c66e496b66 100644 --- a/testsuite/tests/typecheck/should_fail/T16456.stderr +++ b/testsuite/tests/typecheck/should_fail/T16456.stderr @@ -1,5 +1,5 @@ -T16456.hs:7:7: error: +T16456.hs:7:7: error: [GHC-88464] • Found hole: _ :: T Int • In an equation for ‘foo’: foo = _ • Relevant bindings include foo :: T Int (bound at T16456.hs:7:1) diff --git a/testsuite/tests/typecheck/should_fail/T16512a.stderr b/testsuite/tests/typecheck/should_fail/T16512a.stderr index a4d979948fd1..e89900b08310 100644 --- a/testsuite/tests/typecheck/should_fail/T16512a.stderr +++ b/testsuite/tests/typecheck/should_fail/T16512a.stderr @@ -1,5 +1,5 @@ -T16512a.hs:41:25: error: +T16512a.hs:41:25: error: [GHC-25897] • Couldn't match type ‘as’ with ‘a : as’ Expected: AST (ListVariadic (a : as) b) Actual: AST (ListVariadic as (a -> b)) diff --git a/testsuite/tests/typecheck/should_fail/T16512b.stderr b/testsuite/tests/typecheck/should_fail/T16512b.stderr index f51993863633..2335aa66fdec 100644 --- a/testsuite/tests/typecheck/should_fail/T16512b.stderr +++ b/testsuite/tests/typecheck/should_fail/T16512b.stderr @@ -1,5 +1,5 @@ -T16512b.hs:6:3: error: +T16512b.hs:6:3: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. Type variable ‘a’ cannot be inferred from the right-hand side. In the type family equation: diff --git a/testsuite/tests/typecheck/should_fail/T16517.stderr b/testsuite/tests/typecheck/should_fail/T16517.stderr index 252e8ad79307..ea9aee658135 100644 --- a/testsuite/tests/typecheck/should_fail/T16517.stderr +++ b/testsuite/tests/typecheck/should_fail/T16517.stderr @@ -1,5 +1,5 @@ -T16517.hs:5:29: error: +T16517.hs:5:29: error: [GHC-25897] • Expected kind ‘k1’, but ‘a’ has kind ‘k’ ‘k1’ is a rigid type variable bound by the type signature for ‘m’ diff --git a/testsuite/tests/typecheck/should_fail/T16627.stderr b/testsuite/tests/typecheck/should_fail/T16627.stderr index b10488f17002..6014caea07f6 100644 --- a/testsuite/tests/typecheck/should_fail/T16627.stderr +++ b/testsuite/tests/typecheck/should_fail/T16627.stderr @@ -1,5 +1,5 @@ -T16627.hs:11:15: error: +T16627.hs:11:15: error: [GHC-39999] • No instance for ‘Typeable r1’ arising from a use of ‘typeRep’ • In the first argument of ‘mkTrApp’, namely ‘typeRep’ In the first argument of ‘mkTrApp’, namely ‘typeRep `mkTrApp` a’ diff --git a/testsuite/tests/typecheck/should_fail/T16646Fail.stderr b/testsuite/tests/typecheck/should_fail/T16646Fail.stderr index 9455dac27aa9..10386c67e99b 100644 --- a/testsuite/tests/typecheck/should_fail/T16646Fail.stderr +++ b/testsuite/tests/typecheck/should_fail/T16646Fail.stderr @@ -1,5 +1,5 @@ -T16646Fail.hs:16:5: error: +T16646Fail.hs:16:5: error: [GHC-39999] • No instance for ‘WithDict cls meth’ arising from a use of ‘withDict’ Possible fix: @@ -9,7 +9,7 @@ T16646Fail.hs:16:5: error: • In the expression: withDict @cls @meth In an equation for ‘f’: f = withDict @cls @meth -T16646Fail.hs:22:5: error: +T16646Fail.hs:22:5: error: [GHC-39999] • No instance for ‘WithDict (C a) (Maybe a)’ arising from a use of ‘withDict’ • In the expression: withDict @(C a) @(Maybe a) diff --git a/testsuite/tests/typecheck/should_fail/T16646Fail2.stderr b/testsuite/tests/typecheck/should_fail/T16646Fail2.stderr index 7a8178136c81..2e6b50640615 100644 --- a/testsuite/tests/typecheck/should_fail/T16646Fail2.stderr +++ b/testsuite/tests/typecheck/should_fail/T16646Fail2.stderr @@ -1,5 +1,5 @@ -T16646Fail2.hs:19:13: error: +T16646Fail2.hs:19:13: error: [GHC-18872] • Couldn't match type: b0 -> a with: forall (proxy :: * -> *). proxy Any -> a arising from a use of ‘withDict’ diff --git a/testsuite/tests/typecheck/should_fail/T16821.stderr b/testsuite/tests/typecheck/should_fail/T16821.stderr index 51eaf52fd748..e76ed6e818a6 100644 --- a/testsuite/tests/typecheck/should_fail/T16821.stderr +++ b/testsuite/tests/typecheck/should_fail/T16821.stderr @@ -1,4 +1,4 @@ -T16821.hs:12:1: error: +T16821.hs:12:1: error: [GHC-55233] • Newtype has non-TYPE return kind ‘Id (*)’ • In the newtype declaration for ‘T’ diff --git a/testsuite/tests/typecheck/should_fail/T16829a.stderr b/testsuite/tests/typecheck/should_fail/T16829a.stderr index f53d6ccfd6cb..f98154f9d08f 100644 --- a/testsuite/tests/typecheck/should_fail/T16829a.stderr +++ b/testsuite/tests/typecheck/should_fail/T16829a.stderr @@ -1,5 +1,5 @@ -T16829a.hs:9:1: error: +T16829a.hs:9:1: error: [GHC-55233] • Newtype has non-* return kind ‘TYPE 'IntRep’ • In the newtype declaration for ‘T’ Suggested fix: Perhaps you intended to use UnliftedNewtypes diff --git a/testsuite/tests/typecheck/should_fail/T16829b.stderr b/testsuite/tests/typecheck/should_fail/T16829b.stderr index 9d4c5057ca55..9aad97331186 100644 --- a/testsuite/tests/typecheck/should_fail/T16829b.stderr +++ b/testsuite/tests/typecheck/should_fail/T16829b.stderr @@ -1,5 +1,5 @@ -T16829b.hs:10:1: error: +T16829b.hs:10:1: error: [GHC-55233] • Newtype instance has non-* return kind ‘TYPE 'IntRep’ • In the newtype instance declaration for ‘T’ Suggested fix: Perhaps you intended to use UnliftedNewtypes diff --git a/testsuite/tests/typecheck/should_fail/T17021b.stderr b/testsuite/tests/typecheck/should_fail/T17021b.stderr index 8a07f2f53449..325dce8dfcc4 100644 --- a/testsuite/tests/typecheck/should_fail/T17021b.stderr +++ b/testsuite/tests/typecheck/should_fail/T17021b.stderr @@ -1,4 +1,4 @@ -T17021b.hs:10:1: error: +T17021b.hs:10:1: error: [GHC-55233] • Data instance has non-* return kind ‘F Int’ • In the data instance declaration for ‘Fix’ diff --git a/testsuite/tests/typecheck/should_fail/T17077.stderr b/testsuite/tests/typecheck/should_fail/T17077.stderr index 3f27d19c70e1..d20a2226bef3 100644 --- a/testsuite/tests/typecheck/should_fail/T17077.stderr +++ b/testsuite/tests/typecheck/should_fail/T17077.stderr @@ -1,5 +1,5 @@ -T17077.hs:7:13: error: +T17077.hs:7:13: error: [GHC-91028] • Expected kind ‘forall (k :: k1). a’, but ‘z’ has kind ‘k0’ Cannot instantiate unification variable ‘k0’ with a kind involving polytypes: forall (k2 :: k1). a diff --git a/testsuite/tests/typecheck/should_fail/T17139.stderr b/testsuite/tests/typecheck/should_fail/T17139.stderr index d89b166fdc51..f8ab95f5f89e 100644 --- a/testsuite/tests/typecheck/should_fail/T17139.stderr +++ b/testsuite/tests/typecheck/should_fail/T17139.stderr @@ -1,5 +1,5 @@ -T17139.hs:15:16: error: +T17139.hs:15:16: error: [GHC-88464] • Found hole: _ :: (a -> b0) -> f a -> TypeFam f b0 Where: ‘b0’ is an ambiguous type variable ‘a’, ‘f’ are rigid type variables bound by @@ -15,7 +15,7 @@ T17139.hs:15:16: error: f :: a -> b (bound at T17139.hs:15:6) lift :: (a -> b) -> TypeFam f (a -> b) (bound at T17139.hs:15:1) -T17139.hs:15:19: error: +T17139.hs:15:19: error: [GHC-25897] • Couldn't match type ‘b’ with ‘a -> b0’ Expected: a -> a -> b0 Actual: a -> b diff --git a/testsuite/tests/typecheck/should_fail/T17173.stderr b/testsuite/tests/typecheck/should_fail/T17173.stderr index b5bd059bac22..859b713f8073 100644 --- a/testsuite/tests/typecheck/should_fail/T17173.stderr +++ b/testsuite/tests/typecheck/should_fail/T17173.stderr @@ -1,5 +1,5 @@ -T17173.hs:6:7: error: +T17173.hs:6:7: error: [GHC-95781] • Cannot apply expression of type ‘a0 -> a0’ to a visible type argument ‘Bool’ • In the expression: diff --git a/testsuite/tests/typecheck/should_fail/T17213.stderr b/testsuite/tests/typecheck/should_fail/T17213.stderr index abfa600452af..ec2078d7badc 100644 --- a/testsuite/tests/typecheck/should_fail/T17213.stderr +++ b/testsuite/tests/typecheck/should_fail/T17213.stderr @@ -1,5 +1,5 @@ -T17213.hs:6:1: error: +T17213.hs:6:1: error: [GHC-91510] • Illegal polymorphic type: forall a. a -> a • When checking the inferred type g :: (forall a. a -> a) -> Int diff --git a/testsuite/tests/typecheck/should_fail/T17355.stderr b/testsuite/tests/typecheck/should_fail/T17355.stderr index 5212ef8787f7..36bc73aa60f3 100644 --- a/testsuite/tests/typecheck/should_fail/T17355.stderr +++ b/testsuite/tests/typecheck/should_fail/T17355.stderr @@ -1,9 +1,9 @@ -T17355.hs:9:10: error: +T17355.hs:9:10: error: [GHC-91510] • Illegal polymorphic type: forall a. a • In the instance declaration for ‘Generic (forall a. a)’ -T17355.hs:10:10: error: +T17355.hs:10:10: error: [GHC-91510] • Illegal polymorphic type: forall a. a -> a • In the instance declaration for ‘HasField "myPoly" Foo (forall a. a -> a)’ diff --git a/testsuite/tests/typecheck/should_fail/T17563.stderr b/testsuite/tests/typecheck/should_fail/T17563.stderr index 08c077fb7ca9..7f6462b83993 100644 --- a/testsuite/tests/typecheck/should_fail/T17563.stderr +++ b/testsuite/tests/typecheck/should_fail/T17563.stderr @@ -1,5 +1,5 @@ -T17563.hs:8:9: error: +T17563.hs:8:9: error: [GHC-80003] • Non type-variable argument in the constraint: Num (T a x) • In the quantified constraint ‘forall x. Num (T a x)’ In the type signature: blah :: (forall x. Num (T a x)) => T a b diff --git a/testsuite/tests/typecheck/should_fail/T17566b.stderr b/testsuite/tests/typecheck/should_fail/T17566b.stderr index 50e788d7235e..d1a95eceef83 100644 --- a/testsuite/tests/typecheck/should_fail/T17566b.stderr +++ b/testsuite/tests/typecheck/should_fail/T17566b.stderr @@ -1,4 +1,4 @@ -T17566b.hs:7:12: error: +T17566b.hs:7:12: error: [GHC-17370] • Different names for the same type variable: ‘k1’ and ‘k2’ • In the class declaration for ‘C’ diff --git a/testsuite/tests/typecheck/should_fail/T17566c.stderr b/testsuite/tests/typecheck/should_fail/T17566c.stderr index 16d82cf26a62..ace4636302e9 100644 --- a/testsuite/tests/typecheck/should_fail/T17566c.stderr +++ b/testsuite/tests/typecheck/should_fail/T17566c.stderr @@ -1,5 +1,5 @@ -T17566c.hs:11:12: error: +T17566c.hs:11:12: error: [GHC-17370] • Different names for the same type variable: ‘k’ bound at T17566c.hs:10:12 ‘k’ bound at T17566c.hs:11:12 diff --git a/testsuite/tests/typecheck/should_fail/T17773.stderr b/testsuite/tests/typecheck/should_fail/T17773.stderr index 22b3d5577e8a..66dd78d44901 100644 --- a/testsuite/tests/typecheck/should_fail/T17773.stderr +++ b/testsuite/tests/typecheck/should_fail/T17773.stderr @@ -1,5 +1,5 @@ -T17773.hs:16:22: error: +T17773.hs:16:22: error: [GHC-88464] • Found hole: _Refl :: Mzero x y :~: (x <|> y) Where: ‘x’, ‘f’, ‘k’, ‘a’, ‘y’ are rigid type variables bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T17775.stderr b/testsuite/tests/typecheck/should_fail/T17775.stderr index 2dc0448ab828..56d89f1c761c 100644 --- a/testsuite/tests/typecheck/should_fail/T17775.stderr +++ b/testsuite/tests/typecheck/should_fail/T17775.stderr @@ -1,5 +1,5 @@ -T17775.hs:15:5: error: +T17775.hs:15:5: error: [GHC-83865] • Couldn't match type ‘Char’ with ‘Show Int => ()’ Expected: Int -> Show Int => () Actual: Int -> Char diff --git a/testsuite/tests/typecheck/should_fail/T18127a.stderr b/testsuite/tests/typecheck/should_fail/T18127a.stderr index 60dcb3e1215a..67fbf0e5fc84 100644 --- a/testsuite/tests/typecheck/should_fail/T18127a.stderr +++ b/testsuite/tests/typecheck/should_fail/T18127a.stderr @@ -1,5 +1,5 @@ -T18127a.hs:5:5: error: +T18127a.hs:5:5: error: [GHC-91028] • Couldn't match expected type ‘(forall a. a) -> ()’ with actual type ‘a1’ Cannot instantiate unification variable ‘a1’ @@ -7,7 +7,7 @@ T18127a.hs:5:5: error: • In the expression: undefined In an equation for ‘a’: a = undefined -T18127a.hs:8:5: error: +T18127a.hs:8:5: error: [GHC-91028] • Couldn't match expected type ‘(Show a => a) -> ()’ with actual type ‘a3’ Cannot instantiate unification variable ‘a3’ @@ -17,14 +17,14 @@ T18127a.hs:8:5: error: • Relevant bindings include b :: (Show a => a) -> () (bound at T18127a.hs:8:1) -T18127a.hs:12:5: error: +T18127a.hs:12:5: error: [GHC-91028] • Couldn't match expected type ‘C -> ()’ with actual type ‘a0’ Cannot instantiate unification variable ‘a0’ with a type involving polytypes: C -> () • In the expression: undefined In an equation for ‘c’: c = undefined -T18127a.hs:16:5: error: +T18127a.hs:16:5: error: [GHC-91028] • Couldn't match expected type ‘D a -> ()’ with actual type ‘a2’ Cannot instantiate unification variable ‘a2’ with a type involving polytypes: D a -> () diff --git a/testsuite/tests/typecheck/should_fail/T18357a.stderr b/testsuite/tests/typecheck/should_fail/T18357a.stderr index f60e09922a2c..1b32a63b8b0f 100644 --- a/testsuite/tests/typecheck/should_fail/T18357a.stderr +++ b/testsuite/tests/typecheck/should_fail/T18357a.stderr @@ -1,5 +1,5 @@ -T18357a.hs:9:10: error: +T18357a.hs:9:10: error: [GHC-25897] • Couldn't match kind ‘r’ with ‘LiftedRep’ Expected a type, but ‘Int’ has kind ‘*’ • In the type ‘Int’ diff --git a/testsuite/tests/typecheck/should_fail/T18398.stderr b/testsuite/tests/typecheck/should_fail/T18398.stderr index a7b8e256c142..e9824e5b5061 100644 --- a/testsuite/tests/typecheck/should_fail/T18398.stderr +++ b/testsuite/tests/typecheck/should_fail/T18398.stderr @@ -1,11 +1,11 @@ -T18398.hs:13:34: error: +T18398.hs:13:34: error: [GHC-39999] • No instance for ‘C Ex p0’ arising from a use of ‘meth’ • In the expression: meth x y In a case alternative: MkEx _ -> meth x y In the expression: case x of MkEx _ -> meth x y -T18398.hs:13:70: error: +T18398.hs:13:70: error: [GHC-39999] • No instance for ‘C Ex p0’ arising from a use of ‘meth’ • In the expression: meth x z In a case alternative: MkEx _ -> meth x z diff --git a/testsuite/tests/typecheck/should_fail/T18406.stderr b/testsuite/tests/typecheck/should_fail/T18406.stderr index 1e9532688771..5e411b0c7443 100644 --- a/testsuite/tests/typecheck/should_fail/T18406.stderr +++ b/testsuite/tests/typecheck/should_fail/T18406.stderr @@ -1,5 +1,5 @@ -T18406.hs:8:7: error: +T18406.hs:8:7: error: [GHC-39999] • No instance for ‘C Bool b0’ arising from a use of ‘op’ • In the expression: op True x In an equation for ‘f’: f x = op True x diff --git a/testsuite/tests/typecheck/should_fail/T18640a.stderr b/testsuite/tests/typecheck/should_fail/T18640a.stderr index edc9a83c2585..bffd5693210e 100644 --- a/testsuite/tests/typecheck/should_fail/T18640a.stderr +++ b/testsuite/tests/typecheck/should_fail/T18640a.stderr @@ -1,5 +1,5 @@ -T18640a.hs:11:1: error: +T18640a.hs:11:1: error: [GHC-25897] • Couldn't match kind ‘a’ with ‘*’ Expected: forall (b :: k). * -> * Actual: forall (b :: k). * -> a diff --git a/testsuite/tests/typecheck/should_fail/T18640b.stderr b/testsuite/tests/typecheck/should_fail/T18640b.stderr index 2a84295a73a5..2aff30e516bd 100644 --- a/testsuite/tests/typecheck/should_fail/T18640b.stderr +++ b/testsuite/tests/typecheck/should_fail/T18640b.stderr @@ -1,5 +1,5 @@ -T18640b.hs:14:10: error: +T18640b.hs:14:10: error: [GHC-25897] • Couldn't match kind ‘k’ with ‘a’ Expected kind ‘forall b -> a’, but ‘F1’ has kind ‘forall k -> k’ ‘k’ is a rigid type variable bound by diff --git a/testsuite/tests/typecheck/should_fail/T18640c.stderr b/testsuite/tests/typecheck/should_fail/T18640c.stderr index 447882717f50..d1fc774db0d4 100644 --- a/testsuite/tests/typecheck/should_fail/T18640c.stderr +++ b/testsuite/tests/typecheck/should_fail/T18640c.stderr @@ -1,5 +1,5 @@ -T18640c.hs:14:11: error: +T18640c.hs:14:11: error: [GHC-25897] • Couldn't match kind ‘x’ with ‘*’ Expected kind ‘forall (k1 :: k) -> x’, but ‘F1’ has kind ‘forall (k1 :: k) -> *’ diff --git a/testsuite/tests/typecheck/should_fail/T18714.stderr b/testsuite/tests/typecheck/should_fail/T18714.stderr index e038e603e1cd..692eb6b1d53a 100644 --- a/testsuite/tests/typecheck/should_fail/T18714.stderr +++ b/testsuite/tests/typecheck/should_fail/T18714.stderr @@ -1,5 +1,5 @@ -T18714.hs:11:14: error: +T18714.hs:11:14: error: [GHC-01259] • Illegal constraint in a kind: forall a. Show a => a -> a • In the first argument of ‘Id’, namely ‘(Any :: forall a. Show a => a -> a)’ diff --git a/testsuite/tests/typecheck/should_fail/T18851.stderr b/testsuite/tests/typecheck/should_fail/T18851.stderr index 613435041c6f..54f3836e313b 100644 --- a/testsuite/tests/typecheck/should_fail/T18851.stderr +++ b/testsuite/tests/typecheck/should_fail/T18851.stderr @@ -1,5 +1,5 @@ -T18851.hs:35:5: error: +T18851.hs:35:5: error: [GHC-18872] • Couldn't match type ‘B’ with ‘A’ arising from a superclass required to satisfy ‘C int0 A’, arising from a use of ‘f’ diff --git a/testsuite/tests/typecheck/should_fail/T18851b.stderr b/testsuite/tests/typecheck/should_fail/T18851b.stderr index 3b8dd1d8011c..4fc632552412 100644 --- a/testsuite/tests/typecheck/should_fail/T18851b.stderr +++ b/testsuite/tests/typecheck/should_fail/T18851b.stderr @@ -1,5 +1,5 @@ -T18851b.hs:27:5: error: +T18851b.hs:27:5: error: [GHC-18872] • Couldn't match type ‘A’ with ‘B’ arising from a functional dependency between constraints: ‘C Int B’ arising from a use of ‘f’ at T18851b.hs:27:5 diff --git a/testsuite/tests/typecheck/should_fail/T18851c.stderr b/testsuite/tests/typecheck/should_fail/T18851c.stderr index 4e44759e53af..58c15d1b77e3 100644 --- a/testsuite/tests/typecheck/should_fail/T18851c.stderr +++ b/testsuite/tests/typecheck/should_fail/T18851c.stderr @@ -1,5 +1,5 @@ -T18851c.hs:25:27: error: +T18851c.hs:25:27: error: [GHC-25897] • Could not deduce ‘n2 ~ n1’ arising from reasoning about an injective type family using constraints: ‘Plus1 n2 ~ n’ diff --git a/testsuite/tests/typecheck/should_fail/T18869.stderr b/testsuite/tests/typecheck/should_fail/T18869.stderr index 12e8d6f0a3bc..c0e8cdded169 100644 --- a/testsuite/tests/typecheck/should_fail/T18869.stderr +++ b/testsuite/tests/typecheck/should_fail/T18869.stderr @@ -1,23 +1,23 @@ -T18869.hs:10:11: error: +T18869.hs:10:11: error: [GHC-95909] • Constructor ‘MkFoo’ does not have the required strict field(s): foo :: a0 • In the expression: MkFoo {} In an equation for ‘testFoo’: testFoo = MkFoo {} -T18869.hs:16:11: error: +T18869.hs:16:11: error: [GHC-95909] • Constructor ‘MkBar’ does not have the required strict field(s): bar :: a0 • In the expression: MkBar {} In an equation for ‘testBar’: testBar = MkBar {} -T18869.hs:22:11: error: +T18869.hs:22:11: error: [GHC-95909] • Constructor ‘MkBaz’ does not have the required strict field(s): baz2 :: Bool • In the expression: MkBaz {baz1 = False} In an equation for ‘testBaz’: testBaz = MkBaz {baz1 = False} -T18869.hs:30:12: error: +T18869.hs:30:12: error: [GHC-95909] • Constructor ‘MkQuux’ does not have the required strict field(s): quux :: TQuux Int • In the expression: MkQuux {} diff --git a/testsuite/tests/typecheck/should_fail/T18939_Fail.stderr b/testsuite/tests/typecheck/should_fail/T18939_Fail.stderr index 0fc705f46bbc..d49c7dcc9d9f 100644 --- a/testsuite/tests/typecheck/should_fail/T18939_Fail.stderr +++ b/testsuite/tests/typecheck/should_fail/T18939_Fail.stderr @@ -1,5 +1,5 @@ -T18939_Fail.hs:6:1: error: +T18939_Fail.hs:6:1: error: [GHC-91510] • Illegal polymorphic type: forall a -> a • In the data type declaration for ‘F’ - Suggested fix: Perhaps you intended to use RankNTypes \ No newline at end of file + Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/typecheck/should_fail/T1897a.stderr b/testsuite/tests/typecheck/should_fail/T1897a.stderr index 416fcd93f07b..1c5413e4b2df 100644 --- a/testsuite/tests/typecheck/should_fail/T1897a.stderr +++ b/testsuite/tests/typecheck/should_fail/T1897a.stderr @@ -1,5 +1,5 @@ -T1897a.hs:9:1: error: +T1897a.hs:9:1: error: [GHC-39999] • Could not deduce ‘Wob a0 b’ from the context: Wob a b bound by the inferred type for ‘foo’: diff --git a/testsuite/tests/typecheck/should_fail/T1899.stderr b/testsuite/tests/typecheck/should_fail/T1899.stderr index 451a4444e115..d0dd4d8736b2 100644 --- a/testsuite/tests/typecheck/should_fail/T1899.stderr +++ b/testsuite/tests/typecheck/should_fail/T1899.stderr @@ -1,5 +1,5 @@ -T1899.hs:12:29: error: +T1899.hs:12:29: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘Proposition a0’ ‘a’ is a rigid type variable bound by diff --git a/testsuite/tests/typecheck/should_fail/T19142.stderr b/testsuite/tests/typecheck/should_fail/T19142.stderr index fc94a4166f48..7a7956a27ed4 100644 --- a/testsuite/tests/typecheck/should_fail/T19142.stderr +++ b/testsuite/tests/typecheck/should_fail/T19142.stderr @@ -1,12 +1,12 @@ -T19142.hs:14:15: error: +T19142.hs:14:15: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the first argument of ‘Maybe’, namely ‘Maybe’ In the type ‘Maybe Maybe’ In a pattern type signature: Maybe Maybe -T19142.hs:20:12: error: +T19142.hs:20:12: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’ • In the type ‘Int’ In the expression: foo @Int diff --git a/testsuite/tests/typecheck/should_fail/T19187.stderr b/testsuite/tests/typecheck/should_fail/T19187.stderr index 81ddb2ddd080..7740d9ebe0af 100644 --- a/testsuite/tests/typecheck/should_fail/T19187.stderr +++ b/testsuite/tests/typecheck/should_fail/T19187.stderr @@ -1,5 +1,5 @@ -T19187.hs:8:10: error: +T19187.hs:8:10: error: [GHC-80003] • Non type-variable argument in the constraint: Eq Int • In the instance declaration for ‘Eq T’ Suggested fix: Perhaps you intended to use FlexibleContexts diff --git a/testsuite/tests/typecheck/should_fail/T19346.stderr b/testsuite/tests/typecheck/should_fail/T19346.stderr index d9cb0632e996..c7978932339e 100644 --- a/testsuite/tests/typecheck/should_fail/T19346.stderr +++ b/testsuite/tests/typecheck/should_fail/T19346.stderr @@ -1,5 +1,5 @@ -T19346.hs:6:11: error: +T19346.hs:6:11: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Bool’ • In the first argument of ‘MkT’, namely ‘x’ In the expression: MkT x diff --git a/testsuite/tests/typecheck/should_fail/T19364.stderr b/testsuite/tests/typecheck/should_fail/T19364.stderr index ffd5ad2bf7a7..085380ccbb47 100644 --- a/testsuite/tests/typecheck/should_fail/T19364.stderr +++ b/testsuite/tests/typecheck/should_fail/T19364.stderr @@ -1,5 +1,5 @@ -T19364.hs:9:12: error: +T19364.hs:9:12: error: [GHC-83865] • Couldn't match type ‘[Char]’ with ‘Bool’ Expected: Foo Actual: String diff --git a/testsuite/tests/typecheck/should_fail/T19415.stderr b/testsuite/tests/typecheck/should_fail/T19415.stderr index 899137c4279e..075d10bd97cc 100644 --- a/testsuite/tests/typecheck/should_fail/T19415.stderr +++ b/testsuite/tests/typecheck/should_fail/T19415.stderr @@ -1,5 +1,5 @@ -T19415.hs:27:8: error: +T19415.hs:27:8: error: [GHC-18872] • Couldn't match type ‘[Char]’ with ‘Char’ arising from a functional dependency between: constraint ‘SetField "name" (Pet a0) (Pet b) Char’ diff --git a/testsuite/tests/typecheck/should_fail/T19915.stderr b/testsuite/tests/typecheck/should_fail/T19915.stderr index 7f759996054b..a6ce93a7c4c7 100644 --- a/testsuite/tests/typecheck/should_fail/T19915.stderr +++ b/testsuite/tests/typecheck/should_fail/T19915.stderr @@ -1,4 +1,4 @@ -T19915.hs:5:10: error: +T19915.hs:5:10: error: [GHC-97044] • Class ‘WithDict’ does not support user-specified instances. • In the instance declaration for ‘WithDict a b’ diff --git a/testsuite/tests/typecheck/should_fail/T19977a.stderr b/testsuite/tests/typecheck/should_fail/T19977a.stderr index 3bce358d49d8..fec298099ea8 100644 --- a/testsuite/tests/typecheck/should_fail/T19977a.stderr +++ b/testsuite/tests/typecheck/should_fail/T19977a.stderr @@ -1,5 +1,5 @@ -T19977a.hs:11:7: error: +T19977a.hs:11:7: error: [GHC-39999] • Could not deduce ‘Show a’ arising from a use of ‘f’ from the context: Show [a] bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T19977b.stderr b/testsuite/tests/typecheck/should_fail/T19977b.stderr index d773791a2de3..6a5b6a1443c0 100644 --- a/testsuite/tests/typecheck/should_fail/T19977b.stderr +++ b/testsuite/tests/typecheck/should_fail/T19977b.stderr @@ -1,5 +1,5 @@ -T19977b.hs:21:5: error: +T19977b.hs:21:5: error: [GHC-39999] • Could not deduce ‘C a’ arising from a use of ‘h’ from the context: D a bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T19978.stderr b/testsuite/tests/typecheck/should_fail/T19978.stderr index 68796e058a97..4328b1adda1f 100644 --- a/testsuite/tests/typecheck/should_fail/T19978.stderr +++ b/testsuite/tests/typecheck/should_fail/T19978.stderr @@ -1,5 +1,5 @@ -T19978.hs:8:7: error: +T19978.hs:8:7: error: [GHC-31891] • Illegal term-level use of the type constructor or class ‘Bool’ • imported from ‘Prelude’ at T19978.hs:3:8-13 (and originally defined in ‘GHC.Types’) @@ -8,11 +8,11 @@ T19978.hs:8:7: error: • In the expression: Bool In an equation for ‘ex1’: ex1 = Bool -T19978.hs:14:7: error: +T19978.hs:14:7: error: [GHC-88464] Data constructor not in scope: Let Suggested fix: Perhaps use ‘Left’ (imported from Prelude) -T19978.hs:21:7: error: +T19978.hs:21:7: error: [GHC-31891] • Illegal term-level use of the type variable ‘mytv’ • bound at T19978.hs:20:15 • Perhaps use one of these: diff --git a/testsuite/tests/typecheck/should_fail/T20043.stderr b/testsuite/tests/typecheck/should_fail/T20043.stderr index cafb93bd04bc..ffa4f544d704 100644 --- a/testsuite/tests/typecheck/should_fail/T20043.stderr +++ b/testsuite/tests/typecheck/should_fail/T20043.stderr @@ -1,5 +1,5 @@ -T20043.hs:20:24: error: +T20043.hs:20:24: error: [GHC-83865] • Expected kind ‘GHC.Types.RuntimeRep’, but ‘a’ has kind ‘*’ • In the type ‘a’ In the expression: undefined @a diff --git a/testsuite/tests/typecheck/should_fail/T20064.stderr b/testsuite/tests/typecheck/should_fail/T20064.stderr index 1f743bb0751b..ab0d3338445f 100644 --- a/testsuite/tests/typecheck/should_fail/T20064.stderr +++ b/testsuite/tests/typecheck/should_fail/T20064.stderr @@ -1,5 +1,5 @@ -T20064.hs:14:7: error: +T20064.hs:14:7: error: [GHC-39999] • No instance for ‘C Int b0’ arising from a use of ‘meth’ • In the expression: meth ab In an equation for ‘foo’: foo = meth ab diff --git a/testsuite/tests/typecheck/should_fail/T20122.stderr b/testsuite/tests/typecheck/should_fail/T20122.stderr index d810d1433f33..8884ca6fa851 100644 --- a/testsuite/tests/typecheck/should_fail/T20122.stderr +++ b/testsuite/tests/typecheck/should_fail/T20122.stderr @@ -1,5 +1,5 @@ -T20122.hs:11:7: error: +T20122.hs:11:7: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘test’ prevents the constraint ‘(Testable a0)’ from being solved. Relevant bindings include diff --git a/testsuite/tests/typecheck/should_fail/T20189.stderr b/testsuite/tests/typecheck/should_fail/T20189.stderr index df67fa406657..077f57d6d588 100644 --- a/testsuite/tests/typecheck/should_fail/T20189.stderr +++ b/testsuite/tests/typecheck/should_fail/T20189.stderr @@ -1,5 +1,5 @@ -T20189.hs:6:5: error: +T20189.hs:6:5: error: [GHC-88464] • Found hole: _ :: t Where: ‘t’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T20241b.stderr b/testsuite/tests/typecheck/should_fail/T20241b.stderr index 7b742e790571..76106b2fb609 100644 --- a/testsuite/tests/typecheck/should_fail/T20241b.stderr +++ b/testsuite/tests/typecheck/should_fail/T20241b.stderr @@ -1,12 +1,12 @@ -T20241b.hs:16:8: error: +T20241b.hs:16:8: error: [GHC-47403] • Boom • In the type signature: foo :: ((TypeError (Text "Boom") :: (Type -> Type) -> Type -> Constraint) IO) a => Proxy a -> () -T20241b.hs:20:8: error: +T20241b.hs:20:8: error: [GHC-47403] • Boom • In the type signature: bar :: ((c :: Constraint diff --git a/testsuite/tests/typecheck/should_fail/T20443b.stderr b/testsuite/tests/typecheck/should_fail/T20443b.stderr index 050b945db04f..48f0664d91d3 100644 --- a/testsuite/tests/typecheck/should_fail/T20443b.stderr +++ b/testsuite/tests/typecheck/should_fail/T20443b.stderr @@ -1,5 +1,5 @@ -T20443b.hs:13:4: error: +T20443b.hs:13:4: error: [GHC-01629] • Too many type arguments in constructor pattern for ‘Proxy’ Expected no more than 1; got 2 • In the pattern: Proxy @Type @Int diff --git a/testsuite/tests/typecheck/should_fail/T20542.stderr b/testsuite/tests/typecheck/should_fail/T20542.stderr index 14fb60848c1a..85565d273b44 100644 --- a/testsuite/tests/typecheck/should_fail/T20542.stderr +++ b/testsuite/tests/typecheck/should_fail/T20542.stderr @@ -1,5 +1,5 @@ -T20542.hs:17:7: error: +T20542.hs:17:7: error: [GHC-43085] • Overlapping instances for Foo String String arising from a use of ‘foo’ Matching instances: diff --git a/testsuite/tests/typecheck/should_fail/T20768_fail.stderr b/testsuite/tests/typecheck/should_fail/T20768_fail.stderr index 86bb3b5216ea..754622383060 100644 --- a/testsuite/tests/typecheck/should_fail/T20768_fail.stderr +++ b/testsuite/tests/typecheck/should_fail/T20768_fail.stderr @@ -1,31 +1,31 @@ -T20768_fail.hs:7:16: - Couldn't match expected type ‘Bool’ with actual type ‘Char’ - In the expression: 'c' +T20768_fail.hs:7:16: error: [GHC-83865] + • Couldn't match expected type ‘Bool’ with actual type ‘Char’ + • In the expression: 'c' In a stmt of a pattern guard for - a /cases alternative: + a \cases alternative: 'c' - In a /cases alternative: | 'c' -> "foo" + In a \cases alternative: | 'c' -> "foo" -T20768_fail.hs:9:1: - Couldn't match expected type: IO t0 +T20768_fail.hs:9:1: error: [GHC-83865] + • Couldn't match expected type: IO t0 with actual type: a0 -> m0 () - When checking the type of the IO action ‘main’ + • When checking the type of the IO action ‘main’ -T20768_fail.hs:11:11: - /cases alternatives have different numbers of arguments +T20768_fail.hs:11:11: error: [GHC-91938] + • \cases alternatives have different numbers of arguments T20768_fail.hs:11:18-33 T20768_fail.hs:12:18-31 - In the second argument of ‘(&)’, namely - ‘/cases + • In the second argument of ‘(&)’, namely + ‘\cases 1 2 -> return () 1 -> return ()’ In the expression: - 1 & /cases + 1 & \cases 1 2 -> return () 1 -> return () In an equation for ‘foo’: foo - = 1 & /cases + = 1 & \cases 1 2 -> return () 1 -> return () diff --git a/testsuite/tests/typecheck/should_fail/T21130.stderr b/testsuite/tests/typecheck/should_fail/T21130.stderr index d1d018bc9f21..2f7d8bbf100a 100644 --- a/testsuite/tests/typecheck/should_fail/T21130.stderr +++ b/testsuite/tests/typecheck/should_fail/T21130.stderr @@ -1,34 +1,34 @@ -T21130.hs:10:6: - Found hole: _ :: t0 -> Int +T21130.hs:10:6: error: [GHC-88464] + • Found hole: _ :: t0 -> Int Where: ‘t0’ is an ambiguous type variable - In the expression: (_ f) :: Int + • In the expression: (_ f) :: Int In an equation for ‘x’: x = (_ f) :: Int - Relevant bindings include x :: Int (bound at T21130.hs:10:1) - Valid hole fits include - head :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a - with head @Int + • Relevant bindings include x :: Int (bound at T21130.hs:10:1) + Valid hole fits include + head :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a + with head @Int (imported from ‘Prelude’ at T21130.hs:2:8-13 (and originally defined in ‘GHC.List’)) - last :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a - with last @Int + last :: forall a. GHC.Stack.Types.HasCallStack => [a] -> a + with last @Int (imported from ‘Prelude’ at T21130.hs:2:8-13 (and originally defined in ‘GHC.List’)) - read :: forall a. Read a => String -> a - with read @Int + read :: forall a. Read a => String -> a + with read @Int (imported from ‘Prelude’ at T21130.hs:2:8-13 (and originally defined in ‘Text.Read’)) - T21130.hs:10:8: - Ambiguous type variable ‘t0’ arising from a use of ‘f’ +T21130.hs:10:8: error: [GHC-39999] + • Ambiguous type variable ‘t0’ arising from a use of ‘f’ prevents the constraint ‘(Enum (Item t0))’ from being solved. Probable fix: use a type annotation to specify what ‘t0’ should be. - Potentially matching instances: + Potentially matching instances: instance Enum Ordering -- Defined in ‘GHC.Enum’ instance Enum Integer -- Defined in ‘GHC.Enum’ - ...plus N others - ...plus N instances involving out-of-scope types - (use -fprint-potential-instances to see them all) - In the first argument of ‘_’, namely ‘f’ - In the expression: (_ f) :: Int + ...plus 8 others + ...plus five instances involving out-of-scope types + (use -fprint-potential-instances to see them all) + • In the first argument of ‘_’, namely ‘f’ + In the expression: (_ f) :: Int In an equation for ‘x’: x = (_ f) :: Int diff --git a/testsuite/tests/typecheck/should_fail/T21158.stderr b/testsuite/tests/typecheck/should_fail/T21158.stderr index 88394ad2e9e2..fe5002d6c42d 100644 --- a/testsuite/tests/typecheck/should_fail/T21158.stderr +++ b/testsuite/tests/typecheck/should_fail/T21158.stderr @@ -1,11 +1,11 @@ -T21158.hs:12:14: error: +T21158.hs:12:14: error: [GHC-83865] • Couldn't match type: F b0 with: F b Expected: [F b] Actual: [F b0] - NB: ‘F’ is a non-injective type family - The type variable ‘b0’ is ambiguous + NB: ‘F’ is a non-injective type family + The type variable ‘b0’ is ambiguous • In a record update at field ‘x’, with type constructor ‘T’ and data constructor ‘MkT’. @@ -14,13 +14,13 @@ T21158.hs:12:14: error: • Relevant bindings include foo1 :: [Int] -> T b (bound at T21158.hs:12:1) -T21158.hs:15:49: error: +T21158.hs:15:49: error: [GHC-83865] • Couldn't match type: F b1 with: F b Expected: [F b] Actual: [F b1] - NB: ‘F’ is a non-injective type family - The type variable ‘b1’ is ambiguous + NB: ‘F’ is a non-injective type family + The type variable ‘b1’ is ambiguous • In the second argument of ‘MkT’, namely ‘y’ In the expression: MkT newx y In a case alternative: MkT x y -> MkT newx y diff --git a/testsuite/tests/typecheck/should_fail/T21327.stderr b/testsuite/tests/typecheck/should_fail/T21327.stderr index 3756d2e3ae2f..98ea237018e6 100644 --- a/testsuite/tests/typecheck/should_fail/T21327.stderr +++ b/testsuite/tests/typecheck/should_fail/T21327.stderr @@ -1,8 +1,8 @@ -T21327.hs:7:11: - Couldn't match a lifted type with an unlifted type +T21327.hs:7:11: error: [GHC-18872] + • Couldn't match a lifted type with an unlifted type When matching types t0 :: * Int# :: TYPE 'IntRep - In the expression: ?p :: Int# + • In the expression: ?p :: Int# In an equation for ‘foo’: foo () = (?p :: Int#) diff --git a/testsuite/tests/typecheck/should_fail/T21338.stderr b/testsuite/tests/typecheck/should_fail/T21338.stderr index 754763ed2359..4fed65d7af0e 100644 --- a/testsuite/tests/typecheck/should_fail/T21338.stderr +++ b/testsuite/tests/typecheck/should_fail/T21338.stderr @@ -1,31 +1,23 @@ -T21338.hs:38:24: - Couldn't match type ‘flds0’ with ‘flds’ +T21338.hs:38:24: error: [GHC-83865] + • Couldn't match type ‘flds0’ with ‘flds’ Expected: NP (K String) flds Actual: NP (K String) flds0 - ‘flds0’ is untouchable - inside the constraints: All flds0 - bound by a pattern with constructor: - Record :: forall (xs :: [*]). - All xs => - NP (K String) xs -> ConstructorInfo xs, - in a case alternative - at T21338.hs:38:3-11 - ‘flds’ is a rigid type variable bound by - the type signature for: - fieldNames :: forall a (flds :: [*]). NP (K String) flds - at T21338.hs:36:1-57 - In the second argument of ‘hmap’, namely ‘np’ + ‘flds’ is a rigid type variable bound by + the type signature for: + fieldNames :: forall a (flds :: [*]). NP (K String) flds + at T21338.hs:36:1-57 + • In the second argument of ‘hmap’, namely ‘np’ In the expression: hmap id np In a case alternative: Record np -> hmap id np - Relevant bindings include + • Relevant bindings include np :: NP (K String) flds0 (bound at T21338.hs:38:10) fieldNames :: NP (K String) flds (bound at T21338.hs:37:1) -T21338.hs:39:8: - Cannot apply expression of type ‘h0 f0 xs0 -> h0 g0 xs0’ +T21338.hs:39:8: error: [GHC-95781] + • Cannot apply expression of type ‘h0 f0 xs0 -> h0 g0 xs0’ to a visible type argument ‘flds’ - In the expression: hmap undefined @flds + • In the expression: hmap undefined @flds In a case alternative: _ -> hmap undefined @flds In the expression: case foo @a of diff --git a/testsuite/tests/typecheck/should_fail/T21583.stderr b/testsuite/tests/typecheck/should_fail/T21583.stderr index a250419f091d..13ad0f96f392 100644 --- a/testsuite/tests/typecheck/should_fail/T21583.stderr +++ b/testsuite/tests/typecheck/should_fail/T21583.stderr @@ -1,21 +1,26 @@ -T21583.hs:14:23: error: [-Wstar-is-type (in -Wall, -Wcompat), -Werror=star-is-type] + +T21583.hs:14:23: error: [GHC-39567] [-Wstar-is-type (in -Wall, -Wcompat), Werror=star-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead. -T21583.hs:14:28: error: [-Wstar-is-type (in -Wall, -Wcompat), -Werror=star-is-type] + +T21583.hs:14:28: error: [GHC-39567] [-Wstar-is-type (in -Wall, -Wcompat), Werror=star-is-type] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. Suggested fix: Use ‘Type’ from ‘Data.Kind’ instead. + T21583.hs:56:10: warning: [-Wmissing-methods (in -Wdefault)] • No explicit implementation for ‘fmap’ • In the instance declaration for ‘Functor (SplitFunctor g f)’ + T21583.hs:58:10: warning: [-Wmissing-methods (in -Wdefault)] • No explicit implementation for either ‘foldMap’ or ‘foldr’ • In the instance declaration for ‘Foldable (SplitFunctor g f)’ + T21583.hs:60:10: warning: [-Wmissing-methods (in -Wdefault)] • No explicit implementation for either ‘traverse’ or ‘sequenceA’ diff --git a/testsuite/tests/typecheck/should_fail/T2307.stderr b/testsuite/tests/typecheck/should_fail/T2307.stderr index 80171d3b009e..733320eb12e5 100644 --- a/testsuite/tests/typecheck/should_fail/T2307.stderr +++ b/testsuite/tests/typecheck/should_fail/T2307.stderr @@ -1,5 +1,5 @@ -T2307.hs:11:11: +T2307.hs:11:11: error: [GHC-46208] Functional dependencies conflict between instance declarations: instance [incoherent] C Int (Maybe String) Float -- Defined at T2307.hs:11:11 diff --git a/testsuite/tests/typecheck/should_fail/T2354.stderr b/testsuite/tests/typecheck/should_fail/T2354.stderr index e21eca081e2d..f374c7dcde2c 100644 --- a/testsuite/tests/typecheck/should_fail/T2354.stderr +++ b/testsuite/tests/typecheck/should_fail/T2354.stderr @@ -1,6 +1,6 @@ -T2354.hs:4:3: error: +T2354.hs:4:3: error: [GHC-28587] The NOINLINE pragma for default method ‘toInt’ lacks an accompanying binding -T2354.hs:6:3: error: +T2354.hs:6:3: error: [GHC-28587] The NOINLINE pragma for default method ‘fromInt’ lacks an accompanying binding diff --git a/testsuite/tests/typecheck/should_fail/T2414.stderr b/testsuite/tests/typecheck/should_fail/T2414.stderr index 1d89247489b6..cf451c446ffc 100644 --- a/testsuite/tests/typecheck/should_fail/T2414.stderr +++ b/testsuite/tests/typecheck/should_fail/T2414.stderr @@ -1,5 +1,5 @@ -T2414.hs:9:13: error: +T2414.hs:9:13: error: [GHC-27958] • Couldn't match type ‘b0’ with ‘(Bool, b0)’ Expected: b0 -> Maybe (Bool, b0) Actual: b0 -> Maybe b0 diff --git a/testsuite/tests/typecheck/should_fail/T2534.stderr b/testsuite/tests/typecheck/should_fail/T2534.stderr index 24cee873c821..2c3656c6a117 100644 --- a/testsuite/tests/typecheck/should_fail/T2534.stderr +++ b/testsuite/tests/typecheck/should_fail/T2534.stderr @@ -1,5 +1,5 @@ -T2534.hs:3:19: error: +T2534.hs:3:19: error: [GHC-83865] • Couldn't match expected type: a -> a -> b with actual type: [a0] • In the second argument of ‘foldr’, namely ‘[]’ diff --git a/testsuite/tests/typecheck/should_fail/T2538.stderr b/testsuite/tests/typecheck/should_fail/T2538.stderr index bbc2c7ee9444..0eb8a95d3341 100644 --- a/testsuite/tests/typecheck/should_fail/T2538.stderr +++ b/testsuite/tests/typecheck/should_fail/T2538.stderr @@ -1,15 +1,15 @@ -T2538.hs:7:6: error: +T2538.hs:7:6: error: [GHC-91510] • Illegal qualified type: Eq a => a -> a • In the type signature: f :: (Eq a => a -> a) -> Int Suggested fix: Perhaps you intended to use RankNTypes -T2538.hs:10:6: error: +T2538.hs:10:6: error: [GHC-91510] • Illegal qualified type: Eq a => a -> a • In the type signature: g :: [Eq a => a -> a] -> Int Suggested fix: Perhaps you intended to use ImpredicativeTypes -T2538.hs:13:6: error: +T2538.hs:13:6: error: [GHC-91510] • Illegal qualified type: Eq a => a -> a • In the type signature: h :: Ix (Eq a => a -> a) => Int Suggested fix: Perhaps you intended to use ImpredicativeTypes diff --git a/testsuite/tests/typecheck/should_fail/T2688.stderr b/testsuite/tests/typecheck/should_fail/T2688.stderr index 748ec505f373..8cdd9e8eb410 100644 --- a/testsuite/tests/typecheck/should_fail/T2688.stderr +++ b/testsuite/tests/typecheck/should_fail/T2688.stderr @@ -1,5 +1,5 @@ -T2688.hs:8:22: error: +T2688.hs:8:22: error: [GHC-25897] • Couldn't match expected type ‘v’ with actual type ‘s’ ‘s’ is a rigid type variable bound by the class declaration for ‘VectorSpace’ diff --git a/testsuite/tests/typecheck/should_fail/T2714.stderr b/testsuite/tests/typecheck/should_fail/T2714.stderr index 215ad495cf10..fdb328eb1ce3 100644 --- a/testsuite/tests/typecheck/should_fail/T2714.stderr +++ b/testsuite/tests/typecheck/should_fail/T2714.stderr @@ -1,5 +1,5 @@ -T2714.hs:8:7: error: +T2714.hs:8:7: error: [GHC-25897] • Couldn't match type ‘c’ with ‘f0 (a -> b)’ Expected: c -> a Actual: f0 (a -> b) -> f0 b diff --git a/testsuite/tests/typecheck/should_fail/T2806.stderr b/testsuite/tests/typecheck/should_fail/T2806.stderr index 02a4d81c15ff..ee1ff09df064 100644 --- a/testsuite/tests/typecheck/should_fail/T2806.stderr +++ b/testsuite/tests/typecheck/should_fail/T2806.stderr @@ -1,5 +1,5 @@ -T2806.hs:13:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +T2806.hs:13:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (I# _x) = 4 diff --git a/testsuite/tests/typecheck/should_fail/T2846b.stderr b/testsuite/tests/typecheck/should_fail/T2846b.stderr index 95b30407f2bf..1a59b51b53e8 100644 --- a/testsuite/tests/typecheck/should_fail/T2846b.stderr +++ b/testsuite/tests/typecheck/should_fail/T2846b.stderr @@ -1,5 +1,5 @@ -T2846b.hs:5:11: error: +T2846b.hs:5:11: error: [GHC-91028] • Couldn't match expected type ‘a1’ with actual type ‘[Num a0 => a0]’ Cannot instantiate unification variable ‘a1’ diff --git a/testsuite/tests/typecheck/should_fail/T2994.stderr b/testsuite/tests/typecheck/should_fail/T2994.stderr index a3ae3bc4d2c4..bfc4bf916e16 100644 --- a/testsuite/tests/typecheck/should_fail/T2994.stderr +++ b/testsuite/tests/typecheck/should_fail/T2994.stderr @@ -1,23 +1,23 @@ -T2994.hs:12:10: error: +T2994.hs:12:10: error: [GHC-83865] • Expecting one more argument to ‘MonadReader Int’ Expected a constraint, but ‘MonadReader Int’ has kind ‘* -> Constraint’ • In the instance declaration for ‘MonadReader Int’ -T2994.hs:14:10: error: +T2994.hs:14:10: error: [GHC-83865] • Expecting one more argument to ‘MonadReader (Reader' r)’ Expected a constraint, but ‘MonadReader (Reader' r)’ has kind ‘* -> Constraint’ • In the instance declaration for ‘MonadReader (Reader' r)’ -T2994.hs:14:23: error: +T2994.hs:14:23: error: [GHC-83865] • Expecting one more argument to ‘Reader' r’ Expected a type, but ‘Reader' r’ has kind ‘* -> *’ • In the first argument of ‘MonadReader’, namely ‘(Reader' r)’ In the instance declaration for ‘MonadReader (Reader' r)’ -T2994.hs:16:10: error: +T2994.hs:16:10: error: [GHC-83865] • Expected kind ‘(* -> *) -> Constraint’, but ‘MonadReader r r’ has kind ‘Constraint’ • In the instance declaration for ‘MonadReader r r (Reader' r)’ diff --git a/testsuite/tests/typecheck/should_fail/T3155.stderr b/testsuite/tests/typecheck/should_fail/T3155.stderr index ed7c4160e27d..7c2ad8ce6f26 100644 --- a/testsuite/tests/typecheck/should_fail/T3155.stderr +++ b/testsuite/tests/typecheck/should_fail/T3155.stderr @@ -1,5 +1,5 @@ -T3155.hs:14:9: error: +T3155.hs:14:9: error: [GHC-25955] Illegal symbol ‘forall’ in type Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/typecheck/should_fail/T3176.stderr b/testsuite/tests/typecheck/should_fail/T3176.stderr index d2867df4a166..d8b102dc6866 100644 --- a/testsuite/tests/typecheck/should_fail/T3176.stderr +++ b/testsuite/tests/typecheck/should_fail/T3176.stderr @@ -1,5 +1,5 @@ -T3176.hs:9:27: error: +T3176.hs:9:27: error: [GHC-55876] • Cannot use record selector ‘unES’ as a function due to escaped type variables • In the first argument of ‘($)’, namely ‘unES’ In the second argument of ‘($)’, namely ‘unES $ f t’ diff --git a/testsuite/tests/typecheck/should_fail/T3323.stderr b/testsuite/tests/typecheck/should_fail/T3323.stderr index 9d55fcd7fd2a..cb2d52f21df0 100644 --- a/testsuite/tests/typecheck/should_fail/T3323.stderr +++ b/testsuite/tests/typecheck/should_fail/T3323.stderr @@ -1,5 +1,5 @@ -T3323.hs:18:7: error: +T3323.hs:18:7: error: [GHC-39999] • Could not deduce ‘GHC.IO.Device.RawIO dev0’ from the context: (GHC.IO.Device.RawIO dev, GHC.IO.Device.IODevice dev, GHC.IO.BufferedIO.BufferedIO dev, diff --git a/testsuite/tests/typecheck/should_fail/T3406.stderr b/testsuite/tests/typecheck/should_fail/T3406.stderr index 70791b2cdc3b..e037dd4b0f66 100644 --- a/testsuite/tests/typecheck/should_fail/T3406.stderr +++ b/testsuite/tests/typecheck/should_fail/T3406.stderr @@ -1,5 +1,5 @@ -T3406.hs:11:28: error: +T3406.hs:11:28: error: [GHC-83865] • Couldn't match type ‘Int’ with ‘a -> Int’ Expected: a -> ItemColID a b Actual: ItemColID a1 b1 diff --git a/testsuite/tests/typecheck/should_fail/T3540.stderr b/testsuite/tests/typecheck/should_fail/T3540.stderr index 0fdb88b3139b..4ab149541973 100644 --- a/testsuite/tests/typecheck/should_fail/T3540.stderr +++ b/testsuite/tests/typecheck/should_fail/T3540.stderr @@ -1,20 +1,20 @@ -T3540.hs:4:12: error: +T3540.hs:4:12: error: [GHC-83865] • Expected a type, but ‘a ~ Int’ has kind ‘Constraint’ • In the type signature: thing :: (a ~ Int) -T3540.hs:7:20: error: +T3540.hs:7:20: error: [GHC-83865] • Expected a type, but ‘a ~ Int’ has kind ‘Constraint’ • In the type signature: thing1 :: Int -> (a ~ Int) -T3540.hs:10:13: error: +T3540.hs:10:13: error: [GHC-83865] • Expected a type, but ‘a ~ Int’ has kind ‘Constraint’ • In the type signature: thing2 :: (a ~ Int) -> Int -T3540.hs:13:12: error: +T3540.hs:13:12: error: [GHC-83865] • Expected a type, but ‘?dude :: Int’ has kind ‘Constraint’ • In the type signature: thing3 :: (?dude :: Int) -> Int -T3540.hs:16:11: error: +T3540.hs:16:11: error: [GHC-83865] • Expected a type, but ‘Eq a’ has kind ‘Constraint’ • In the type signature: thing4 :: (Eq a) -> Int diff --git a/testsuite/tests/typecheck/should_fail/T3592.stderr b/testsuite/tests/typecheck/should_fail/T3592.stderr index 458922cb9133..09a3d769406b 100644 --- a/testsuite/tests/typecheck/should_fail/T3592.stderr +++ b/testsuite/tests/typecheck/should_fail/T3592.stderr @@ -1,5 +1,5 @@ -T3592.hs:8:5: error: +T3592.hs:8:5: error: [GHC-91028] • Couldn't match type ‘a0’ with ‘T a’ Expected: T a -> String Actual: a0 -> String diff --git a/testsuite/tests/typecheck/should_fail/T3613.stderr b/testsuite/tests/typecheck/should_fail/T3613.stderr index cff3344597df..6c0f3aafd1a8 100644 --- a/testsuite/tests/typecheck/should_fail/T3613.stderr +++ b/testsuite/tests/typecheck/should_fail/T3613.stderr @@ -1,5 +1,5 @@ -T3613.hs:14:20: error: +T3613.hs:14:20: error: [GHC-83865] • Couldn't match type ‘IO’ with ‘Maybe’ Expected: Maybe () Actual: IO () @@ -7,7 +7,7 @@ T3613.hs:14:20: error: In the first argument of ‘fooThen’, namely ‘(bar >> undefined)’ In the expression: fooThen (bar >> undefined) -T3613.hs:17:24: error: +T3613.hs:17:24: error: [GHC-83865] • Couldn't match type ‘IO’ with ‘Maybe’ Expected: Maybe () Actual: IO () diff --git a/testsuite/tests/typecheck/should_fail/T3950.stderr b/testsuite/tests/typecheck/should_fail/T3950.stderr index 16fde0e48869..6c3740b34249 100644 --- a/testsuite/tests/typecheck/should_fail/T3950.stderr +++ b/testsuite/tests/typecheck/should_fail/T3950.stderr @@ -1,5 +1,5 @@ -T3950.hs:16:13: error: +T3950.hs:16:13: error: [GHC-18872] • Couldn't match kind ‘*’ with ‘* -> *’ When matching types w :: (* -> * -> *) -> * diff --git a/testsuite/tests/typecheck/should_fail/T4875.stderr b/testsuite/tests/typecheck/should_fail/T4875.stderr index 48808e319cf0..ae9d3e9771a0 100644 --- a/testsuite/tests/typecheck/should_fail/T4875.stderr +++ b/testsuite/tests/typecheck/should_fail/T4875.stderr @@ -1,5 +1,5 @@ -T4875.hs:27:24: error: +T4875.hs:27:24: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘r’ has kind ‘*’ • In the type signature: multiplicities :: r c -> [c] In the class declaration for ‘Morphic’ diff --git a/testsuite/tests/typecheck/should_fail/T4921.stderr b/testsuite/tests/typecheck/should_fail/T4921.stderr index 392928b7eb2d..d532557c163c 100644 --- a/testsuite/tests/typecheck/should_fail/T4921.stderr +++ b/testsuite/tests/typecheck/should_fail/T4921.stderr @@ -1,5 +1,5 @@ -T4921.hs:10:9: error: +T4921.hs:10:9: error: [GHC-39999] • Ambiguous type variables ‘a0’, ‘b1’ arising from a use of ‘f’ prevents the constraint ‘(C a0 b1)’ from being solved. Relevant bindings include x :: a0 (bound at T4921.hs:10:1) @@ -11,7 +11,7 @@ T4921.hs:10:9: error: In the expression: fst f In an equation for ‘x’: x = fst f -T4921.hs:12:9: error: +T4921.hs:12:9: error: [GHC-39999] • Ambiguous type variable ‘b0’ arising from a use of ‘f’ prevents the constraint ‘(C Int b0)’ from being solved. Probable fix: use a type annotation to specify what ‘b0’ should be. diff --git a/testsuite/tests/typecheck/should_fail/T502.stderr b/testsuite/tests/typecheck/should_fail/T502.stderr index dd6b97d13224..5960bad751e5 100644 --- a/testsuite/tests/typecheck/should_fail/T502.stderr +++ b/testsuite/tests/typecheck/should_fail/T502.stderr @@ -1,5 +1,5 @@ -T502.hs:8:11: error: +T502.hs:8:11: error: [GHC-83865] • Couldn't match expected type: (a0, Int) with actual type: (# Int, Int #) • In the first argument of ‘snd’, namely ‘foo’ diff --git a/testsuite/tests/typecheck/should_fail/T5084.stderr b/testsuite/tests/typecheck/should_fail/T5084.stderr index c2bd522a0b32..fadae37be5ef 100644 --- a/testsuite/tests/typecheck/should_fail/T5084.stderr +++ b/testsuite/tests/typecheck/should_fail/T5084.stderr @@ -1,3 +1,3 @@ -T5084.hs:6:5: +T5084.hs:6:5: error: [GHC-28587] The INLINE pragma for default method ‘bar’ lacks an accompanying binding diff --git a/testsuite/tests/typecheck/should_fail/T5095.stderr b/testsuite/tests/typecheck/should_fail/T5095.stderr index 083551cc5f87..1c8d03a69ff2 100644 --- a/testsuite/tests/typecheck/should_fail/T5095.stderr +++ b/testsuite/tests/typecheck/should_fail/T5095.stderr @@ -1,5 +1,5 @@ -T5095.hs:9:11: error: +T5095.hs:9:11: error: [GHC-43085] • Overlapping instances for Eq a arising from a use of ‘==’ Matching instance: instance [overlappable] Show a => Eq a -- Defined at T5095.hs:5:31 diff --git a/testsuite/tests/typecheck/should_fail/T5246.stderr b/testsuite/tests/typecheck/should_fail/T5246.stderr index ea4185af3329..60964682f25d 100644 --- a/testsuite/tests/typecheck/should_fail/T5246.stderr +++ b/testsuite/tests/typecheck/should_fail/T5246.stderr @@ -1,5 +1,5 @@ -T5246.hs:11:10: error: +T5246.hs:11:10: error: [GHC-18872] • Couldn't match type ‘[Char]’ with ‘Int’ arising from a functional dependency between constraints: ‘?x::Int’ arising from a use of ‘foo’ at T5246.hs:11:10-12 diff --git a/testsuite/tests/typecheck/should_fail/T5300.stderr b/testsuite/tests/typecheck/should_fail/T5300.stderr index a64f5fd09024..63aed82773ec 100644 --- a/testsuite/tests/typecheck/should_fail/T5300.stderr +++ b/testsuite/tests/typecheck/should_fail/T5300.stderr @@ -1,5 +1,5 @@ -T5300.hs:12:7: error: +T5300.hs:12:7: error: [GHC-39999] • Could not deduce ‘C1 a b c0’ from the context: (Monad m, C1 a b c) bound by the type signature for: @@ -13,7 +13,7 @@ T5300.hs:12:7: error: In the type signature: f1 :: (Monad m, C1 a b c) => a -> StateT (T b) m a -T5300.hs:15:7: error: +T5300.hs:15:7: error: [GHC-39999] • Could not deduce ‘C1 a1 b1 c10’ from the context: (Monad m, C1 a1 b1 c1, C2 a2 b2 c2) bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T5570.stderr b/testsuite/tests/typecheck/should_fail/T5570.stderr index 0c12be680eef..06d53d4fed1b 100644 --- a/testsuite/tests/typecheck/should_fail/T5570.stderr +++ b/testsuite/tests/typecheck/should_fail/T5570.stderr @@ -1,5 +1,5 @@ -T5570.hs:7:16: error: +T5570.hs:7:16: error: [GHC-83865] • Expecting a lifted type, but ‘Double#’ is unlifted • In the first argument of ‘($)’, namely ‘D#’ In the second argument of ‘($)’, namely ‘D# $ 3.0##’ diff --git a/testsuite/tests/typecheck/should_fail/T5684.stderr b/testsuite/tests/typecheck/should_fail/T5684.stderr index 256040f26bfe..1fc3bbdc0628 100644 --- a/testsuite/tests/typecheck/should_fail/T5684.stderr +++ b/testsuite/tests/typecheck/should_fail/T5684.stderr @@ -1,5 +1,5 @@ -T5684.hs:20:12: error: +T5684.hs:20:12: error: [GHC-39999] • No instance for ‘A Bool’ arising from a use of ‘op’ • In the expression: op False False In the expression: @@ -7,7 +7,7 @@ T5684.hs:20:12: error: In an equation for ‘flop1’: flop1 = [op False False, op 'c' undefined, op True undefined] -T5684.hs:24:12: error: +T5684.hs:24:12: error: [GHC-39999] • No instance for ‘B Char b0’ arising from a use of ‘op’ • In the expression: op 'c' undefined In the expression: diff --git a/testsuite/tests/typecheck/should_fail/T5684b.stderr b/testsuite/tests/typecheck/should_fail/T5684b.stderr index 9808afe97cec..a527b677a38c 100644 --- a/testsuite/tests/typecheck/should_fail/T5684b.stderr +++ b/testsuite/tests/typecheck/should_fail/T5684b.stderr @@ -1,5 +1,5 @@ -T5684b.hs:12:12: error: +T5684b.hs:12:12: error: [GHC-39999] • No instance for ‘A Bool’ arising from a use of ‘op’ • In the expression: op False False In the expression: @@ -7,7 +7,7 @@ T5684b.hs:12:12: error: In an equation for ‘flop2’: flop2 = [op False False, op True undefined, op 'c' undefined] -T5684b.hs:14:12: error: +T5684b.hs:14:12: error: [GHC-39999] • No instance for ‘B Char b0’ arising from a use of ‘op’ • In the expression: op 'c' undefined In the expression: diff --git a/testsuite/tests/typecheck/should_fail/T5684c.stderr b/testsuite/tests/typecheck/should_fail/T5684c.stderr index af57d1b7c12a..cbe769dc0d8a 100644 --- a/testsuite/tests/typecheck/should_fail/T5684c.stderr +++ b/testsuite/tests/typecheck/should_fail/T5684c.stderr @@ -1,5 +1,5 @@ -T5684c.hs:12:12: error: +T5684c.hs:12:12: error: [GHC-39999] • No instance for ‘B Char b0’ arising from a use of ‘op’ • In the expression: op 'c' undefined In the expression: @@ -7,7 +7,7 @@ T5684c.hs:12:12: error: In an equation for ‘flop3’: flop3 = [op 'c' undefined, op True undefined, op False False] -T5684c.hs:13:12: error: +T5684c.hs:13:12: error: [GHC-39999] • No instance for ‘A Bool’ arising from a use of ‘op’ • In the expression: op True undefined In the expression: diff --git a/testsuite/tests/typecheck/should_fail/T5684d.stderr b/testsuite/tests/typecheck/should_fail/T5684d.stderr index ea5cd031efc9..07c161e76e1e 100644 --- a/testsuite/tests/typecheck/should_fail/T5684d.stderr +++ b/testsuite/tests/typecheck/should_fail/T5684d.stderr @@ -1,5 +1,5 @@ -T5684d.hs:12:12: error: +T5684d.hs:12:12: error: [GHC-39999] • No instance for ‘B Char b0’ arising from a use of ‘op’ • In the expression: op 'c' undefined In the expression: @@ -7,7 +7,7 @@ T5684d.hs:12:12: error: In an equation for ‘flop4’: flop4 = [op 'c' undefined, op False False, op True undefined] -T5684d.hs:13:12: error: +T5684d.hs:13:12: error: [GHC-39999] • No instance for ‘A Bool’ arising from a use of ‘op’ • In the expression: op False False In the expression: diff --git a/testsuite/tests/typecheck/should_fail/T5684e.stderr b/testsuite/tests/typecheck/should_fail/T5684e.stderr index d81fcc888133..3f0bb9590800 100644 --- a/testsuite/tests/typecheck/should_fail/T5684e.stderr +++ b/testsuite/tests/typecheck/should_fail/T5684e.stderr @@ -1,5 +1,5 @@ -T5684e.hs:12:12: error: +T5684e.hs:12:12: error: [GHC-39999] • No instance for ‘A Bool’ arising from a use of ‘op’ • In the expression: op True undefined In the expression: @@ -7,7 +7,7 @@ T5684e.hs:12:12: error: In an equation for ‘flop5’: flop5 = [op True undefined, op 'c' undefined, op False False] -T5684e.hs:13:12: error: +T5684e.hs:13:12: error: [GHC-39999] • No instance for ‘B Char b0’ arising from a use of ‘op’ • In the expression: op 'c' undefined In the expression: diff --git a/testsuite/tests/typecheck/should_fail/T5684f.stderr b/testsuite/tests/typecheck/should_fail/T5684f.stderr index a5f2c886d3e5..0a036fc309e9 100644 --- a/testsuite/tests/typecheck/should_fail/T5684f.stderr +++ b/testsuite/tests/typecheck/should_fail/T5684f.stderr @@ -1,5 +1,5 @@ -T5684f.hs:12:12: error: +T5684f.hs:12:12: error: [GHC-39999] • No instance for ‘A Bool’ arising from a use of ‘op’ • In the expression: op True undefined In the expression: @@ -7,7 +7,7 @@ T5684f.hs:12:12: error: In an equation for ‘flop6’: flop6 = [op True undefined, op False False, op 'c' undefined] -T5684f.hs:14:12: error: +T5684f.hs:14:12: error: [GHC-39999] • No instance for ‘B Char b0’ arising from a use of ‘op’ • In the expression: op 'c' undefined In the expression: diff --git a/testsuite/tests/typecheck/should_fail/T5689.stderr b/testsuite/tests/typecheck/should_fail/T5689.stderr index 3c25fee2dbfa..a34a199929e2 100644 --- a/testsuite/tests/typecheck/should_fail/T5689.stderr +++ b/testsuite/tests/typecheck/should_fail/T5689.stderr @@ -1,5 +1,5 @@ -T5689.hs:15:23: error: +T5689.hs:15:23: error: [GHC-39999] • No instance for ‘Num Bool’ arising from the literal ‘1234’ • In the first argument of ‘c’, namely ‘1234’ In the second argument of ‘($)’, namely ‘c 1234’ diff --git a/testsuite/tests/typecheck/should_fail/T5691.stderr b/testsuite/tests/typecheck/should_fail/T5691.stderr index 45c54720cffc..723b504b482a 100644 --- a/testsuite/tests/typecheck/should_fail/T5691.stderr +++ b/testsuite/tests/typecheck/should_fail/T5691.stderr @@ -1,10 +1,10 @@ -T5691.hs:24:10: error: +T5691.hs:24:10: error: [GHC-39999] • No instance for ‘Alternative RecDecParser’ arising from the superclasses of an instance declaration • In the instance declaration for ‘MonadPlus RecDecParser’ -T5691.hs:24:10: error: +T5691.hs:24:10: error: [GHC-39999] • No instance for ‘Monad RecDecParser’ arising from the superclasses of an instance declaration • In the instance declaration for ‘MonadPlus RecDecParser’ diff --git a/testsuite/tests/typecheck/should_fail/T5853.stderr b/testsuite/tests/typecheck/should_fail/T5853.stderr index 564f58ad62e5..1e71808b4ec4 100644 --- a/testsuite/tests/typecheck/should_fail/T5853.stderr +++ b/testsuite/tests/typecheck/should_fail/T5853.stderr @@ -1,5 +1,5 @@ -T5853.hs:15:52: error: +T5853.hs:15:52: error: [GHC-25897] • Could not deduce ‘Subst fa2 (Elem fb) ~ fb’ arising from a use of ‘<$>’ from the context: (F fa1, Elem fb ~ Elem fb, diff --git a/testsuite/tests/typecheck/should_fail/T5858.stderr b/testsuite/tests/typecheck/should_fail/T5858.stderr index 5679c6a99528..cf00175de85a 100644 --- a/testsuite/tests/typecheck/should_fail/T5858.stderr +++ b/testsuite/tests/typecheck/should_fail/T5858.stderr @@ -1,5 +1,5 @@ -T5858.hs:11:7: error: +T5858.hs:11:7: error: [GHC-39999] • Ambiguous type variables ‘a0’, ‘a1’ arising from a use of ‘infer’ prevents the constraint ‘(InferOverloaded ([a0], [a1]))’ from being solved. diff --git a/testsuite/tests/typecheck/should_fail/T5957.stderr b/testsuite/tests/typecheck/should_fail/T5957.stderr index 95c9a7a578eb..c9da7f92974f 100644 --- a/testsuite/tests/typecheck/should_fail/T5957.stderr +++ b/testsuite/tests/typecheck/should_fail/T5957.stderr @@ -1,5 +1,5 @@ -T5957.hs:4:9: error: +T5957.hs:4:9: error: [GHC-91510] • Illegal qualified type: Show a => a -> String • In the type signature: flex :: Int -> Show a => a -> String Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/typecheck/should_fail/T5978.stderr b/testsuite/tests/typecheck/should_fail/T5978.stderr index bc339695ea89..90730779d5ad 100644 --- a/testsuite/tests/typecheck/should_fail/T5978.stderr +++ b/testsuite/tests/typecheck/should_fail/T5978.stderr @@ -1,8 +1,8 @@ -T5978.hs:22:11: error: - Couldn't match type ‘Bool’ with ‘Char’ - arising from a functional dependency between: - constraint ‘C Double Char’ arising from a use of ‘polyBar’ - instance ‘C Double Bool’ at T5978.hs:8:10-22 - In the expression: polyBar id monoFoo - In an equation for ‘monoBar’: monoBar = polyBar id monoFoo +T5978.hs:22:11: error: [GHC-18872] + • Couldn't match type ‘Bool’ with ‘Char’ + arising from a functional dependency between: + constraint ‘C Double Char’ arising from a use of ‘polyBar’ + instance ‘C Double Bool’ at T5978.hs:8:10-22 + • In the expression: polyBar id monoFoo + In an equation for ‘monoBar’: monoBar = polyBar id monoFoo diff --git a/testsuite/tests/typecheck/should_fail/T6001.stderr b/testsuite/tests/typecheck/should_fail/T6001.stderr index a7a82749239b..17b53dffd3ae 100644 --- a/testsuite/tests/typecheck/should_fail/T6001.stderr +++ b/testsuite/tests/typecheck/should_fail/T6001.stderr @@ -1,5 +1,5 @@ -T6001.hs:8:18: error: +T6001.hs:8:18: error: [GHC-83865] • Couldn't match type ‘Int’ with ‘Integer’ Expected: Integer -> DayKind Actual: Int -> DayKind diff --git a/testsuite/tests/typecheck/should_fail/T6018fail.stderr b/testsuite/tests/typecheck/should_fail/T6018fail.stderr index 78a92e7d1bdf..4171226794ee 100644 --- a/testsuite/tests/typecheck/should_fail/T6018fail.stderr +++ b/testsuite/tests/typecheck/should_fail/T6018fail.stderr @@ -4,53 +4,53 @@ [4 of 5] Compiling T6018Dfail ( T6018Dfail.hs, T6018Dfail.o ) [5 of 5] Compiling T6018fail ( T6018fail.hs, T6018fail.o ) -T6018fail.hs:15:15: error: +T6018fail.hs:15:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: F Bool Int Char = Int -- Defined at T6018fail.hs:15:15 F Char Bool Int = Int -- Defined at T6018fail.hs:14:15 -T6018fail.hs:21:15: error: +T6018fail.hs:21:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: I Int Int Int = Bool -- Defined at T6018fail.hs:21:15 I Int Char Bool = Bool -- Defined at T6018fail.hs:20:15 -T6018fail.hs:30:15: error: +T6018fail.hs:30:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: IdProxy a = Id a -- Defined at T6018fail.hs:30:15 -T6018fail.hs:38:15: error: +T6018fail.hs:38:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation is a bare type variable but these LHS type and kind patterns are not bare variables: ‘'Z’ P 'Z m = m -- Defined at T6018fail.hs:38:15 -T6018fail.hs:39:15: error: +T6018fail.hs:39:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: P ('S n) m = 'S (P n m) -- Defined at T6018fail.hs:39:15 P 'Z m = m -- Defined at T6018fail.hs:38:15 -T6018fail.hs:44:15: error: +T6018fail.hs:44:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type variable ‘b’ cannot be inferred from the right-hand side. In the type family equation: J Int b c = Char -- Defined at T6018fail.hs:44:15 -T6018fail.hs:48:15: error: +T6018fail.hs:48:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type variable ‘n’ cannot be inferred from the right-hand side. In the type family equation: K ('S n) m = 'S m -- Defined at T6018fail.hs:48:15 -T6018fail.hs:53:15: error: +T6018fail.hs:53:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: L a = MaybeSyn a -- Defined at T6018fail.hs:53:15 -T6018fail.hs:61:10: error: +T6018fail.hs:61:10: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variable ‘k1’ cannot be inferred from the right-hand side. @@ -58,7 +58,7 @@ T6018fail.hs:61:10: error: PolyKindVarsF @{[k1]} @[k2] ('[] @k1) = '[] @k2 -- Defined at T6018fail.hs:61:10 -T6018fail.hs:64:15: error: +T6018fail.hs:64:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variable ‘k1’ cannot be inferred from the right-hand side. @@ -66,14 +66,14 @@ T6018fail.hs:64:15: error: PolyKindVars @[k1] @[k2] ('[] @k1) = '[] @k2 -- Defined at T6018fail.hs:64:15 -T6018fail.hs:68:15: error: +T6018fail.hs:68:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variable ‘k’ cannot be inferred from the right-hand side. In the type family equation: forall {k} {a :: k} {b :: k}. Fc @k a b = Int -- Defined at T6018fail.hs:68:15 -T6018fail.hs:72:15: error: +T6018fail.hs:72:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variables ‘k’, ‘a’, ‘b’ cannot be inferred from the right-hand side. @@ -81,60 +81,60 @@ T6018fail.hs:72:15: error: forall {k} {a :: k} {b :: k}. Gc @k a b = Int -- Defined at T6018fail.hs:72:15 -T6018fail.hs:76:15: error: +T6018fail.hs:76:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: F1 [a] = Maybe (GF1 a) -- Defined at T6018fail.hs:76:15 F1 (Maybe a) = Maybe (GF2 a) -- Defined at T6018fail.hs:77:15 -T6018fail.hs:89:15: error: +T6018fail.hs:89:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation is a bare type variable but these LHS type and kind patterns are not bare variables: ‘[a]’ W1 [a] = a -- Defined at T6018fail.hs:89:15 -T6018fail.hs:92:15: error: +T6018fail.hs:92:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: W2 [a] = W2 a -- Defined at T6018fail.hs:92:15 -T6018fail.hs:97:15: error: +T6018fail.hs:97:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: Z1 (Maybe b) = (b, [b]) -- Defined at T6018fail.hs:97:15 Z1 [a] = (a, a) -- Defined at T6018fail.hs:96:15 -T6018fail.hs:101:15: error: +T6018fail.hs:101:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: G1 (Maybe b) = [(b, b)] -- Defined at T6018fail.hs:101:15 G1 [a] = [a] -- Defined at T6018fail.hs:100:15 -T6018fail.hs:105:15: error: +T6018fail.hs:105:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: G3 a Bool = (Bool, a) -- Defined at T6018fail.hs:105:15 G3 a Int = (a, Int) -- Defined at T6018fail.hs:104:15 -T6018fail.hs:108:15: error: +T6018fail.hs:108:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type variable ‘b’ cannot be inferred from the right-hand side. In the type family equation: G4 a b = [a] -- Defined at T6018fail.hs:108:15 -T6018fail.hs:112:15: error: +T6018fail.hs:112:15: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: G5 Int = [Bool] -- Defined at T6018fail.hs:112:15 G5 [a] = [GF1 a] -- Defined at T6018fail.hs:111:15 -T6018fail.hs:115:15: error: +T6018fail.hs:115:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type variable ‘a’ cannot be inferred from the right-hand side. In the type family equation: G6 [a] = [HF1 a] -- Defined at T6018fail.hs:115:15 -T6018fail.hs:120:15: error: +T6018fail.hs:120:15: error: [GHC-05175] Type family equation violates the family's injectivity annotation. Type/kind variables ‘k’, ‘c’ cannot be inferred from the right-hand side. @@ -142,26 +142,26 @@ T6018fail.hs:120:15: error: forall {k} {a} {b} {c :: k}. G7 @k a b c = [G7a @k a b c] -- Defined at T6018fail.hs:120:15 -T6018fail.hs:131:1: error: +T6018fail.hs:131:1: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: FC Int Bool = Bool -- Defined at T6018fail.hs:131:1 FC Int Char = Bool -- Defined at T6018fail.hs:127:10 -T6018fail.hs:136:1: error: +T6018fail.hs:136:1: error: [GHC-05175] Type family equation violates the family's injectivity annotation. RHS of injective type family equation is a bare type variable but these LHS type and kind patterns are not bare variables: ‘*’, ‘Char’ FC Char a = a -- Defined at T6018fail.hs:136:1 -module T6018Cfail: error: +module T6018Cfail: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: T6018Bfail.H Char Bool Int = Int -- Defined in module T6018Cfail T6018Bfail.H Bool Int Char = Int -- Defined in module T6018Dfail -module T6018Afail: error: +module T6018Afail: error: [GHC-05175] Type family equation right-hand sides overlap; this violates the family's injectivity annotation: G Char Bool Int = Int -- Defined in module T6018Afail diff --git a/testsuite/tests/typecheck/should_fail/T6018failclosed.stderr b/testsuite/tests/typecheck/should_fail/T6018failclosed.stderr index bd953629b9e2..b7f9b3fd6311 100644 --- a/testsuite/tests/typecheck/should_fail/T6018failclosed.stderr +++ b/testsuite/tests/typecheck/should_fail/T6018failclosed.stderr @@ -1,12 +1,12 @@ -T6018failclosed.hs:11:5: error: +T6018failclosed.hs:11:5: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: IdProxyClosed a = IdClosed a -- Defined at T6018failclosed.hs:11:5 • In the equations for closed type family ‘IdProxyClosed’ In the type family declaration for ‘IdProxyClosed’ -T6018failclosed.hs:19:5: error: +T6018failclosed.hs:19:5: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: PClosed 'Z m = m -- Defined at T6018failclosed.hs:19:5 @@ -15,7 +15,7 @@ T6018failclosed.hs:19:5: error: • In the equations for closed type family ‘PClosed’ In the type family declaration for ‘PClosed’ -T6018failclosed.hs:19:5: error: +T6018failclosed.hs:19:5: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. RHS of injective type family equation is a bare type variable but these LHS type and kind patterns are not bare variables: ‘'Z’ @@ -23,7 +23,7 @@ T6018failclosed.hs:19:5: error: • In the equations for closed type family ‘PClosed’ In the type family declaration for ‘PClosed’ -T6018failclosed.hs:25:5: error: +T6018failclosed.hs:25:5: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. Type/kind variables ‘k1’, ‘b’ cannot be inferred from the right-hand side. @@ -34,7 +34,7 @@ T6018failclosed.hs:25:5: error: • In the equations for closed type family ‘JClosed’ In the type family declaration for ‘JClosed’ -T6018failclosed.hs:30:5: error: +T6018failclosed.hs:30:5: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. Type variable ‘n’ cannot be inferred from the right-hand side. In the type family equation: @@ -42,7 +42,7 @@ T6018failclosed.hs:30:5: error: • In the equations for closed type family ‘KClosed’ In the type family declaration for ‘KClosed’ -T6018failclosed.hs:35:5: error: +T6018failclosed.hs:35:5: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. RHS of injective type family equation cannot be a type family: forall {k} {a :: k}. @@ -50,7 +50,7 @@ T6018failclosed.hs:35:5: error: • In the equations for closed type family ‘LClosed’ In the type family declaration for ‘LClosed’ -T6018failclosed.hs:39:5: error: +T6018failclosed.hs:39:5: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: FClosed Char Bool Int = Int -- Defined at T6018failclosed.hs:39:5 @@ -58,7 +58,7 @@ T6018failclosed.hs:39:5: error: • In the equations for closed type family ‘FClosed’ In the type family declaration for ‘FClosed’ -T6018failclosed.hs:43:5: error: +T6018failclosed.hs:43:5: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: IClosed Int Char Bool = Bool -- Defined at T6018failclosed.hs:43:5 @@ -66,7 +66,7 @@ T6018failclosed.hs:43:5: error: • In the equations for closed type family ‘IClosed’ In the type family declaration for ‘IClosed’ -T6018failclosed.hs:49:3: error: +T6018failclosed.hs:49:3: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: E2 'True = 'False -- Defined at T6018failclosed.hs:49:3 @@ -74,7 +74,7 @@ T6018failclosed.hs:49:3: error: • In the equations for closed type family ‘E2’ In the type family declaration for ‘E2’ -T6018failclosed.hs:50:3: error: +T6018failclosed.hs:50:3: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. Type variable ‘a’ cannot be inferred from the right-hand side. In the type family equation: @@ -82,7 +82,7 @@ T6018failclosed.hs:50:3: error: • In the equations for closed type family ‘E2’ In the type family declaration for ‘E2’ -T6018failclosed.hs:61:3: error: +T6018failclosed.hs:61:3: error: [GHC-05175] • Type family equation right-hand sides overlap; this violates the family's injectivity annotation: F a IO = IO a -- Defined at T6018failclosed.hs:61:3 @@ -90,7 +90,7 @@ T6018failclosed.hs:61:3: error: • In the equations for closed type family ‘F’ In the type family declaration for ‘F’ -T6018failclosed.hs:66:5: error: +T6018failclosed.hs:66:5: error: [GHC-05175] • Type family equation violates the family's injectivity annotation. Type/kind variable ‘k’ cannot be inferred from the right-hand side. In the type family equation: diff --git a/testsuite/tests/typecheck/should_fail/T6018failclosed2.stderr b/testsuite/tests/typecheck/should_fail/T6018failclosed2.stderr index 52d57c01e669..66b5765fbc65 100644 --- a/testsuite/tests/typecheck/should_fail/T6018failclosed2.stderr +++ b/testsuite/tests/typecheck/should_fail/T6018failclosed2.stderr @@ -1,6 +1,6 @@ -T6018failclosed2.hs:17:10: error: +T6018failclosed2.hs:17:10: error: [GHC-83865] • Couldn't match expected type ‘Char’ with actual type ‘Bar a0’ - The type variable ‘a0’ is ambiguous + The type variable ‘a0’ is ambiguous • In the expression: bar 'c' In an equation for ‘barapp’: barapp = bar 'c' diff --git a/testsuite/tests/typecheck/should_fail/T6022.stderr b/testsuite/tests/typecheck/should_fail/T6022.stderr index 08ee73df2e37..70e4b708de7d 100644 --- a/testsuite/tests/typecheck/should_fail/T6022.stderr +++ b/testsuite/tests/typecheck/should_fail/T6022.stderr @@ -1,5 +1,5 @@ -T6022.hs:4:1: error: +T6022.hs:4:1: error: [GHC-80003] • Non type-variable argument in the constraint: Eq ([a] -> a) • When checking the inferred type f :: forall {a}. Eq ([a] -> a) => ([a] -> a) -> Bool diff --git a/testsuite/tests/typecheck/should_fail/T6069.stderr b/testsuite/tests/typecheck/should_fail/T6069.stderr index 0456a842803f..8b93135d9801 100644 --- a/testsuite/tests/typecheck/should_fail/T6069.stderr +++ b/testsuite/tests/typecheck/should_fail/T6069.stderr @@ -1,5 +1,5 @@ -T6069.hs:13:15: error: +T6069.hs:13:15: error: [GHC-83865] • Couldn't match type: forall s. ST s b0 with: ST s0 Int Expected: ST s0 Int -> b0 @@ -8,7 +8,7 @@ T6069.hs:13:15: error: In the expression: (print . runST) fourty_two In an equation for ‘f1’: f1 = (print . runST) fourty_two -T6069.hs:14:15: error: +T6069.hs:14:15: error: [GHC-83865] • Couldn't match type: forall s. ST s b1 with: ST s1 Int Expected: ST s1 Int -> b1 @@ -17,7 +17,7 @@ T6069.hs:14:15: error: In the first argument of ‘($)’, namely ‘(print . runST)’ In the expression: (print . runST) $ fourty_two -T6069.hs:15:16: error: +T6069.hs:15:16: error: [GHC-83865] • Couldn't match type: forall s. ST s b2 with: ST s2 Int Expected: ST s2 Int -> b2 diff --git a/testsuite/tests/typecheck/should_fail/T6078.stderr b/testsuite/tests/typecheck/should_fail/T6078.stderr index 65f5df765e7c..cf5beb627616 100644 --- a/testsuite/tests/typecheck/should_fail/T6078.stderr +++ b/testsuite/tests/typecheck/should_fail/T6078.stderr @@ -1,5 +1,5 @@ -T6078.hs:8:10: error: +T6078.hs:8:10: error: [GHC-20036] You can't mix polymorphic and unlifted bindings: ip1p@(Ptr ip1) = Ptr ip0 `plusPtr` len Suggested fix: Add a type signature. diff --git a/testsuite/tests/typecheck/should_fail/T6161.stderr b/testsuite/tests/typecheck/should_fail/T6161.stderr index 5b33bd9e947a..71c7455abd7d 100644 --- a/testsuite/tests/typecheck/should_fail/T6161.stderr +++ b/testsuite/tests/typecheck/should_fail/T6161.stderr @@ -1,5 +1,5 @@ -T6161.hs:19:10: error: +T6161.hs:19:10: error: [GHC-39999] • Could not deduce ‘Super (Fam a)’ arising from the superclasses of an instance declaration from the context: Foo a diff --git a/testsuite/tests/typecheck/should_fail/T7019.stderr b/testsuite/tests/typecheck/should_fail/T7019.stderr index ce7613109c6f..7234e39985fc 100644 --- a/testsuite/tests/typecheck/should_fail/T7019.stderr +++ b/testsuite/tests/typecheck/should_fail/T7019.stderr @@ -1,5 +1,5 @@ -T7019.hs:11:1: error: +T7019.hs:11:1: error: [GHC-91510] • Illegal polymorphic type: forall a. c (Free c a) A constraint must be a monotype • In the type synonym declaration for ‘C’ diff --git a/testsuite/tests/typecheck/should_fail/T7019a.stderr b/testsuite/tests/typecheck/should_fail/T7019a.stderr index 15eeb6735ba8..2f503ed044dd 100644 --- a/testsuite/tests/typecheck/should_fail/T7019a.stderr +++ b/testsuite/tests/typecheck/should_fail/T7019a.stderr @@ -1,5 +1,5 @@ -T7019a.hs:11:1: error: +T7019a.hs:11:1: error: [GHC-91510] • Illegal polymorphic type: forall b. Context (Associated a b) A constraint must be a monotype • In the context: forall b. Context (Associated a b) diff --git a/testsuite/tests/typecheck/should_fail/T7210.stderr b/testsuite/tests/typecheck/should_fail/T7210.stderr index d0ca04a84ee4..d37e8e72689f 100644 --- a/testsuite/tests/typecheck/should_fail/T7210.stderr +++ b/testsuite/tests/typecheck/should_fail/T7210.stderr @@ -1,5 +1,5 @@ -T7210.hs:5:19: error: +T7210.hs:5:19: error: [GHC-18932] • Unexpected strictness annotation: !IntMap strictness annotation cannot appear nested inside a type • In the type ‘!IntMap Int’ diff --git a/testsuite/tests/typecheck/should_fail/T7264.stderr b/testsuite/tests/typecheck/should_fail/T7264.stderr index 0f18dd41af50..89854dd9d8a9 100644 --- a/testsuite/tests/typecheck/should_fail/T7264.stderr +++ b/testsuite/tests/typecheck/should_fail/T7264.stderr @@ -1,5 +1,5 @@ -T7264.hs:13:19: error: +T7264.hs:13:19: error: [GHC-91028] • Couldn't match type ‘a’ with ‘forall r. r -> String’ Expected: a -> Foo Actual: (forall r. r -> String) -> Foo diff --git a/testsuite/tests/typecheck/should_fail/T7279.stderr b/testsuite/tests/typecheck/should_fail/T7279.stderr index 707718308185..dd31bb149243 100644 --- a/testsuite/tests/typecheck/should_fail/T7279.stderr +++ b/testsuite/tests/typecheck/should_fail/T7279.stderr @@ -1,5 +1,5 @@ -T7279.hs:6:10: error: +T7279.hs:6:10: error: [GHC-39999] • Could not deduce ‘Show b0’ from the context: (Eq a, Show b) bound by an instance declaration: diff --git a/testsuite/tests/typecheck/should_fail/T7368.stderr b/testsuite/tests/typecheck/should_fail/T7368.stderr index ef100b1fa42a..26f1c251e2f5 100644 --- a/testsuite/tests/typecheck/should_fail/T7368.stderr +++ b/testsuite/tests/typecheck/should_fail/T7368.stderr @@ -1,5 +1,5 @@ -T7368.hs:3:10: error: +T7368.hs:3:10: error: [GHC-18872] • Couldn't match kind ‘* -> *’ with ‘*’ When matching types b0 :: * diff --git a/testsuite/tests/typecheck/should_fail/T7368a.stderr b/testsuite/tests/typecheck/should_fail/T7368a.stderr index 2fcb92f2094f..28054f1f9249 100644 --- a/testsuite/tests/typecheck/should_fail/T7368a.stderr +++ b/testsuite/tests/typecheck/should_fail/T7368a.stderr @@ -1,5 +1,5 @@ -T7368a.hs:8:6: error: +T7368a.hs:8:6: error: [GHC-18872] • Couldn't match kind ‘* -> *’ with ‘*’ When matching types f :: * -> * diff --git a/testsuite/tests/typecheck/should_fail/T7410.stderr b/testsuite/tests/typecheck/should_fail/T7410.stderr index 0ca86ed8728d..ae45c885b78f 100644 --- a/testsuite/tests/typecheck/should_fail/T7410.stderr +++ b/testsuite/tests/typecheck/should_fail/T7410.stderr @@ -1,6 +1,5 @@ -T7410.hs:3:9: error: +T7410.hs:3:9: error: [GHC-83865] • Expecting one more argument to ‘Either Int’ Expected a type, but ‘Either Int’ has kind ‘* -> *’ - • In the type signature: - foo :: (Either Int, Int) + • In the type signature: foo :: (Either Int, Int) diff --git a/testsuite/tests/typecheck/should_fail/T7437.stderr b/testsuite/tests/typecheck/should_fail/T7437.stderr index 05deecb7a04c..d5577873f6f4 100644 --- a/testsuite/tests/typecheck/should_fail/T7437.stderr +++ b/testsuite/tests/typecheck/should_fail/T7437.stderr @@ -7,7 +7,7 @@ T7437.hs:14:13: error: put :: forall a. Put a => a -> [()] In the class declaration for ‘Put’ -T7437.hs:14:13: error: +T7437.hs:14:13: error: [GHC-39999] • Could not deduce ‘Put a0’ from the context: (Put a, Generic t, GPut (Rep t)) bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T7453.stderr b/testsuite/tests/typecheck/should_fail/T7453.stderr index 53cbe524209e..9f58a8d786bd 100644 --- a/testsuite/tests/typecheck/should_fail/T7453.stderr +++ b/testsuite/tests/typecheck/should_fail/T7453.stderr @@ -1,5 +1,5 @@ -T7453.hs:9:15: error: +T7453.hs:9:15: error: [GHC-25897] • Couldn't match type ‘t’ with ‘p’ Expected: Id t Actual: Id p @@ -29,7 +29,7 @@ T7453.hs:9:15: error: v :: p (bound at T7453.hs:7:7) cast1 :: p -> a (bound at T7453.hs:7:1) -T7453.hs:15:15: error: +T7453.hs:15:15: error: [GHC-25897] • Couldn't match type ‘t1’ with ‘p’ Expected: () -> t1 Actual: () -> p @@ -59,7 +59,7 @@ T7453.hs:15:15: error: v :: p (bound at T7453.hs:13:7) cast2 :: p -> t (bound at T7453.hs:13:1) -T7453.hs:21:15: error: +T7453.hs:21:15: error: [GHC-25897] • Couldn't match expected type ‘t1’ with actual type ‘p’ ‘t1’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T7525.stderr b/testsuite/tests/typecheck/should_fail/T7525.stderr index eca5c1d2ccf6..5b2e5e406228 100644 --- a/testsuite/tests/typecheck/should_fail/T7525.stderr +++ b/testsuite/tests/typecheck/should_fail/T7525.stderr @@ -1,5 +1,5 @@ -T7525.hs:5:30: error: +T7525.hs:5:30: error: [GHC-91416] • Could not deduce ‘?b::Bool’ arising from a use of implicit parameter ‘?b’ from the context: ?a::Bool diff --git a/testsuite/tests/typecheck/should_fail/T7609.stderr b/testsuite/tests/typecheck/should_fail/T7609.stderr index 32bc980fe9ad..f927b3c0b001 100644 --- a/testsuite/tests/typecheck/should_fail/T7609.stderr +++ b/testsuite/tests/typecheck/should_fail/T7609.stderr @@ -1,14 +1,14 @@ -T7609.hs:7:16: error: +T7609.hs:7:16: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type signature: f :: (a `X` a, Maybe) -T7609.hs:10:7: error: +T7609.hs:10:7: error: [GHC-83865] • Expected a constraint, but ‘a `X` a’ has kind ‘*’ • In the type signature: g :: (a `X` a) => Maybe -T7609.hs:10:19: error: +T7609.hs:10:19: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type signature: g :: (a `X` a) => Maybe diff --git a/testsuite/tests/typecheck/should_fail/T7645.stderr b/testsuite/tests/typecheck/should_fail/T7645.stderr index 24330b2aeb61..bdd24e5c4e17 100644 --- a/testsuite/tests/typecheck/should_fail/T7645.stderr +++ b/testsuite/tests/typecheck/should_fail/T7645.stderr @@ -1,5 +1,5 @@ -T7645.hs:8:26: error: +T7645.hs:8:26: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type signature: f :: ((+) a (a :: Type), Maybe) diff --git a/testsuite/tests/typecheck/should_fail/T7696.stderr b/testsuite/tests/typecheck/should_fail/T7696.stderr index cc8885c37263..92f6be0211df 100644 --- a/testsuite/tests/typecheck/should_fail/T7696.stderr +++ b/testsuite/tests/typecheck/should_fail/T7696.stderr @@ -1,5 +1,5 @@ -T7696.hs:9:6: error: +T7696.hs:9:6: error: [GHC-18872] • Couldn't match kind ‘*’ with ‘* -> *’ When matching types t0 :: (* -> *) -> * diff --git a/testsuite/tests/typecheck/should_fail/T7697.stderr b/testsuite/tests/typecheck/should_fail/T7697.stderr index b4ac7a9642aa..4b263e556d0c 100644 --- a/testsuite/tests/typecheck/should_fail/T7697.stderr +++ b/testsuite/tests/typecheck/should_fail/T7697.stderr @@ -1,5 +1,4 @@ -T7697.hs:3:6: error: +T7697.hs:3:6: error: [GHC-83865] • Expected a constraint, but ‘Int’ has kind ‘*’ - • In the type signature: - f :: Int => Int + • In the type signature: f :: Int => Int diff --git a/testsuite/tests/typecheck/should_fail/T7734.stderr b/testsuite/tests/typecheck/should_fail/T7734.stderr index 1dfe6b641cc9..251e233406a2 100644 --- a/testsuite/tests/typecheck/should_fail/T7734.stderr +++ b/testsuite/tests/typecheck/should_fail/T7734.stderr @@ -1,5 +1,5 @@ -T7734.hs:4:13: error: +T7734.hs:4:13: error: [GHC-25897] • Couldn't match expected type ‘t1’ with actual type ‘t1 -> t2’ ‘t1’ is a rigid type variable bound by the inferred type of f :: (t1 -> t2) -> p -> t2 @@ -11,7 +11,7 @@ T7734.hs:4:13: error: x :: t1 -> t2 (bound at T7734.hs:4:1) f :: (t1 -> t2) -> p -> t2 (bound at T7734.hs:4:3) -T7734.hs:5:13: error: +T7734.hs:5:13: error: [GHC-25897] • Couldn't match expected type ‘t1’ with actual type ‘t1 -> t2’ ‘t1’ is a rigid type variable bound by the inferred type of & :: (t1 -> t2) -> p -> t2 diff --git a/testsuite/tests/typecheck/should_fail/T7748a.stderr b/testsuite/tests/typecheck/should_fail/T7748a.stderr index c187edd01da0..ba0e6769a687 100644 --- a/testsuite/tests/typecheck/should_fail/T7748a.stderr +++ b/testsuite/tests/typecheck/should_fail/T7748a.stderr @@ -1,5 +1,5 @@ -T7748a.hs:14:24: error: +T7748a.hs:14:24: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘Maybe (Maybe (r -> ()))’ ‘a’ is a rigid type variable bound by diff --git a/testsuite/tests/typecheck/should_fail/T7778.stderr b/testsuite/tests/typecheck/should_fail/T7778.stderr index a0f10fcd9293..d2069c4af9bb 100644 --- a/testsuite/tests/typecheck/should_fail/T7778.stderr +++ b/testsuite/tests/typecheck/should_fail/T7778.stderr @@ -1,10 +1,10 @@ -T7778.hs:3:7: error: +T7778.hs:3:7: error: [GHC-83865] • Expected kind ‘* -> Constraint’, but ‘Num Int => Num’ has kind ‘*’ • In the type signature: v :: ((Num Int => Num) ()) => () -T7778.hs:3:19: error: +T7778.hs:3:19: error: [GHC-83865] • Expecting one more argument to ‘Num’ Expected a type, but ‘Num’ has kind ‘* -> Constraint’ • In the type signature: v :: ((Num Int => Num) ()) => () diff --git a/testsuite/tests/typecheck/should_fail/T7809.stderr b/testsuite/tests/typecheck/should_fail/T7809.stderr index 6ebb781a6154..8cb3506dc0bc 100644 --- a/testsuite/tests/typecheck/should_fail/T7809.stderr +++ b/testsuite/tests/typecheck/should_fail/T7809.stderr @@ -1,5 +1,5 @@ -T7809.hs:8:8: error: +T7809.hs:8:8: error: [GHC-91510] • Illegal polymorphic type: forall a. a -> a • In the expansion of type synonym ‘PolyId’ In the type signature: foo :: F PolyId diff --git a/testsuite/tests/typecheck/should_fail/T7851.stderr b/testsuite/tests/typecheck/should_fail/T7851.stderr index 289df8ad4053..a59d7645aa6c 100644 --- a/testsuite/tests/typecheck/should_fail/T7851.stderr +++ b/testsuite/tests/typecheck/should_fail/T7851.stderr @@ -1,5 +1,5 @@ -T7851.hs:5:10: error: +T7851.hs:5:10: error: [GHC-83865] • Couldn't match expected type: IO a0 with actual type: a1 -> IO () • Probable cause: ‘print’ is applied to too few arguments diff --git a/testsuite/tests/typecheck/should_fail/T7856.stderr b/testsuite/tests/typecheck/should_fail/T7856.stderr index a5a3a4bff126..28714b8f0c8b 100644 --- a/testsuite/tests/typecheck/should_fail/T7856.stderr +++ b/testsuite/tests/typecheck/should_fail/T7856.stderr @@ -1,5 +1,5 @@ -T7856.hs:4:7: error: +T7856.hs:4:7: error: [GHC-83865] • Couldn't match expected type: String -> IO () with actual type: IO () • Possible cause: ‘sequence_’ is applied to too many arguments diff --git a/testsuite/tests/typecheck/should_fail/T7857.stderr b/testsuite/tests/typecheck/should_fail/T7857.stderr index fa5f4f0c1b59..699017d79bdf 100644 --- a/testsuite/tests/typecheck/should_fail/T7857.stderr +++ b/testsuite/tests/typecheck/should_fail/T7857.stderr @@ -1,5 +1,5 @@ -T7857.hs:8:11: error: +T7857.hs:8:11: error: [GHC-39999] • Could not deduce ‘PrintfType a0’ arising from a use of ‘printf’ from the context: PrintfArg t bound by the inferred type of g :: PrintfArg t => t -> b diff --git a/testsuite/tests/typecheck/should_fail/T7869.stderr b/testsuite/tests/typecheck/should_fail/T7869.stderr index c599b276d9ca..f6aa8d0bfcd3 100644 --- a/testsuite/tests/typecheck/should_fail/T7869.stderr +++ b/testsuite/tests/typecheck/should_fail/T7869.stderr @@ -1,5 +1,5 @@ -T7869.hs:3:12: error: +T7869.hs:3:12: error: [GHC-25897] • Couldn't match type ‘a1’ with ‘a’ Expected: [a1] -> b1 Actual: [a] -> b diff --git a/testsuite/tests/typecheck/should_fail/T7892.stderr b/testsuite/tests/typecheck/should_fail/T7892.stderr index fa332c745eac..308bc0a969d4 100644 --- a/testsuite/tests/typecheck/should_fail/T7892.stderr +++ b/testsuite/tests/typecheck/should_fail/T7892.stderr @@ -1,4 +1,4 @@ -T7892.hs:5:4: error: +T7892.hs:5:4: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘f’ has kind ‘*’ • In the associated type family declaration for ‘F’ diff --git a/testsuite/tests/typecheck/should_fail/T7989.stderr b/testsuite/tests/typecheck/should_fail/T7989.stderr index 8b02d0df319f..7413b0664896 100644 --- a/testsuite/tests/typecheck/should_fail/T7989.stderr +++ b/testsuite/tests/typecheck/should_fail/T7989.stderr @@ -1,15 +1,15 @@ -T7989.hs:6:7: - No constructor has all these fields: ‘a0’, ‘b0’ - In the expression: x {a0 = 3, a1 = 2, b0 = 4, b1 = 5} - In an equation for ‘f’: f x = x {a0 = 3, a1 = 2, b0 = 4, b1 = 5} +T7989.hs:6:7: error: [GHC-14392] + • No constructor has all these fields: ‘a0’, ‘b0’ + • In the expression: x {a0 = 3, a1 = 2, b0 = 4, b1 = 5} + In an equation for ‘f’: f x = x {a0 = 3, a1 = 2, b0 = 4, b1 = 5} -T7989.hs:9:7: - No constructor has all these fields: ‘x’, ‘y’, ‘z’ - In the expression: a {x = 0, y = 0, z = 0, v = 0} - In an equation for ‘g’: g a = a {x = 0, y = 0, z = 0, v = 0} +T7989.hs:9:7: error: [GHC-14392] + • No constructor has all these fields: ‘x’, ‘y’, ‘z’ + • In the expression: a {x = 0, y = 0, z = 0, v = 0} + In an equation for ‘g’: g a = a {x = 0, y = 0, z = 0, v = 0} -T7989.hs:11:7: - No constructor has all these fields: ‘x’, ‘a0’ - In the expression: a {x = 0, a0 = 0} - In an equation for ‘h’: h a = a {x = 0, a0 = 0} +T7989.hs:11:7: error: [GHC-14392] + • No constructor has all these fields: ‘x’, ‘a0’ + • In the expression: a {x = 0, a0 = 0} + In an equation for ‘h’: h a = a {x = 0, a0 = 0} diff --git a/testsuite/tests/typecheck/should_fail/T8030.stderr b/testsuite/tests/typecheck/should_fail/T8030.stderr index 623eabbdbc90..e3a3b6a40b5d 100644 --- a/testsuite/tests/typecheck/should_fail/T8030.stderr +++ b/testsuite/tests/typecheck/should_fail/T8030.stderr @@ -1,22 +1,22 @@ -T8030.hs:9:3: error: +T8030.hs:9:3: error: [GHC-83865] • Couldn't match expected type: Pr a with actual type: Pr a0 - NB: ‘Pr’ is a non-injective type family - The type variable ‘a0’ is ambiguous + NB: ‘Pr’ is a non-injective type family + The type variable ‘a0’ is ambiguous • In the ambiguity check for ‘op1’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the class method: op1 :: forall k (a :: k). C a => Pr a In the class declaration for ‘C’ -T8030.hs:10:3: error: +T8030.hs:10:3: error: [GHC-83865] • Couldn't match type: Pr a0 with: Pr a Expected: Pr a -> Pr a -> Pr a Actual: Pr a0 -> Pr a0 -> Pr a0 - NB: ‘Pr’ is a non-injective type family - The type variable ‘a0’ is ambiguous + NB: ‘Pr’ is a non-injective type family + The type variable ‘a0’ is ambiguous • In the ambiguity check for ‘op2’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the class method: diff --git a/testsuite/tests/typecheck/should_fail/T8034.stderr b/testsuite/tests/typecheck/should_fail/T8034.stderr index 05f2ca42a3f4..04ba80c9adc5 100644 --- a/testsuite/tests/typecheck/should_fail/T8034.stderr +++ b/testsuite/tests/typecheck/should_fail/T8034.stderr @@ -1,11 +1,11 @@ -T8034.hs:7:3: error: +T8034.hs:7:3: error: [GHC-83865] • Couldn't match type: F a0 with: F a Expected: F a -> F a Actual: F a0 -> F a0 - NB: ‘F’ is a non-injective type family - The type variable ‘a0’ is ambiguous + NB: ‘F’ is a non-injective type family + The type variable ‘a0’ is ambiguous • In the ambiguity check for ‘foo’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the class method: foo :: forall a. C a => F a -> F a diff --git a/testsuite/tests/typecheck/should_fail/T8044.stderr b/testsuite/tests/typecheck/should_fail/T8044.stderr index 2069f5f28144..ae0d33608856 100644 --- a/testsuite/tests/typecheck/should_fail/T8044.stderr +++ b/testsuite/tests/typecheck/should_fail/T8044.stderr @@ -1,5 +1,5 @@ -T8044.hs:16:13: error: +T8044.hs:16:13: error: [GHC-83865] • Couldn't match type ‘Frob a’ with ‘Char’ Expected: X (Frob a) Actual: X Char diff --git a/testsuite/tests/typecheck/should_fail/T8142.stderr b/testsuite/tests/typecheck/should_fail/T8142.stderr index 2c970aca2ec8..e36cbadcef2c 100644 --- a/testsuite/tests/typecheck/should_fail/T8142.stderr +++ b/testsuite/tests/typecheck/should_fail/T8142.stderr @@ -1,10 +1,10 @@ -T8142.hs:6:10: error: +T8142.hs:6:10: error: [GHC-83865] • Couldn't match type: Nu f0 with: c -> f c Expected: (c -> f c) -> c -> f c Actual: Nu ((,) a0) -> Nu f0 - The type variable ‘f0’ is ambiguous + The type variable ‘f0’ is ambiguous • In the expression: h In an equation for ‘tracer’: tracer @@ -14,7 +14,7 @@ T8142.hs:6:10: error: • Relevant bindings include tracer :: (c -> f c) -> c -> f c (bound at T8142.hs:6:1) -T8142.hs:6:57: error: +T8142.hs:6:57: error: [GHC-83865] • Couldn't match type: Nu ((,) a) with: f1 (Nu ((,) a)) Expected: Nu ((,) a) -> (a, f1 (Nu ((,) a))) diff --git a/testsuite/tests/typecheck/should_fail/T8262.stderr b/testsuite/tests/typecheck/should_fail/T8262.stderr index fb0d17aef5e6..c9baa5315a17 100644 --- a/testsuite/tests/typecheck/should_fail/T8262.stderr +++ b/testsuite/tests/typecheck/should_fail/T8262.stderr @@ -1,5 +1,5 @@ -T8262.hs:5:15: error: +T8262.hs:5:15: error: [GHC-18872] • Couldn't match a lifted type with an unlifted type When matching types a :: * diff --git a/testsuite/tests/typecheck/should_fail/T8428.stderr b/testsuite/tests/typecheck/should_fail/T8428.stderr index 2668bb45fd59..b3c705091f8f 100644 --- a/testsuite/tests/typecheck/should_fail/T8428.stderr +++ b/testsuite/tests/typecheck/should_fail/T8428.stderr @@ -1,5 +1,5 @@ -T8428.hs:11:19: error: +T8428.hs:11:19: error: [GHC-83865] • Couldn't match type: (forall s. ST s) a with: forall s. ST s a Expected: IdentityT (forall s. ST s) a -> forall s. ST s a diff --git a/testsuite/tests/typecheck/should_fail/T8450.stderr b/testsuite/tests/typecheck/should_fail/T8450.stderr index 8ba84a76f15a..3c394b1161da 100644 --- a/testsuite/tests/typecheck/should_fail/T8450.stderr +++ b/testsuite/tests/typecheck/should_fail/T8450.stderr @@ -1,5 +1,5 @@ -T8450.hs:8:7: error: +T8450.hs:8:7: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘()’ ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/T8514.stderr b/testsuite/tests/typecheck/should_fail/T8514.stderr index e3ea4cb38544..382d82a119f2 100644 --- a/testsuite/tests/typecheck/should_fail/T8514.stderr +++ b/testsuite/tests/typecheck/should_fail/T8514.stderr @@ -1,6 +1,6 @@ -T8514.hs:3:16: - Expecting one more argument to ‘Maybe’ - Expected a type, but ‘Maybe’ has kind ‘* -> *’ - In the type ‘(a, Maybe)’ - In the type declaration for ‘T’ +T8514.hs:3:16: error: [GHC-83865] + • Expecting one more argument to ‘Maybe’ + Expected a type, but ‘Maybe’ has kind ‘* -> *’ + • In the type ‘(a, Maybe)’ + In the type declaration for ‘T’ diff --git a/testsuite/tests/typecheck/should_fail/T8603.stderr b/testsuite/tests/typecheck/should_fail/T8603.stderr index e4febcfb4cc8..d369b2d0db74 100644 --- a/testsuite/tests/typecheck/should_fail/T8603.stderr +++ b/testsuite/tests/typecheck/should_fail/T8603.stderr @@ -1,5 +1,5 @@ -T8603.hs:33:17: error: +T8603.hs:33:17: error: [GHC-18872] • Couldn't match kind ‘*’ with ‘* -> *’ When matching types m0 :: * -> * diff --git a/testsuite/tests/typecheck/should_fail/T8806.stderr b/testsuite/tests/typecheck/should_fail/T8806.stderr index a0cc76ec462e..f015603b0bee 100644 --- a/testsuite/tests/typecheck/should_fail/T8806.stderr +++ b/testsuite/tests/typecheck/should_fail/T8806.stderr @@ -1,8 +1,8 @@ -T8806.hs:5:6: error: +T8806.hs:5:6: error: [GHC-83865] • Expected a constraint, but ‘Int’ has kind ‘*’ • In the type signature: f :: Int => Int -T8806.hs:8:7: error: +T8806.hs:8:7: error: [GHC-83865] • Expected a constraint, but ‘Int’ has kind ‘*’ • In the type signature: g :: (Int => Show a) => Int diff --git a/testsuite/tests/typecheck/should_fail/T8883.stderr b/testsuite/tests/typecheck/should_fail/T8883.stderr index d9df99829792..b2c544342a1e 100644 --- a/testsuite/tests/typecheck/should_fail/T8883.stderr +++ b/testsuite/tests/typecheck/should_fail/T8883.stderr @@ -1,5 +1,5 @@ -T8883.hs:21:1: error: +T8883.hs:21:1: error: [GHC-80003] • Non type-variable argument in the constraint: Functor (PF a) • When checking the inferred type fold :: forall {a} {b}. diff --git a/testsuite/tests/typecheck/should_fail/T8912.stderr b/testsuite/tests/typecheck/should_fail/T8912.stderr index 7d6f37dca28e..f1912e4f254c 100644 --- a/testsuite/tests/typecheck/should_fail/T8912.stderr +++ b/testsuite/tests/typecheck/should_fail/T8912.stderr @@ -1,4 +1,4 @@ -T8912.hs:7:10: error: +T8912.hs:7:10: error: [GHC-75863] • Illegal implicit parameter ‘?imp::Int’ • In the instance declaration for ‘C [a]’ diff --git a/testsuite/tests/typecheck/should_fail/T9033.stderr b/testsuite/tests/typecheck/should_fail/T9033.stderr index c2fd56312463..c386fe6ec831 100644 --- a/testsuite/tests/typecheck/should_fail/T9033.stderr +++ b/testsuite/tests/typecheck/should_fail/T9033.stderr @@ -1,5 +1,5 @@ -T9033.hs:4:7: - Couldn't match expected type ‘Bool’ with actual type ‘()’ - In the expression: () - In an equation for ‘bad’: bad = () +T9033.hs:4:7: error: [GHC-83865] + • Couldn't match expected type ‘Bool’ with actual type ‘()’ + • In the expression: () + In an equation for ‘bad’: bad = () diff --git a/testsuite/tests/typecheck/should_fail/T9109.stderr b/testsuite/tests/typecheck/should_fail/T9109.stderr index f8224176bdbe..dfb8ad295072 100644 --- a/testsuite/tests/typecheck/should_fail/T9109.stderr +++ b/testsuite/tests/typecheck/should_fail/T9109.stderr @@ -1,5 +1,5 @@ -T9109.hs:8:13: error: +T9109.hs:8:13: error: [GHC-25897] • Could not deduce ‘p ~ Bool’ from the context: a ~ Bool bound by a pattern with constructor: GBool :: G Bool, diff --git a/testsuite/tests/typecheck/should_fail/T9196.stderr b/testsuite/tests/typecheck/should_fail/T9196.stderr index 6ebdd362c6a7..dab40b1c74e5 100644 --- a/testsuite/tests/typecheck/should_fail/T9196.stderr +++ b/testsuite/tests/typecheck/should_fail/T9196.stderr @@ -1,11 +1,11 @@ -T9196.hs:4:6: error: +T9196.hs:4:6: error: [GHC-91510] • Illegal polymorphic type: forall a1. Eq a1 A constraint must be a monotype • In the type signature: f :: (forall a. Eq a) => a -> a Suggested fix: Perhaps you intended to use QuantifiedConstraints -T9196.hs:7:6: error: +T9196.hs:7:6: error: [GHC-91510] • Illegal qualified type: Eq a => Ord a A constraint must be a monotype • In the type signature: g :: (Eq a => Ord a) => a -> a diff --git a/testsuite/tests/typecheck/should_fail/T9201.stderr b/testsuite/tests/typecheck/should_fail/T9201.stderr index f0901b4d564d..660c32bef55b 100644 --- a/testsuite/tests/typecheck/should_fail/T9201.stderr +++ b/testsuite/tests/typecheck/should_fail/T9201.stderr @@ -1,5 +1,5 @@ -T9201.hs:7:17: error: +T9201.hs:7:17: error: [GHC-25897] • Expected kind ‘x’, but ‘a’ has kind ‘y’ ‘y’ is a rigid type variable bound by the class declaration for ‘MonoidalCCC’ diff --git a/testsuite/tests/typecheck/should_fail/T9260.stderr b/testsuite/tests/typecheck/should_fail/T9260.stderr index 2a6c0ac16c67..5ee5ebfe45c8 100644 --- a/testsuite/tests/typecheck/should_fail/T9260.stderr +++ b/testsuite/tests/typecheck/should_fail/T9260.stderr @@ -1,5 +1,5 @@ -T9260.hs:12:14: error: +T9260.hs:12:14: error: [GHC-83865] • Couldn't match type ‘1’ with ‘0’ Expected: Fin 0 Actual: Fin (0 + 1) diff --git a/testsuite/tests/typecheck/should_fail/T9305.stderr b/testsuite/tests/typecheck/should_fail/T9305.stderr index e7c761ef46f1..66d3a7e4412b 100644 --- a/testsuite/tests/typecheck/should_fail/T9305.stderr +++ b/testsuite/tests/typecheck/should_fail/T9305.stderr @@ -1,5 +1,5 @@ -T9305.hs:8:48: error: - Couldn't match kind ‘* -> *’ with ‘*’ - arising from the first field of ‘EventF’ (type ‘F (Event a)’) - When deriving the instance for (Functor EventF) +T9305.hs:8:48: error: [GHC-18872] + • Couldn't match kind ‘* -> *’ with ‘*’ + arising from the first field of ‘EventF’ (type ‘F (Event a)’) + • When deriving the instance for (Functor EventF) diff --git a/testsuite/tests/typecheck/should_fail/T9318.stderr b/testsuite/tests/typecheck/should_fail/T9318.stderr index 0a87c4a1e283..29ddbf5046e4 100644 --- a/testsuite/tests/typecheck/should_fail/T9318.stderr +++ b/testsuite/tests/typecheck/should_fail/T9318.stderr @@ -1,5 +1,5 @@ -T9318.hs:12:5: error: +T9318.hs:12:5: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Char’ Expected: F Int Actual: Char diff --git a/testsuite/tests/typecheck/should_fail/T9323.stderr b/testsuite/tests/typecheck/should_fail/T9323.stderr index f98ce7bafe03..45b1512563d3 100644 --- a/testsuite/tests/typecheck/should_fail/T9323.stderr +++ b/testsuite/tests/typecheck/should_fail/T9323.stderr @@ -1,5 +1,5 @@ -T9323.hs:4:10: - Couldn't match expected type ‘[Int]’ with actual type ‘()’ - In the expression: () - In an equation for ‘broken’: broken = () +T9323.hs:4:10: error: [GHC-83865] + • Couldn't match expected type ‘[Int]’ with actual type ‘()’ + • In the expression: () + In an equation for ‘broken’: broken = () diff --git a/testsuite/tests/typecheck/should_fail/T9497d.stderr b/testsuite/tests/typecheck/should_fail/T9497d.stderr index 42da4bf430db..26db2363adf1 100644 --- a/testsuite/tests/typecheck/should_fail/T9497d.stderr +++ b/testsuite/tests/typecheck/should_fail/T9497d.stderr @@ -1,5 +1,5 @@ -T9497d.hs:2:8: error: +T9497d.hs:2:8: error: [GHC-88464] • Found hole: _main :: IO () Or perhaps ‘_main’ is mis-spelled, or not in scope • In an equation for ‘main’: main = _main diff --git a/testsuite/tests/typecheck/should_fail/T9605.stderr b/testsuite/tests/typecheck/should_fail/T9605.stderr index 6132c9538ead..359ebc74fda4 100644 --- a/testsuite/tests/typecheck/should_fail/T9605.stderr +++ b/testsuite/tests/typecheck/should_fail/T9605.stderr @@ -1,5 +1,5 @@ -T9605.hs:7:6: error: +T9605.hs:7:6: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘m Bool’ Expected: t0 -> m Bool Actual: t0 -> Bool diff --git a/testsuite/tests/typecheck/should_fail/T9612.stderr b/testsuite/tests/typecheck/should_fail/T9612.stderr index 26cea7948724..18a6bd87125b 100644 --- a/testsuite/tests/typecheck/should_fail/T9612.stderr +++ b/testsuite/tests/typecheck/should_fail/T9612.stderr @@ -1,5 +1,5 @@ -T9612.hs:16:9: error: +T9612.hs:16:9: error: [GHC-18872] • Couldn't match type: [(Int, a)] with: (Int, a) arising from a functional dependency between: diff --git a/testsuite/tests/typecheck/should_fail/T9634.stderr b/testsuite/tests/typecheck/should_fail/T9634.stderr index 8bb10079888e..99e6d4344e45 100644 --- a/testsuite/tests/typecheck/should_fail/T9634.stderr +++ b/testsuite/tests/typecheck/should_fail/T9634.stderr @@ -1,4 +1,3 @@ -T9634.hs:3:10: error: - Cannot parse data constructor in a data/newtype declaration: - 1 +T9634.hs:3:10: error: [GHC-46574] + Cannot parse data constructor in a data/newtype declaration: 1 diff --git a/testsuite/tests/typecheck/should_fail/T9774.stderr b/testsuite/tests/typecheck/should_fail/T9774.stderr index 2381e3ce75bc..5bb993190e1f 100644 --- a/testsuite/tests/typecheck/should_fail/T9774.stderr +++ b/testsuite/tests/typecheck/should_fail/T9774.stderr @@ -1,5 +1,5 @@ -T9774.hs:5:29: error: +T9774.hs:5:29: error: [GHC-83865] • Couldn't match type ‘Char’ with ‘[Char]’ Expected: String Actual: Char diff --git a/testsuite/tests/typecheck/should_fail/T9858a.stderr b/testsuite/tests/typecheck/should_fail/T9858a.stderr index b179fcf59545..96a688e28ae1 100644 --- a/testsuite/tests/typecheck/should_fail/T9858a.stderr +++ b/testsuite/tests/typecheck/should_fail/T9858a.stderr @@ -1,5 +1,5 @@ -T9858a.hs:21:18: error: +T9858a.hs:21:18: error: [GHC-91510] • Illegal qualified type: (() :: Constraint, () :: Constraint) => () • In the expansion of type synonym ‘PX’ diff --git a/testsuite/tests/typecheck/should_fail/T9858b.stderr b/testsuite/tests/typecheck/should_fail/T9858b.stderr index 8bb597a54786..2c3efc73c6ab 100644 --- a/testsuite/tests/typecheck/should_fail/T9858b.stderr +++ b/testsuite/tests/typecheck/should_fail/T9858b.stderr @@ -1,5 +1,5 @@ -T9858b.hs:7:8: error: +T9858b.hs:7:8: error: [GHC-39999] • No instance for ‘Typeable (Eq Int => Int)’ arising from a use of ‘typeRep’ (maybe you haven't applied a function to enough arguments?) diff --git a/testsuite/tests/typecheck/should_fail/T9858e.stderr b/testsuite/tests/typecheck/should_fail/T9858e.stderr index 0ea9d4736a59..8b77c1ac732c 100644 --- a/testsuite/tests/typecheck/should_fail/T9858e.stderr +++ b/testsuite/tests/typecheck/should_fail/T9858e.stderr @@ -1,5 +1,5 @@ -T9858e.hs:9:7: error: +T9858e.hs:9:7: error: [GHC-83865] • Couldn't match type: Eq Int => Int with: a0 b0 Expected: Proxy (a0 b0) diff --git a/testsuite/tests/typecheck/should_fail/T9999.stderr b/testsuite/tests/typecheck/should_fail/T9999.stderr index d45960a589ac..490d7c4031fb 100644 --- a/testsuite/tests/typecheck/should_fail/T9999.stderr +++ b/testsuite/tests/typecheck/should_fail/T9999.stderr @@ -1,5 +1,5 @@ -T9999.hs:13:38: error: +T9999.hs:13:38: error: [GHC-39999] • No instance for ‘Typeable k0’ arising from a use of ‘typeRep’ • In the second argument of ‘(==)’, namely ‘typeRep (Proxy :: Proxy F1)’ diff --git a/testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr b/testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr index 4370b606cabf..671784b45e0f 100644 --- a/testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr +++ b/testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr @@ -1,12 +1,12 @@ -TcCoercibleFail.hs:11:8: error: +TcCoercibleFail.hs:11:8: error: [GHC-18872] • Couldn't match representation of type ‘Int’ with that of ‘()’ arising from a use of ‘coerce’ • In the first argument of ‘($)’, namely ‘coerce’ In the expression: coerce $ one :: () In an equation for ‘foo1’: foo1 = coerce $ one :: () -TcCoercibleFail.hs:14:8: error: +TcCoercibleFail.hs:14:8: error: [GHC-18872] • Couldn't match representation of type: m Int with that of: m Age arising from a use of ‘coerce’ @@ -18,14 +18,14 @@ TcCoercibleFail.hs:14:8: error: • Relevant bindings include foo2 :: m Age (bound at TcCoercibleFail.hs:14:1) -TcCoercibleFail.hs:16:8: error: +TcCoercibleFail.hs:16:8: error: [GHC-18872] • Couldn't match type ‘Int’ with ‘Age’ arising from a use of ‘coerce’ • In the first argument of ‘($)’, namely ‘coerce’ In the expression: coerce $ Map one () :: Map Age () In an equation for ‘foo3’: foo3 = coerce $ Map one () :: Map Age () -TcCoercibleFail.hs:18:8: error: +TcCoercibleFail.hs:18:8: error: [GHC-18872] • Couldn't match representation of type ‘Int’ with that of ‘Down Int’ arising from a use of ‘coerce’ @@ -35,13 +35,13 @@ TcCoercibleFail.hs:18:8: error: In the expression: coerce $ one :: Down Int In an equation for ‘foo4’: foo4 = coerce $ one :: Down Int -TcCoercibleFail.hs:21:8: error: +TcCoercibleFail.hs:21:8: error: [GHC-18872] • Couldn't match representation of type ‘Void’ with that of ‘()’ arising from a use of ‘coerce’ • In the expression: coerce :: Void -> () In an equation for ‘foo5’: foo5 = coerce :: Void -> () -TcCoercibleFail.hs:30:9: error: +TcCoercibleFail.hs:30:9: error: [GHC-18872] • Couldn't match representation of type ‘VoidBad ()’ with that of ‘()’ arising from a use of ‘coerce’ @@ -59,7 +59,7 @@ TcCoercibleFail.hs:35:8: error: In an equation for ‘foo6’: foo6 = coerce :: Fix (Either Int) -> Fix (Either Age) -TcCoercibleFail.hs:36:8: error: +TcCoercibleFail.hs:36:8: error: [GHC-18872] • Couldn't match representation of type ‘Either Int (Fix (Either Int))’ with that of ‘()’ diff --git a/testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr b/testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr index c96bff88ffc3..43240e675bdb 100644 --- a/testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr +++ b/testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr @@ -1,4 +1,4 @@ -TcCoercibleFail2.hs:5:10: error: +TcCoercibleFail2.hs:5:10: error: [GHC-97044] • Class ‘Coercible’ does not support user-specified instances. • In the instance declaration for ‘Coercible () ()’ diff --git a/testsuite/tests/typecheck/should_fail/TcCoercibleFail3.stderr b/testsuite/tests/typecheck/should_fail/TcCoercibleFail3.stderr index 823b4c375da8..487e486ec725 100644 --- a/testsuite/tests/typecheck/should_fail/TcCoercibleFail3.stderr +++ b/testsuite/tests/typecheck/should_fail/TcCoercibleFail3.stderr @@ -1,6 +1,6 @@ -TcCoercibleFail3.hs:12:7: error: - Couldn't match representation of type ‘NT1’ with that of ‘NT2’ - arising from a use of ‘coerce’ - In the expression: coerce - In an equation for ‘foo’: foo = coerce +TcCoercibleFail3.hs:12:7: error: [GHC-18872] + • Couldn't match representation of type ‘NT1’ with that of ‘NT2’ + arising from a use of ‘coerce’ + • In the expression: coerce + In an equation for ‘foo’: foo = coerce diff --git a/testsuite/tests/typecheck/should_fail/TcMultiWayIfFail.stderr b/testsuite/tests/typecheck/should_fail/TcMultiWayIfFail.stderr index 487cfee88f13..69229f8e256d 100644 --- a/testsuite/tests/typecheck/should_fail/TcMultiWayIfFail.stderr +++ b/testsuite/tests/typecheck/should_fail/TcMultiWayIfFail.stderr @@ -1,5 +1,5 @@ -TcMultiWayIfFail.hs:6:24: error: +TcMultiWayIfFail.hs:6:24: error: [GHC-83865] • Couldn't match type ‘[Char]’ with ‘Int’ Expected: Int Actual: String @@ -14,7 +14,7 @@ TcMultiWayIfFail.hs:6:24: error: | False -> "2" | otherwise -> [3 :: Int] -TcMultiWayIfFail.hs:7:24: error: +TcMultiWayIfFail.hs:7:24: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘[Int]’ • In the expression: [3 :: Int] In the expression: diff --git a/testsuite/tests/typecheck/should_fail/TcNullaryTCFail.stderr b/testsuite/tests/typecheck/should_fail/TcNullaryTCFail.stderr index 1dd7ba2f743d..3907e3e6f1a4 100644 --- a/testsuite/tests/typecheck/should_fail/TcNullaryTCFail.stderr +++ b/testsuite/tests/typecheck/should_fail/TcNullaryTCFail.stderr @@ -1,5 +1,5 @@ -TcNullaryTCFail.hs:5:10: +TcNullaryTCFail.hs:5:10: error: [GHC-59692] Duplicate instance declarations: instance A -- Defined at TcNullaryTCFail.hs:5:10 instance A -- Defined at TcNullaryTCFail.hs:6:10 diff --git a/testsuite/tests/typecheck/should_fail/TcStaticPointersFail01.stderr b/testsuite/tests/typecheck/should_fail/TcStaticPointersFail01.stderr index 9b85edb110fa..cadcb96066c0 100644 --- a/testsuite/tests/typecheck/should_fail/TcStaticPointersFail01.stderr +++ b/testsuite/tests/typecheck/should_fail/TcStaticPointersFail01.stderr @@ -1,5 +1,5 @@ -TcStaticPointersFail01.hs:8:13: error: +TcStaticPointersFail01.hs:8:13: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Int -> Int’ • Probable cause: ‘g’ is applied to too few arguments In the body of a static form: g diff --git a/testsuite/tests/typecheck/should_fail/TcStaticPointersFail02.stderr b/testsuite/tests/typecheck/should_fail/TcStaticPointersFail02.stderr index f8681ed8ba8b..ea0cc08f44bf 100644 --- a/testsuite/tests/typecheck/should_fail/TcStaticPointersFail02.stderr +++ b/testsuite/tests/typecheck/should_fail/TcStaticPointersFail02.stderr @@ -1,12 +1,12 @@ -TcStaticPointersFail02.hs:9:6: error: +TcStaticPointersFail02.hs:9:6: error: [GHC-39999] • No instance for ‘base-4.17.0.0:Data.Typeable.Internal.Typeable b’ arising from a static form • In the expression: static (undefined :: (forall a. a -> a) -> b) In an equation for ‘f1’: f1 = static (undefined :: (forall a. a -> a) -> b) -TcStaticPointersFail02.hs:12:6: error: +TcStaticPointersFail02.hs:12:6: error: [GHC-39999] • No instance for ‘base-4.17.0.0:Data.Typeable.Internal.Typeable (Monad m => a -> m a)’ arising from a static form diff --git a/testsuite/tests/typecheck/should_fail/TcStaticPointersFail03.stderr b/testsuite/tests/typecheck/should_fail/TcStaticPointersFail03.stderr index e3dc731da9f0..169b2d2a02f2 100644 --- a/testsuite/tests/typecheck/should_fail/TcStaticPointersFail03.stderr +++ b/testsuite/tests/typecheck/should_fail/TcStaticPointersFail03.stderr @@ -1,5 +1,5 @@ -TcStaticPointersFail03.hs:9:29: error: +TcStaticPointersFail03.hs:9:29: error: [GHC-39999] • No instance for ‘Monad m’ arising from a use of ‘return’ • In the body of a static form: return In the first argument of ‘deRefStaticPtr’, namely ‘(static return)’ diff --git a/testsuite/tests/typecheck/should_fail/TyAppPat_ExistentialEscape.stderr b/testsuite/tests/typecheck/should_fail/TyAppPat_ExistentialEscape.stderr index 2efb51a5c193..a271bc6b4295 100644 --- a/testsuite/tests/typecheck/should_fail/TyAppPat_ExistentialEscape.stderr +++ b/testsuite/tests/typecheck/should_fail/TyAppPat_ExistentialEscape.stderr @@ -1,5 +1,5 @@ -TyAppPat_ExistentialEscape.hs:10:20: error: +TyAppPat_ExistentialEscape.hs:10:20: error: [GHC-25897] • Couldn't match expected type ‘p’ with actual type ‘a’ ‘a’ is a rigid type variable bound by a pattern with constructor: Some :: forall a. a -> Some, diff --git a/testsuite/tests/typecheck/should_fail/TyAppPat_MisplacedApplication.stderr b/testsuite/tests/typecheck/should_fail/TyAppPat_MisplacedApplication.stderr index 61ab78e86cf5..6275bc9295cc 100644 --- a/testsuite/tests/typecheck/should_fail/TyAppPat_MisplacedApplication.stderr +++ b/testsuite/tests/typecheck/should_fail/TyAppPat_MisplacedApplication.stderr @@ -1,3 +1,3 @@ -TyAppPat_MisplacedApplication.hs:9:6: error: +TyAppPat_MisplacedApplication.hs:9:6: error: [GHC-07626] Parse error in pattern: MkT x diff --git a/testsuite/tests/typecheck/should_fail/TyAppPat_Nonmatching.stderr b/testsuite/tests/typecheck/should_fail/TyAppPat_Nonmatching.stderr index 72a6e27eb868..752cf51f6a82 100644 --- a/testsuite/tests/typecheck/should_fail/TyAppPat_Nonmatching.stderr +++ b/testsuite/tests/typecheck/should_fail/TyAppPat_Nonmatching.stderr @@ -1,5 +1,5 @@ -TyAppPat_Nonmatching.hs:9:6: error: +TyAppPat_Nonmatching.hs:9:6: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘Int’ ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBinding.stderr b/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBinding.stderr index d511b93d78a5..148c2db36e84 100644 --- a/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBinding.stderr +++ b/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBinding.stderr @@ -1,5 +1,5 @@ -TyAppPat_PatternBinding.hs:9:1: error: +TyAppPat_PatternBinding.hs:9:1: error: [GHC-48361] • Binding type variables is not allowed in pattern bindings • In the pattern: Just @a x In a pattern binding: Just @a x = Just (5 :: Integer) diff --git a/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBindingExistential.stderr b/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBindingExistential.stderr index f400dd63aedd..a77ad07422a9 100644 --- a/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBindingExistential.stderr +++ b/testsuite/tests/typecheck/should_fail/TyAppPat_PatternBindingExistential.stderr @@ -1,10 +1,10 @@ -TyAppPat_PatternBindingExistential.hs:10:1: error: +TyAppPat_PatternBindingExistential.hs:10:1: error: [GHC-48361] • Binding type variables is not allowed in pattern bindings • In the pattern: Some @a x In a pattern binding: Some @a x = Some (5 :: Integer) -TyAppPat_PatternBindingExistential.hs:10:9: error: +TyAppPat_PatternBindingExistential.hs:10:9: error: [GHC-25897] • Couldn't match expected type ‘p’ with actual type ‘a’ ‘a’ is a rigid type variable bound by a pattern with constructor: Some :: forall a. a -> Some, @@ -16,7 +16,7 @@ TyAppPat_PatternBindingExistential.hs:10:9: error: • In the pattern: Some @a x In a pattern binding: Some @a x = Some (5 :: Integer) -TyAppPat_PatternBindingExistential.hs:13:3: error: +TyAppPat_PatternBindingExistential.hs:13:3: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘print’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. diff --git a/testsuite/tests/typecheck/should_fail/TyAppPat_TooMany.stderr b/testsuite/tests/typecheck/should_fail/TyAppPat_TooMany.stderr index 2b5e60d49b13..d69fe9628716 100644 --- a/testsuite/tests/typecheck/should_fail/TyAppPat_TooMany.stderr +++ b/testsuite/tests/typecheck/should_fail/TyAppPat_TooMany.stderr @@ -1,5 +1,5 @@ -TyAppPat_TooMany.hs:6:4: error: +TyAppPat_TooMany.hs:6:4: error: [GHC-01629] • Too many type arguments in constructor pattern for ‘Just’ Expected no more than 1; got 2 • In the pattern: Just @Int @Bool x diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesConstraintFamily.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesConstraintFamily.stderr index 2eff7f0ab742..4e2c7ff81c77 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesConstraintFamily.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesConstraintFamily.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesConstraintFamily.hs:11:1: error: +UnliftedNewtypesConstraintFamily.hs:11:1: error: [GHC-55233] • Data family has non-TYPE and non-variable return kind ‘Constraint’ • In the data family declaration for ‘D’ diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFail.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFail.stderr index 58b7d65d316a..1fc90b22c864 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFail.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFail.stderr @@ -1,5 +1,6 @@ -UnliftedNewtypesFail.hs:6:20: - Expected a type, but ‘Show Int’ has kind ‘Constraint’ - In the type ‘(Show Int)’ + +UnliftedNewtypesFail.hs:6:20: error: [GHC-83865] + • Expected a type, but ‘Show Int’ has kind ‘Constraint’ + • In the type ‘(Show Int)’ In the definition of data constructor ‘Baz’ In the newtype declaration for ‘Baz’ diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail1.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail1.stderr index fe78140a8076..19f1bad55645 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail1.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail1.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesFamilyKindFail1.hs:11:31: error: +UnliftedNewtypesFamilyKindFail1.hs:11:31: error: [GHC-83865] • Expected a type, but ‘5’ has kind ‘GHC.Num.Natural.Natural’ • In the kind ‘5’ In the data family declaration for ‘DF’ diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail2.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail2.stderr index d609c850b718..e97ea2aa55c8 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail2.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail2.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesFamilyKindFail2.hs:12:20: error: +UnliftedNewtypesFamilyKindFail2.hs:12:20: error: [GHC-83865] • Expected a type, but ‘5’ has kind ‘GHC.Num.Natural.Natural’ • In the first argument of ‘F’, namely ‘5’ In the newtype instance declaration for ‘F’ diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesInfinite.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesInfinite.stderr index 9725a779e7a3..e1b4b5e46192 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesInfinite.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesInfinite.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesInfinite.hs:9:20: error: +UnliftedNewtypesInfinite.hs:9:20: error: [GHC-27958] • Couldn't match kind ‘t0’ with ‘'GHC.Types.TupleRep '[ 'GHC.Types.IntRep, t0]’ Expected kind ‘TYPE t0’, diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesInstanceFail.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesInstanceFail.stderr index 0a49414c3342..2ca074ff0133 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesInstanceFail.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesInstanceFail.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesInstanceFail.hs:13:3: error: +UnliftedNewtypesInstanceFail.hs:13:3: error: [GHC-83865] • Couldn't match kind ‘'IntRep’ with ‘'WordRep’ Expected kind ‘TYPE 'WordRep’, but ‘Bar Bool’ has kind ‘TYPE 'IntRep’ diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKind.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKind.stderr index b54423576c85..263e4f2920ef 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKind.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKind.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesMismatchedKind.hs:12:10: error: +UnliftedNewtypesMismatchedKind.hs:12:10: error: [GHC-83865] • Expecting a lifted type, but ‘Int#’ is unlifted • In the type ‘Int#’ In the definition of data constructor ‘MkT’ diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKindRecord.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKindRecord.stderr index f30d8b8fe881..ab2ebc1a1939 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKindRecord.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKindRecord.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesMismatchedKindRecord.hs:11:23: error: +UnliftedNewtypesMismatchedKindRecord.hs:11:23: error: [GHC-83865] • Couldn't match kind ‘'WordRep’ with ‘'IntRep’ Expected kind ‘TYPE 'IntRep’, but ‘Word#’ has kind ‘TYPE 'WordRep’ • In the type ‘Word#’ diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMultiFieldGadt.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMultiFieldGadt.stderr index 3ecec3fdf046..c3ae6e01a6af 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMultiFieldGadt.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMultiFieldGadt.stderr @@ -1,11 +1,11 @@ -UnliftedNewtypesMultiFieldGadt.hs:19:11: error: +UnliftedNewtypesMultiFieldGadt.hs:19:11: error: [GHC-83865] • Expecting an unlifted type, but ‘Bool’ is lifted • In the type ‘Bool’ In the definition of data constructor ‘FooC’ In the newtype declaration for ‘Foo’ -UnliftedNewtypesMultiFieldGadt.hs:19:19: error: +UnliftedNewtypesMultiFieldGadt.hs:19:19: error: [GHC-83865] • Expecting an unlifted type, but ‘Char’ is lifted • In the type ‘Char’ In the definition of data constructor ‘FooC’ diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesNotEnabled.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesNotEnabled.stderr index 59c5c523a2f5..a4bd2f99808c 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesNotEnabled.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesNotEnabled.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesNotEnabled.hs:9:1: error: +UnliftedNewtypesNotEnabled.hs:9:1: error: [GHC-55233] • Newtype has non-* return kind ‘TYPE 'GHC.Types.IntRep’ • In the newtype declaration for ‘Baz’ Suggested fix: Perhaps you intended to use UnliftedNewtypes diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesOverlap.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesOverlap.stderr index 3da742a1bf9d..d09c634d171c 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesOverlap.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesOverlap.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesOverlap.hs:13:15: error: +UnliftedNewtypesOverlap.hs:13:15: error: [GHC-34447] Conflicting family instance declarations: DF -- Defined at UnliftedNewtypesOverlap.hs:13:15 DF -- Defined at UnliftedNewtypesOverlap.hs:14:18 diff --git a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesUnassociatedFamilyFail.stderr b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesUnassociatedFamilyFail.stderr index 86f65024af6d..546b8537a0be 100644 --- a/testsuite/tests/typecheck/should_fail/UnliftedNewtypesUnassociatedFamilyFail.stderr +++ b/testsuite/tests/typecheck/should_fail/UnliftedNewtypesUnassociatedFamilyFail.stderr @@ -1,5 +1,5 @@ -UnliftedNewtypesUnassociatedFamilyFail.hs:21:30: error: +UnliftedNewtypesUnassociatedFamilyFail.hs:21:30: error: [GHC-25897] • Couldn't match kind ‘t’ with ‘'IntRep’ Expected a type, but ‘Int#’ has kind ‘TYPE 'IntRep’ ‘t’ is a rigid type variable bound by @@ -9,7 +9,7 @@ UnliftedNewtypesUnassociatedFamilyFail.hs:21:30: error: In the definition of data constructor ‘MkDF1a’ In the newtype instance declaration for ‘DF’ -UnliftedNewtypesUnassociatedFamilyFail.hs:22:30: error: +UnliftedNewtypesUnassociatedFamilyFail.hs:22:30: error: [GHC-25897] • Couldn't match kind ‘t’ with ‘'WordRep’ Expected a type, but ‘Word#’ has kind ‘TYPE 'WordRep’ ‘t’ is a rigid type variable bound by @@ -19,7 +19,7 @@ UnliftedNewtypesUnassociatedFamilyFail.hs:22:30: error: In the definition of data constructor ‘MkDF2a’ In the newtype instance declaration for ‘DF’ -UnliftedNewtypesUnassociatedFamilyFail.hs:23:30: error: +UnliftedNewtypesUnassociatedFamilyFail.hs:23:30: error: [GHC-25897] • Couldn't match kind ‘t’ with ‘'TupleRep '[ 'IntRep, 'WordRep]’ Expected a type, but ‘(# Int#, Word# #)’ has kind ‘TYPE diff --git a/testsuite/tests/typecheck/should_fail/VtaFail.stderr b/testsuite/tests/typecheck/should_fail/VtaFail.stderr index 1b496b8380aa..4d01d8b8bbcf 100644 --- a/testsuite/tests/typecheck/should_fail/VtaFail.stderr +++ b/testsuite/tests/typecheck/should_fail/VtaFail.stderr @@ -1,31 +1,31 @@ -VtaFail.hs:7:16: error: +VtaFail.hs:7:16: error: [GHC-95781] • Cannot apply expression of type ‘a0 -> b0 -> (a0, b0)’ to a visible type argument ‘Int’ • In the expression: pairup_nosig @Int @Bool 5 True In an equation for ‘answer_nosig’: answer_nosig = pairup_nosig @Int @Bool 5 True -VtaFail.hs:14:17: error: +VtaFail.hs:14:17: error: [GHC-95781] • Cannot apply expression of type ‘p1 -> p1’ to a visible type argument ‘Int’ • In the expression: (\ x -> x) @Int 12 In an equation for ‘answer_lambda’: answer_lambda = (\ x -> x) @Int 12 -VtaFail.hs:21:5: error: +VtaFail.hs:21:5: error: [GHC-95781] • Cannot apply expression of type ‘Int -> (a0, Int)’ to a visible type argument ‘Bool’ • In the expression: pair 3 @Int @Bool True In an equation for ‘a’: a = pair 3 @Int @Bool True -VtaFail.hs:28:15: error: +VtaFail.hs:28:15: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’ • In the type ‘Int’ In the expression: first @Int F In an equation for ‘fInt’: fInt = first @Int F -VtaFail.hs:35:18: error: +VtaFail.hs:35:18: error: [GHC-83865] • Couldn't match type ‘Int’ with ‘Bool’ Expected: Proxy Bool Actual: Proxy Int @@ -33,14 +33,14 @@ VtaFail.hs:35:18: error: In the expression: foo @Bool (P :: Proxy Int) In an equation for ‘baz’: baz = foo @Bool (P :: Proxy Int) -VtaFail.hs:42:17: error: +VtaFail.hs:42:17: error: [GHC-83865] • Couldn't match kind ‘*’ with ‘k0 -> *’ Expected kind ‘* -> k0 -> *’, but ‘Maybe’ has kind ‘* -> *’ • In the type ‘Maybe’ In the expression: too @Maybe T In an equation for ‘threeBad’: threeBad = too @Maybe T -VtaFail.hs:43:27: error: +VtaFail.hs:43:27: error: [GHC-83865] • Couldn't match type ‘Either’ with ‘(->)’ Expected: Three (->) Actual: Three Either @@ -49,31 +49,31 @@ VtaFail.hs:43:27: error: In an equation for ‘threeWorse’: threeWorse = too @(->) (T :: Three Either) -VtaFail.hs:48:5: error: +VtaFail.hs:48:5: error: [GHC-95781] • Cannot apply expression of type ‘Int -> Int -> Int’ to a visible type argument ‘Int’ • In the expression: plus @Int 5 7 In an equation for ‘b’: b = plus @Int 5 7 -VtaFail.hs:49:5: error: +VtaFail.hs:49:5: error: [GHC-95781] • Cannot apply expression of type ‘Int -> Int -> Int’ to a visible type argument ‘Rational’ • In the expression: plus @Rational 5 10 In an equation for ‘c’: c = plus @Rational 5 10 -VtaFail.hs:50:5: error: +VtaFail.hs:50:5: error: [GHC-95781] • Cannot apply expression of type ‘Int -> Int -> Int’ to a visible type argument ‘Int’ • In the expression: (+) @Int @Int @Int 12 14 In an equation for ‘d’: d = (+) @Int @Int @Int 12 14 -VtaFail.hs:53:5: error: +VtaFail.hs:53:5: error: [GHC-95781] • Cannot apply expression of type ‘Int -> String’ to a visible type argument ‘Float’ • In the expression: show @Int @Float (read "5") In an equation for ‘e’: e = show @Int @Float (read "5") -VtaFail.hs:54:11: error: +VtaFail.hs:54:11: error: [GHC-95781] • Cannot apply expression of type ‘String -> Int’ to a visible type argument ‘Bool’ • In the first argument of ‘show’, namely @@ -81,7 +81,7 @@ VtaFail.hs:54:11: error: In the expression: show (read @Int @Bool @Float "3") In an equation for ‘f’: f = show (read @Int @Bool @Float "3") -VtaFail.hs:59:12: error: +VtaFail.hs:59:12: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type ‘Maybe’ diff --git a/testsuite/tests/typecheck/should_fail/mc19.stderr b/testsuite/tests/typecheck/should_fail/mc19.stderr index 5d19a388afc7..cc710c3b7452 100644 --- a/testsuite/tests/typecheck/should_fail/mc19.stderr +++ b/testsuite/tests/typecheck/should_fail/mc19.stderr @@ -1,5 +1,5 @@ -mc19.hs:10:31: error: +mc19.hs:10:31: error: [GHC-25897] • Couldn't match type ‘a’ with ‘[a]’ Expected: [a] -> [a] Actual: [a] -> [[a]] diff --git a/testsuite/tests/typecheck/should_fail/mc20.stderr b/testsuite/tests/typecheck/should_fail/mc20.stderr index 662761804191..07d8984d5ea4 100644 --- a/testsuite/tests/typecheck/should_fail/mc20.stderr +++ b/testsuite/tests/typecheck/should_fail/mc20.stderr @@ -1,5 +1,5 @@ -mc20.hs:14:31: error: +mc20.hs:14:31: error: [GHC-39999] • No instance for ‘Ord Unorderable’ arising from a use of ‘groupWith’ • In the expression: groupWith diff --git a/testsuite/tests/typecheck/should_fail/mc21.stderr b/testsuite/tests/typecheck/should_fail/mc21.stderr index abad9f6a2040..f6f8c89432d9 100644 --- a/testsuite/tests/typecheck/should_fail/mc21.stderr +++ b/testsuite/tests/typecheck/should_fail/mc21.stderr @@ -1,5 +1,5 @@ -mc21.hs:12:26: error: +mc21.hs:12:26: error: [GHC-25897] • Couldn't match type ‘a’ with ‘[a]’ Expected: [a] -> [[a]] Actual: [a] -> [a] diff --git a/testsuite/tests/typecheck/should_fail/mc22.stderr b/testsuite/tests/typecheck/should_fail/mc22.stderr index 50dbf5425ba3..334f9588a513 100644 --- a/testsuite/tests/typecheck/should_fail/mc22.stderr +++ b/testsuite/tests/typecheck/should_fail/mc22.stderr @@ -1,5 +1,5 @@ -mc22.hs:10:26: error: +mc22.hs:10:26: error: [GHC-25897] • Couldn't match type ‘a’ with ‘t a’ Expected: [a] -> [t a] Actual: [a] -> [a] diff --git a/testsuite/tests/typecheck/should_fail/mc23.stderr b/testsuite/tests/typecheck/should_fail/mc23.stderr index b9029f163572..3e65049861d5 100644 --- a/testsuite/tests/typecheck/should_fail/mc23.stderr +++ b/testsuite/tests/typecheck/should_fail/mc23.stderr @@ -1,5 +1,5 @@ -mc23.hs:9:29: error: +mc23.hs:9:29: error: [GHC-83865] • Couldn't match type: [a0] with: a -> b Expected: (a -> b) -> [a] -> m a diff --git a/testsuite/tests/typecheck/should_fail/mc24.stderr b/testsuite/tests/typecheck/should_fail/mc24.stderr index e40a0c6e720c..e25c4cadf95f 100644 --- a/testsuite/tests/typecheck/should_fail/mc24.stderr +++ b/testsuite/tests/typecheck/should_fail/mc24.stderr @@ -1,5 +1,5 @@ -mc24.hs:10:31: error: +mc24.hs:10:31: error: [GHC-83865] • Couldn't match type: [a1] with: a -> a0 Expected: (a -> a0) -> [a] -> m [a] diff --git a/testsuite/tests/typecheck/should_fail/mc25.stderr b/testsuite/tests/typecheck/should_fail/mc25.stderr index fe1b08f152c3..59a9ff451fbf 100644 --- a/testsuite/tests/typecheck/should_fail/mc25.stderr +++ b/testsuite/tests/typecheck/should_fail/mc25.stderr @@ -1,5 +1,5 @@ -mc25.hs:9:46: error: +mc25.hs:9:46: error: [GHC-83865] • Couldn't match type ‘Int’ with ‘a -> t2’ Expected: (a -> t2) -> [a] -> [t1 a] Actual: Int -> [a] -> [a] diff --git a/testsuite/tests/typecheck/should_fail/tc168.stderr b/testsuite/tests/typecheck/should_fail/tc168.stderr index 457001c91992..07009ae3f269 100644 --- a/testsuite/tests/typecheck/should_fail/tc168.stderr +++ b/testsuite/tests/typecheck/should_fail/tc168.stderr @@ -1,5 +1,5 @@ -tc168.hs:17:1: error: +tc168.hs:17:1: error: [GHC-39999] • Could not deduce ‘C a1 (a2, b0)’ from the context: C a1 (a2, b) bound by the inferred type for ‘g’: diff --git a/testsuite/tests/typecheck/should_fail/tc168b.stderr b/testsuite/tests/typecheck/should_fail/tc168b.stderr index a82f0282d4d0..25a0dbf8259a 100644 --- a/testsuite/tests/typecheck/should_fail/tc168b.stderr +++ b/testsuite/tests/typecheck/should_fail/tc168b.stderr @@ -1,5 +1,5 @@ -tc168b.hs:7:1: error: +tc168b.hs:7:1: error: [GHC-39999] • Could not deduce ‘C a (u, v0, w0, x0, y0, z0)’ from the context: C a (u, v, w, x, y, z) bound by the inferred type for ‘g’: diff --git a/testsuite/tests/typecheck/should_fail/tcfail001.stderr b/testsuite/tests/typecheck/should_fail/tcfail001.stderr index 3403057fa9de..eecffc35c4ac 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail001.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail001.stderr @@ -1,5 +1,5 @@ -tcfail001.hs:9:2: error: +tcfail001.hs:9:2: error: [GHC-83865] • Couldn't match expected type: [a] with actual type: [a0] -> [a1] • The equation for ‘op’ has one value argument, diff --git a/testsuite/tests/typecheck/should_fail/tcfail002.stderr b/testsuite/tests/typecheck/should_fail/tcfail002.stderr index 4e14032d62ac..c40ede33ea12 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail002.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail002.stderr @@ -1,5 +1,5 @@ -tcfail002.hs:4:7: error: +tcfail002.hs:4:7: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘[a]’ ‘a’ is a rigid type variable bound by the inferred type of c :: [a] -> a diff --git a/testsuite/tests/typecheck/should_fail/tcfail003.stderr b/testsuite/tests/typecheck/should_fail/tcfail003.stderr index acac9e84d04e..19c8d2cf182d 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail003.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail003.stderr @@ -1,5 +1,5 @@ -tcfail003.hs:3:10: error: +tcfail003.hs:3:10: error: [GHC-39999] • No instance for ‘Num Char’ arising from the literal ‘1’ • In the expression: 1 In the expression: [1, 'a'] diff --git a/testsuite/tests/typecheck/should_fail/tcfail004.stderr b/testsuite/tests/typecheck/should_fail/tcfail004.stderr index c64876c6abbb..32cf7cb8d388 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail004.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail004.stderr @@ -1,5 +1,5 @@ -tcfail004.hs:3:1: error: +tcfail004.hs:3:1: error: [GHC-83865] • Couldn't match expected type: (a0, b0, c0) with actual type: (a, b) • In the pattern: (f, g) diff --git a/testsuite/tests/typecheck/should_fail/tcfail005.stderr b/testsuite/tests/typecheck/should_fail/tcfail005.stderr index 5bfaf6a7a17e..3f42ba90606f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail005.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail005.stderr @@ -1,5 +1,5 @@ -tcfail005.hs:3:2: error: +tcfail005.hs:3:2: error: [GHC-83865] • Couldn't match expected type: (a0, Char) with actual type: [a] • In the pattern: h : i diff --git a/testsuite/tests/typecheck/should_fail/tcfail006.stderr b/testsuite/tests/typecheck/should_fail/tcfail006.stderr index f9cde685e7cb..97f7de2dafba 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail006.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail006.stderr @@ -1,5 +1,5 @@ -tcfail006.hs:4:24: error: +tcfail006.hs:4:24: error: [GHC-39999] • No instance for ‘Num Bool’ arising from the literal ‘1’ • In the expression: 1 In the expression: (True, 1) diff --git a/testsuite/tests/typecheck/should_fail/tcfail007.stderr b/testsuite/tests/typecheck/should_fail/tcfail007.stderr index 7ca43451bc1f..1315646b7702 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail007.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail007.stderr @@ -1,5 +1,5 @@ -tcfail007.hs:3:15: error: +tcfail007.hs:3:15: error: [GHC-39999] • No instance for ‘Num Bool’ arising from a use of ‘+’ • In the expression: x + 1 In an equation for ‘n’: diff --git a/testsuite/tests/typecheck/should_fail/tcfail008.stderr b/testsuite/tests/typecheck/should_fail/tcfail008.stderr index a19c6bb15192..fc498371c9af 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail008.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail008.stderr @@ -1,5 +1,5 @@ -tcfail008.hs:3:5: error: +tcfail008.hs:3:5: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from the literal ‘1’ prevents the constraint ‘(Num a0)’ from being solved. Relevant bindings include o :: [a0] (bound at tcfail008.hs:3:1) @@ -14,7 +14,7 @@ tcfail008.hs:3:5: error: In the expression: 1 : 2 In an equation for ‘o’: o = 1 : 2 -tcfail008.hs:3:7: error: +tcfail008.hs:3:7: error: [GHC-39999] • No instance for ‘Num [a0]’ arising from the literal ‘2’ • In the second argument of ‘(:)’, namely ‘2’ In the expression: 1 : 2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail009.stderr b/testsuite/tests/typecheck/should_fail/tcfail009.stderr index 7e4d29ae4858..dcc6a1a63bd6 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail009.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail009.stderr @@ -1,5 +1,5 @@ -tcfail009.hs:3:17: error: +tcfail009.hs:3:17: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Integer’ • In the expression: 2 :: Integer In the expression: [(1 :: Int) .. (2 :: Integer)] diff --git a/testsuite/tests/typecheck/should_fail/tcfail010.stderr b/testsuite/tests/typecheck/should_fail/tcfail010.stderr index d49818d46d6f..0594b99ab717 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail010.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail010.stderr @@ -1,5 +1,5 @@ -tcfail010.hs:3:17: error: +tcfail010.hs:3:17: error: [GHC-39999] • No instance for ‘Num [a0]’ arising from a use of ‘+’ • In the expression: z + 2 In the expression: \ (y : z) -> z + 2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail011.stderr b/testsuite/tests/typecheck/should_fail/tcfail011.stderr index 5b9379e07485..3e3f291faf37 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail011.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail011.stderr @@ -1,2 +1,2 @@ -tcfail011.hs:3:25: error: Variable not in scope: y +tcfail011.hs:3:25: error: [GHC-88464] Variable not in scope: y diff --git a/testsuite/tests/typecheck/should_fail/tcfail012.stderr b/testsuite/tests/typecheck/should_fail/tcfail012.stderr index d2f07f442087..6bee873cf465 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail012.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail012.stderr @@ -1,5 +1,5 @@ -tcfail012.hs:3:1: error: +tcfail012.hs:3:1: error: [GHC-83865] • Couldn't match expected type ‘[a0]’ with actual type ‘Bool’ • In the pattern: True In a pattern binding: True = [] diff --git a/testsuite/tests/typecheck/should_fail/tcfail013.stderr b/testsuite/tests/typecheck/should_fail/tcfail013.stderr index ee3c1280124c..091ac9534297 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail013.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail013.stderr @@ -1,5 +1,5 @@ -tcfail013.hs:4:3: error: +tcfail013.hs:4:3: error: [GHC-83865] • Couldn't match expected type ‘[a1]’ with actual type ‘Bool’ • In the pattern: True In an equation for ‘f’: f True = 2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail014.stderr b/testsuite/tests/typecheck/should_fail/tcfail014.stderr index d33c12c69cf2..02537465e55f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail014.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail014.stderr @@ -1,5 +1,5 @@ -tcfail014.hs:5:33: error: +tcfail014.hs:5:33: error: [GHC-25897] • Couldn't match expected type ‘t5’ with actual type ‘t5 -> t6’ ‘t5’ is a rigid type variable bound by the inferred type of h :: (t5 -> t6) -> t6 diff --git a/testsuite/tests/typecheck/should_fail/tcfail015.stderr b/testsuite/tests/typecheck/should_fail/tcfail015.stderr index b1ef0773d581..535d5057f009 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail015.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail015.stderr @@ -1,5 +1,5 @@ -tcfail015.hs:7:13: error: +tcfail015.hs:7:13: error: [GHC-39999] • No instance for ‘Num Bool’ arising from the literal ‘2’ • In the expression: 2 In an equation for ‘g’: g (ANull) = 2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail016.stderr b/testsuite/tests/typecheck/should_fail/tcfail016.stderr index 9f38cd6461ca..155b8bd0495f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail016.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail016.stderr @@ -1,5 +1,5 @@ -tcfail016.hs:8:1: error: +tcfail016.hs:8:1: error: [GHC-83865] • Couldn't match type: Expr a with: (a, Expr a) Expected: AnnExpr a -> [[Char]] diff --git a/testsuite/tests/typecheck/should_fail/tcfail017.stderr b/testsuite/tests/typecheck/should_fail/tcfail017.stderr index ac1487330d3e..a6653c9ac491 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail017.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail017.stderr @@ -1,5 +1,5 @@ -tcfail017.hs:10:10: error: +tcfail017.hs:10:10: error: [GHC-39999] • Could not deduce ‘C [a]’ arising from the superclasses of an instance declaration from the context: B a diff --git a/testsuite/tests/typecheck/should_fail/tcfail018.stderr b/testsuite/tests/typecheck/should_fail/tcfail018.stderr index 0bfa00a5ea46..739ed68686a0 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail018.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail018.stderr @@ -1,5 +1,5 @@ -tcfail018.hs:5:10: error: +tcfail018.hs:5:10: error: [GHC-39999] • No instance for ‘Num [a0]’ arising from the literal ‘1’ • In the expression: 1 In a pattern binding: (a : []) = 1 diff --git a/testsuite/tests/typecheck/should_fail/tcfail019.stderr b/testsuite/tests/typecheck/should_fail/tcfail019.stderr index 5cedc7071b69..858723185fd1 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail019.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail019.stderr @@ -1,10 +1,10 @@ -tcfail019.hs:18:10: error: +tcfail019.hs:18:10: error: [GHC-39999] • No instance for ‘B [a]’ arising from the superclasses of an instance declaration • In the instance declaration for ‘D [a]’ -tcfail019.hs:18:10: error: +tcfail019.hs:18:10: error: [GHC-39999] • No instance for ‘C [a]’ arising from the superclasses of an instance declaration • In the instance declaration for ‘D [a]’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail020.stderr b/testsuite/tests/typecheck/should_fail/tcfail020.stderr index 6c476de65af2..a197c443ff72 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail020.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail020.stderr @@ -1,5 +1,5 @@ -tcfail020.hs:10:10: error: +tcfail020.hs:10:10: error: [GHC-39999] • Could not deduce ‘A [a]’ arising from the superclasses of an instance declaration from the context: A a diff --git a/testsuite/tests/typecheck/should_fail/tcfail023.stderr b/testsuite/tests/typecheck/should_fail/tcfail023.stderr index 714951df14b3..28bccf7f42be 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail023.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail023.stderr @@ -1,5 +1,5 @@ -tcfail023.hs:10:10: +tcfail023.hs:10:10: error: [GHC-59692] Duplicate instance declarations: instance A B -- Defined at tcfail023.hs:10:10 instance A B -- Defined at tcfail023.hs:13:10 diff --git a/testsuite/tests/typecheck/should_fail/tcfail028.stderr b/testsuite/tests/typecheck/should_fail/tcfail028.stderr index 518925575df9..1e809eb323ee 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail028.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail028.stderr @@ -1,7 +1,7 @@ -tcfail028.hs:4:17: - Expecting one more argument to ‘A a’ - Expected a type, but ‘A a’ has kind ‘k0 -> *’ - In the type ‘(A a)’ - In the definition of data constructor ‘B’ - In the data declaration for ‘A’ +tcfail028.hs:4:17: error: [GHC-83865] + • Expecting one more argument to ‘A a’ + Expected a type, but ‘A a’ has kind ‘k0 -> *’ + • In the type ‘(A a)’ + In the definition of data constructor ‘B’ + In the data declaration for ‘A’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail029.stderr b/testsuite/tests/typecheck/should_fail/tcfail029.stderr index cd7488d15579..e18c2a929963 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail029.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail029.stderr @@ -1,5 +1,5 @@ -tcfail029.hs:6:9: error: +tcfail029.hs:6:9: error: [GHC-39999] • No instance for ‘Ord Foo’ arising from a use of ‘>’ • In the expression: x > Bar In an equation for ‘f’: f x = x > Bar diff --git a/testsuite/tests/typecheck/should_fail/tcfail031.stderr b/testsuite/tests/typecheck/should_fail/tcfail031.stderr index 2a22e1b29ef8..8698e5e21c74 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail031.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail031.stderr @@ -1,6 +1,6 @@ -tcfail031.hs:3:10: - Couldn't match expected type ‘Bool’ with actual type ‘Char’ - In the expression: 'a' - In the expression: if 'a' then 1 else 2 - In an equation for ‘f’: f x = if 'a' then 1 else 2 +tcfail031.hs:3:10: error: [GHC-83865] + • Couldn't match expected type ‘Bool’ with actual type ‘Char’ + • In the expression: 'a' + In the expression: if 'a' then 1 else 2 + In an equation for ‘f’: f x = if 'a' then 1 else 2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail032.stderr b/testsuite/tests/typecheck/should_fail/tcfail032.stderr index bb7eafc6fbe0..0b7873241bf8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail032.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail032.stderr @@ -1,5 +1,5 @@ -tcfail032.hs:14:8: error: +tcfail032.hs:14:8: error: [GHC-25897] • Couldn't match expected type ‘a1 -> Int’ with actual type ‘p’ ‘p’ is a rigid type variable bound by the inferred type of f :: Eq a => p -> a -> Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail033.stderr b/testsuite/tests/typecheck/should_fail/tcfail033.stderr index 2b2089d8ec48..3cb9fc6fda38 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail033.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail033.stderr @@ -1,5 +1,5 @@ -tcfail033.hs:4:12: error: +tcfail033.hs:4:12: error: [GHC-25897] • Couldn't match expected type ‘(a, b)’ with actual type ‘a’ ‘a’ is a rigid type variable bound by the inferred type of buglet :: [(a, b)] diff --git a/testsuite/tests/typecheck/should_fail/tcfail034.stderr b/testsuite/tests/typecheck/should_fail/tcfail034.stderr index eea48c9dba87..a5927ce17b2c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail034.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail034.stderr @@ -1,5 +1,5 @@ -tcfail034.hs:17:13: error: +tcfail034.hs:17:13: error: [GHC-39999] • Could not deduce ‘Integral a’ arising from a use of ‘mod’ from the context: (Num a, Eq a) bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail035.stderr b/testsuite/tests/typecheck/should_fail/tcfail035.stderr index 1a3bd5d5c1f6..c036c5bc0ac2 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail035.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail035.stderr @@ -1,5 +1,5 @@ -tcfail035.hs:6:10: +tcfail035.hs:6:10: error: [GHC-59692] Duplicate instance declarations: instance Num NUM -- Defined at tcfail035.hs:6:10 instance Num NUM -- Defined at tcfail035.hs:7:10 diff --git a/testsuite/tests/typecheck/should_fail/tcfail036.stderr b/testsuite/tests/typecheck/should_fail/tcfail036.stderr index e94ba6a2a441..217f4af26f8d 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail036.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail036.stderr @@ -1,11 +1,11 @@ -tcfail036.hs:8:10: +tcfail036.hs:8:10: error: [GHC-59692] Duplicate instance declarations: instance Num NUM -- Defined at tcfail036.hs:8:10 instance Num NUM -- Defined at tcfail036.hs:10:10 -tcfail036.hs:11:13: - Expecting one more argument to ‘Num’ - Expected a type, but ‘Num’ has kind ‘* -> Constraint’ - In the first argument of ‘Eq’, namely ‘Num’ - In the instance declaration for ‘Eq Num’ +tcfail036.hs:11:13: error: [GHC-83865] + • Expecting one more argument to ‘Num’ + Expected a type, but ‘Num’ has kind ‘* -> Constraint’ + • In the first argument of ‘Eq’, namely ‘Num’ + In the instance declaration for ‘Eq Num’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail040.stderr b/testsuite/tests/typecheck/should_fail/tcfail040.stderr index b920c9dc964c..9fc5e821f761 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail040.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail040.stderr @@ -1,5 +1,5 @@ -tcfail040.hs:19:5: error: +tcfail040.hs:19:5: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘<<’ prevents the constraint ‘(ORD a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. diff --git a/testsuite/tests/typecheck/should_fail/tcfail041.stderr b/testsuite/tests/typecheck/should_fail/tcfail041.stderr index 75cd754d8f3a..0262386d9175 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail041.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail041.stderr @@ -1,5 +1,5 @@ -tcfail041.hs:5:1: error: +tcfail041.hs:5:1: error: [GHC-75863] • Illegal implicit parameter ‘?imp::Int’ • In the context: ?imp::Int While checking the super-classes of class ‘D’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail042.stderr b/testsuite/tests/typecheck/should_fail/tcfail042.stderr index d6a9fec2c5a6..dc521ae91af5 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail042.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail042.stderr @@ -1,5 +1,5 @@ -tcfail042.hs:15:10: error: +tcfail042.hs:15:10: error: [GHC-39999] • Could not deduce ‘Num a’ arising from the superclasses of an instance declaration from the context: (Eq a, Show a) @@ -8,7 +8,7 @@ tcfail042.hs:15:10: error: add (Num a) to the context of the instance declaration • In the instance declaration for ‘Bar [a]’ -tcfail042.hs:17:18: error: +tcfail042.hs:17:18: error: [GHC-39999] • Could not deduce ‘Num a’ arising from a use of ‘foo’ from the context: (Eq a, Show a) bound by the instance declaration at tcfail042.hs:15:10-34 diff --git a/testsuite/tests/typecheck/should_fail/tcfail043.stderr b/testsuite/tests/typecheck/should_fail/tcfail043.stderr index e30b7c6aaa54..d01ba0a5778f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail043.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail043.stderr @@ -1,5 +1,5 @@ -tcfail043.hs:38:17: error: +tcfail043.hs:38:17: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘gt’ prevents the constraint ‘(Ord_ a0)’ from being solved. Relevant bindings include @@ -22,7 +22,7 @@ tcfail043.hs:38:17: error: else if eq a (hd bs) then True else search a (tl bs) -tcfail043.hs:40:25: error: +tcfail043.hs:40:25: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘eq’ prevents the constraint ‘(Eq_ a0)’ from being solved. Relevant bindings include diff --git a/testsuite/tests/typecheck/should_fail/tcfail046.stderr b/testsuite/tests/typecheck/should_fail/tcfail046.stderr index 18de100ac6f7..a21ed18f1ca0 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail046.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail046.stderr @@ -1,5 +1,5 @@ -tcfail046.hs:10:50: error: +tcfail046.hs:10:50: error: [GHC-39999] • No instance for ‘Eq (Process a)’ arising from the first field of ‘Do’ (type ‘Process a’) (maybe you haven't applied a function to enough arguments?) @@ -8,7 +8,7 @@ tcfail046.hs:10:50: error: so you can specify the instance context yourself • When deriving the instance for (Eq (Continuation a)) -tcfail046.hs:22:25: error: +tcfail046.hs:22:25: error: [GHC-39999] • Could not deduce ‘Eq (Process a)’ arising from the first field of ‘Create’ (type ‘Process a’) from the context: Eq a diff --git a/testsuite/tests/typecheck/should_fail/tcfail048.stderr b/testsuite/tests/typecheck/should_fail/tcfail048.stderr index 49c8cf036025..a98076ae26c6 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail048.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail048.stderr @@ -1,3 +1,3 @@ -tcfail048.hs:3:8: error: +tcfail048.hs:3:8: error: [GHC-76037] Not in scope: type constructor or class ‘B’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail049.stderr b/testsuite/tests/typecheck/should_fail/tcfail049.stderr index 864b3cc1d74a..8084ff96995b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail049.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail049.stderr @@ -1,2 +1,3 @@ -tcfail049.hs:3:7: error: Variable not in scope: g :: t1 -> t2 +tcfail049.hs:3:7: error: [GHC-88464] + Variable not in scope: g :: t1 -> t2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail050.stderr b/testsuite/tests/typecheck/should_fail/tcfail050.stderr index 8ddfb10cfcc6..13b139af4274 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail050.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail050.stderr @@ -1,3 +1,3 @@ -tcfail050.hs:3:7: error: +tcfail050.hs:3:7: error: [GHC-88464] Data constructor not in scope: B :: t1 -> t2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail051.stderr b/testsuite/tests/typecheck/should_fail/tcfail051.stderr index 958d0530acd6..b36aa679c905 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail051.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail051.stderr @@ -1,2 +1,3 @@ -tcfail051.hs:3:10: Not in scope: type constructor or class ‘B’ +tcfail051.hs:3:10: error: [GHC-76037] + Not in scope: type constructor or class ‘B’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail052.stderr b/testsuite/tests/typecheck/should_fail/tcfail052.stderr index 671565b5068d..2b562db996fd 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail052.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail052.stderr @@ -1,2 +1,3 @@ -tcfail052.hs:3:16: Not in scope: type variable ‘c’ +tcfail052.hs:3:16: error: [GHC-76037] + Not in scope: type variable ‘c’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail053.stderr b/testsuite/tests/typecheck/should_fail/tcfail053.stderr index 75308e5fca57..e5a2aeddba51 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail053.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail053.stderr @@ -1,3 +1,3 @@ -tcfail053.hs:3:12: error: +tcfail053.hs:3:12: error: [GHC-76037] Not in scope: type constructor or class ‘A’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail054.stderr b/testsuite/tests/typecheck/should_fail/tcfail054.stderr index 79662bf1feb4..e7c95264da3a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail054.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail054.stderr @@ -1,2 +1,3 @@ -tcfail054.hs:3:4: Not in scope: data constructor ‘B’ +tcfail054.hs:3:4: error: [GHC-76037] + Not in scope: data constructor ‘B’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail055.stderr b/testsuite/tests/typecheck/should_fail/tcfail055.stderr index f70bad6a0213..ccdbc2a8e13b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail055.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail055.stderr @@ -1,5 +1,5 @@ -tcfail055.hs:3:8: - Couldn't match expected type ‘Float’ with actual type ‘Int’ - In the expression: (x + 1 :: Int) :: Float - In an equation for ‘f’: f x = (x + 1 :: Int) :: Float +tcfail055.hs:3:8: error: [GHC-83865] + • Couldn't match expected type ‘Float’ with actual type ‘Int’ + • In the expression: (x + 1 :: Int) :: Float + In an equation for ‘f’: f x = (x + 1 :: Int) :: Float diff --git a/testsuite/tests/typecheck/should_fail/tcfail056.stderr b/testsuite/tests/typecheck/should_fail/tcfail056.stderr index 16f44eacb87b..55e0ad70883c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail056.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail056.stderr @@ -1,2 +1,3 @@ -tcfail056.hs:10:15: ‘<=’ is not a (visible) method of class ‘Eq’ +tcfail056.hs:10:15: error: [GHC-54721] + ‘<=’ is not a (visible) method of class ‘Eq’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail057.stderr b/testsuite/tests/typecheck/should_fail/tcfail057.stderr index 4229e2fc389b..afe8f8aa5098 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail057.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail057.stderr @@ -1,4 +1,4 @@ -tcfail057.hs:5:7: error: +tcfail057.hs:5:7: error: [GHC-83865] • Expected a type, but ‘RealFrac a’ has kind ‘Constraint’ • In the type signature: f :: (RealFrac a) -> a -> a diff --git a/testsuite/tests/typecheck/should_fail/tcfail058.stderr b/testsuite/tests/typecheck/should_fail/tcfail058.stderr index a0ad07ea1f37..ef07465be34e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail058.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail058.stderr @@ -1,5 +1,5 @@ -tcfail058.hs:6:7: error: +tcfail058.hs:6:7: error: [GHC-83865] • Expecting one more argument to ‘Array a’ Expected a constraint, but ‘Array a’ has kind ‘* -> *’ • In the type signature: f :: (Array a) => a -> b diff --git a/testsuite/tests/typecheck/should_fail/tcfail061.stderr b/testsuite/tests/typecheck/should_fail/tcfail061.stderr index abd72aa2bc0d..18c32bf13e7a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail061.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail061.stderr @@ -1,8 +1,12 @@ -tcfail061.hs:5:17: Not in scope: type variable ‘b’ +tcfail061.hs:5:17: error: [GHC-76037] + Not in scope: type variable ‘b’ -tcfail061.hs:5:19: Not in scope: type variable ‘b’ +tcfail061.hs:5:19: error: [GHC-76037] + Not in scope: type variable ‘b’ -tcfail061.hs:11:22: Not in scope: type variable ‘b’ +tcfail061.hs:11:22: error: [GHC-76037] + Not in scope: type variable ‘b’ -tcfail061.hs:11:24: Not in scope: type variable ‘b’ +tcfail061.hs:11:24: error: [GHC-76037] + Not in scope: type variable ‘b’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail062.stderr b/testsuite/tests/typecheck/should_fail/tcfail062.stderr index 197bdb30f0e7..8d568e2722c2 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail062.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail062.stderr @@ -1,10 +1,10 @@ -tcfail062.hs:34:6: error: +tcfail062.hs:34:6: error: [GHC-76037] Not in scope: type variable ‘behaviouralExpression’ Suggested fix: Perhaps use type constructor or class ‘BehaviouralExpression’ (line 25) -tcfail062.hs:34:29: error: +tcfail062.hs:34:29: error: [GHC-76037] Not in scope: type variable ‘behaviouralExpression’ Suggested fix: Perhaps use type constructor or class ‘BehaviouralExpression’ (line 25) diff --git a/testsuite/tests/typecheck/should_fail/tcfail063.stderr b/testsuite/tests/typecheck/should_fail/tcfail063.stderr index a3347122e778..bc2980007a05 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail063.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail063.stderr @@ -1,5 +1,5 @@ -tcfail063.hs:6:9: error: +tcfail063.hs:6:9: error: [GHC-83865] • Expecting one more argument to ‘Num’ Expected a constraint, but ‘Num’ has kind ‘* -> Constraint’ • In the type signature: moby :: Num => Int -> a -> Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail065.stderr b/testsuite/tests/typecheck/should_fail/tcfail065.stderr index 81746cd2001c..cd2200c63a11 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail065.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail065.stderr @@ -1,5 +1,5 @@ -tcfail065.hs:29:20: error: +tcfail065.hs:29:20: error: [GHC-25897] • Couldn't match expected type ‘x’ with actual type ‘x1’ ‘x1’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail067.stderr b/testsuite/tests/typecheck/should_fail/tcfail067.stderr index cd8d049fb069..fffdfaf6f700 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail067.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail067.stderr @@ -2,7 +2,7 @@ tcfail067.hs:1:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -tcfail067.hs:12:16: error: +tcfail067.hs:12:16: error: [GHC-39999] • No instance for ‘Ord a’ arising from a use of ‘SubRange’ Possible fix: add (Ord a) to the context of @@ -12,7 +12,7 @@ tcfail067.hs:12:16: error: In an equation for ‘subRangeValue’: subRangeValue (SubRange (lower, upper) value) = value -tcfail067.hs:15:11: error: +tcfail067.hs:15:11: error: [GHC-39999] • No instance for ‘Ord a’ arising from a use of ‘SubRange’ Possible fix: add (Ord a) to the context of @@ -21,7 +21,7 @@ tcfail067.hs:15:11: error: • In the pattern: SubRange r value In an equation for ‘subRange’: subRange (SubRange r value) = r -tcfail067.hs:46:12: error: +tcfail067.hs:46:12: error: [GHC-39999] • Could not deduce ‘Ord a’ arising from a use of ‘SubRange’ from the context: Show a bound by the type signature for: @@ -36,7 +36,7 @@ tcfail067.hs:46:12: error: showRange (SubRange (lower, upper) value) = show value ++ " :" ++ show lower ++ ".." ++ show upper -tcfail067.hs:61:12: error: +tcfail067.hs:61:12: error: [GHC-39999] • Could not deduce ‘Ord a’ arising from a use of ‘numSubRangeNegate’ from the context: Num a @@ -47,7 +47,7 @@ tcfail067.hs:61:12: error: In an equation for ‘negate’: negate = numSubRangeNegate In the instance declaration for ‘Num (SubRange a)’ -tcfail067.hs:65:19: error: +tcfail067.hs:65:19: error: [GHC-39999] • Could not deduce ‘Ord a’ arising from a use of ‘SubRange’ from the context: Num a bound by the instance declaration at tcfail067.hs:60:10-34 @@ -60,7 +60,7 @@ tcfail067.hs:65:19: error: = SubRange (fromInteger a, fromInteger a) (fromInteger a) In the instance declaration for ‘Num (SubRange a)’ -tcfail067.hs:74:5: error: +tcfail067.hs:74:5: error: [GHC-39999] • Could not deduce ‘Ord a’ arising from a use of ‘SubRange’ from the context: Num a bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail068.stderr b/testsuite/tests/typecheck/should_fail/tcfail068.stderr index 7266e7682338..1603f77b8370 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail068.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail068.stderr @@ -1,5 +1,5 @@ -tcfail068.hs:14:9: error: +tcfail068.hs:14:9: error: [GHC-25897] • Couldn't match type ‘s1’ with ‘s’ Expected: GHC.ST.ST s1 (IndTree s a) Actual: GHC.ST.ST s1 (STArray s1 (Int, Int) a) @@ -22,7 +22,7 @@ tcfail068.hs:14:9: error: itgen :: (Int, Int) -> a -> IndTree s a (bound at tcfail068.hs:12:1) -tcfail068.hs:19:21: error: +tcfail068.hs:19:21: error: [GHC-25897] • Couldn't match type ‘s1’ with ‘s’ Expected: STArray s1 (Int, Int) a Actual: IndTree s a @@ -46,7 +46,7 @@ tcfail068.hs:19:21: error: itiap :: (Int, Int) -> (a -> a) -> IndTree s a -> IndTree s a (bound at tcfail068.hs:17:1) -tcfail068.hs:24:36: error: +tcfail068.hs:24:36: error: [GHC-25897] • Couldn't match type ‘s1’ with ‘s’ Expected: GHC.ST.ST s1 (IndTree s a) Actual: GHC.ST.ST s (IndTree s a) @@ -83,7 +83,7 @@ tcfail068.hs:24:36: error: -> (a -> a) -> IndTree s a -> IndTree s a (bound at tcfail068.hs:24:1) -tcfail068.hs:36:46: error: +tcfail068.hs:36:46: error: [GHC-25897] • Couldn't match type ‘s1’ with ‘s’ Expected: GHC.ST.ST s1 (c, IndTree s b) Actual: GHC.ST.ST s (c, IndTree s b) diff --git a/testsuite/tests/typecheck/should_fail/tcfail069.stderr b/testsuite/tests/typecheck/should_fail/tcfail069.stderr index 592265adb8d0..76a7509d63d2 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail069.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail069.stderr @@ -1,5 +1,5 @@ -tcfail069.hs:21:7: error: +tcfail069.hs:21:7: error: [GHC-83865] • Couldn't match expected type: ([Int], [Int]) with actual type: [a0] • In the pattern: [] diff --git a/testsuite/tests/typecheck/should_fail/tcfail070.stderr b/testsuite/tests/typecheck/should_fail/tcfail070.stderr index 3f7bc90d8ad6..065c62ad5c08 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail070.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail070.stderr @@ -1,5 +1,5 @@ -tcfail070.hs:15:15: error: +tcfail070.hs:15:15: error: [GHC-83865] • Expected kind ‘* -> k0’, but ‘[Int]’ has kind ‘*’ • In the type ‘([Int] Bool)’ In the type declaration for ‘State’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail072.stderr b/testsuite/tests/typecheck/should_fail/tcfail072.stderr index 3310aeb4e9e1..d4bea8652957 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail072.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail072.stderr @@ -1,5 +1,5 @@ -tcfail072.hs:23:13: error: +tcfail072.hs:23:13: error: [GHC-39999] • Could not deduce ‘Ord p0’ arising from a use of ‘g’ from the context: (Ord p, Ord q) bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail073.stderr b/testsuite/tests/typecheck/should_fail/tcfail073.stderr index da7f1e4e6d7b..c1b36669c1eb 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail073.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail073.stderr @@ -1,5 +1,5 @@ -tcfail073.hs:8:10: +tcfail073.hs:8:10: error: [GHC-59692] Duplicate instance declarations: instance Eq a => Eq (a, b) -- Defined at tcfail073.hs:8:10 instance (Eq a, Eq b) => Eq (a, b) -- Defined in ‘GHC.Classes’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail075.stderr b/testsuite/tests/typecheck/should_fail/tcfail075.stderr index 2c251a7a84f7..758650f8d76d 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail075.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail075.stderr @@ -1,6 +1,6 @@ -tcfail075.hs:10:1: +tcfail075.hs:10:1: error: [GHC-48099] Top-level bindings for unlifted types aren't allowed: x = 1# -tcfail075.hs:13:1: +tcfail075.hs:13:1: error: [GHC-48099] Top-level bindings for unlifted types aren't allowed: y = x +# 1# diff --git a/testsuite/tests/typecheck/should_fail/tcfail076.stderr b/testsuite/tests/typecheck/should_fail/tcfail076.stderr index c45eed328e4a..7d73cfe35578 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail076.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail076.stderr @@ -1,5 +1,5 @@ -tcfail076.hs:19:82: error: +tcfail076.hs:19:82: error: [GHC-25897] • Couldn't match type ‘res1’ with ‘res’ Expected: m res1 Actual: m res diff --git a/testsuite/tests/typecheck/should_fail/tcfail077.stderr b/testsuite/tests/typecheck/should_fail/tcfail077.stderr index 39ee49db3f0f..011efd5696b5 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail077.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail077.stderr @@ -1,2 +1,3 @@ -tcfail077.hs:8:3: ‘op2’ is not a (visible) method of class ‘Foo’ +tcfail077.hs:8:3: error: [GHC-54721] + ‘op2’ is not a (visible) method of class ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail078.stderr b/testsuite/tests/typecheck/should_fail/tcfail078.stderr index 014d589bf6ef..b7b85e248c90 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail078.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail078.stderr @@ -1,4 +1,4 @@ -tcfail078.hs:5:6: error: +tcfail078.hs:5:6: error: [GHC-83865] • Expected kind ‘* -> Constraint’, but ‘Integer’ has kind ‘*’ • In the type signature: f :: Integer i => i diff --git a/testsuite/tests/typecheck/should_fail/tcfail079.stderr b/testsuite/tests/typecheck/should_fail/tcfail079.stderr index 8f28c7d41c9c..a5c82e99f91a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail079.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail079.stderr @@ -1,5 +1,5 @@ -tcfail079.hs:9:1: error: +tcfail079.hs:9:1: error: [GHC-55233] • Newtype has non-* return kind ‘TYPE 'GHC.Types.IntRep’ • In the newtype declaration for ‘Unboxed’ Suggested fix: Perhaps you intended to use UnliftedNewtypes diff --git a/testsuite/tests/typecheck/should_fail/tcfail080.stderr b/testsuite/tests/typecheck/should_fail/tcfail080.stderr index 8746ba0bb960..cc6c7ca577d4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail080.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail080.stderr @@ -1,5 +1,5 @@ -tcfail080.hs:27:1: error: +tcfail080.hs:27:1: error: [GHC-39999] • Could not deduce ‘Collection c0 a’ from the context: Collection c a bound by the inferred type for ‘q’: diff --git a/testsuite/tests/typecheck/should_fail/tcfail085.stderr b/testsuite/tests/typecheck/should_fail/tcfail085.stderr index f82cce8a6f2e..3bacea0bb299 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail085.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail085.stderr @@ -1,5 +1,5 @@ -tcfail085.hs:9:5: error: +tcfail085.hs:9:5: error: [GHC-95909] • Constructor ‘F’ does not have the required strict field(s): y :: Int • In the expression: F {x = 2} diff --git a/testsuite/tests/typecheck/should_fail/tcfail086.stderr b/testsuite/tests/typecheck/should_fail/tcfail086.stderr index db83adda8cd9..0a21375566e9 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail086.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail086.stderr @@ -1,5 +1,5 @@ -tcfail086.hs:6:38: error: +tcfail086.hs:6:38: error: [GHC-16437] • Can't make a derived instance of ‘Eq Ex’: Constructor ‘Ex’ has existential type variables in its type • In the data declaration for ‘Ex’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail088.stderr b/testsuite/tests/typecheck/should_fail/tcfail088.stderr index 8d3e841bdfec..d38b886954b4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail088.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail088.stderr @@ -1,4 +1,4 @@ -tcfail088.hs:9:19: error: +tcfail088.hs:9:19: error: [GHC-91510] • Illegal polymorphic type: forall s. T s a • In the instance declaration for ‘Ord (forall s. T s a)’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail089.stderr b/testsuite/tests/typecheck/should_fail/tcfail089.stderr index 19dd837c136c..3c068b741fe6 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail089.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail089.stderr @@ -1,2 +1,3 @@ -tcfail089.hs:10:10: Parse error in pattern: "hd" ++ _ +tcfail089.hs:10:10: error: [GHC-07626] + Parse error in pattern: "hd" ++ _ diff --git a/testsuite/tests/typecheck/should_fail/tcfail090.stderr b/testsuite/tests/typecheck/should_fail/tcfail090.stderr index efb73e2d45ce..18f389b75f34 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail090.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail090.stderr @@ -1,5 +1,5 @@ -tcfail090.hs:11:9: error: +tcfail090.hs:11:9: error: [GHC-18872] • Couldn't match a lifted type with an unlifted type When matching types a0 :: * diff --git a/testsuite/tests/typecheck/should_fail/tcfail093.stderr b/testsuite/tests/typecheck/should_fail/tcfail093.stderr index 5776a720b192..94c98be7318f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail093.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail093.stderr @@ -1,5 +1,5 @@ -tcfail093.hs:23:10: error: +tcfail093.hs:23:10: error: [GHC-39999] • No instance for ‘Call (IO Int) h0’ arising from a use of ‘call’ • In the expression: call primDup In an equation for ‘dup’: dup () = call primDup diff --git a/testsuite/tests/typecheck/should_fail/tcfail095.stderr b/testsuite/tests/typecheck/should_fail/tcfail095.stderr index 55f5b2954d93..d0cbab168c03 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail095.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail095.stderr @@ -1,3 +1,3 @@ -tcfail095.hs:9:1: +tcfail095.hs:9:1: error: [GHC-48099] Top-level bindings for unlifted types aren't allowed: x = 1# diff --git a/testsuite/tests/typecheck/should_fail/tcfail096.stderr b/testsuite/tests/typecheck/should_fail/tcfail096.stderr index b86afb30e7fe..4506b3def61e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail096.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail096.stderr @@ -1,5 +1,5 @@ -tcfail096.hs:23:10: +tcfail096.hs:23:10: error: [GHC-46208] Functional dependencies conflict between instance declarations: instance Foo (p -> s) (t p) (t s) -- Defined at tcfail096.hs:23:10 instance Foo ((a, b) -> r) (c a, c b) (c r) diff --git a/testsuite/tests/typecheck/should_fail/tcfail097.stderr b/testsuite/tests/typecheck/should_fail/tcfail097.stderr index 48cdfa37cd34..bad134d6bdc4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail097.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail097.stderr @@ -1,5 +1,5 @@ -tcfail097.hs:5:6: error: +tcfail097.hs:5:6: error: [GHC-39999] • Could not deduce ‘Eq a0’ from the context: Eq a bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail098.stderr b/testsuite/tests/typecheck/should_fail/tcfail098.stderr index f4718e371b22..7a6194e859eb 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail098.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail098.stderr @@ -1,5 +1,5 @@ -tcfail098.hs:13:10: error: +tcfail098.hs:13:10: error: [GHC-39999] • Could not deduce ‘Bar a0’ from the context: Bar a bound by an instance declaration: diff --git a/testsuite/tests/typecheck/should_fail/tcfail099.stderr b/testsuite/tests/typecheck/should_fail/tcfail099.stderr index a04920fb394f..a989467aa9f7 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail099.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail099.stderr @@ -1,5 +1,5 @@ -tcfail099.hs:9:20: error: +tcfail099.hs:9:20: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘p’ ‘a’ is a rigid type variable bound by a pattern with constructor: C :: forall a. (a -> Int) -> DS, diff --git a/testsuite/tests/typecheck/should_fail/tcfail102.stderr b/testsuite/tests/typecheck/should_fail/tcfail102.stderr index 2afbb655b082..53a8b5dfec47 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail102.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail102.stderr @@ -2,7 +2,7 @@ tcfail102.hs:1:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -tcfail102.hs:9:7: error: +tcfail102.hs:9:7: error: [GHC-39999] • Could not deduce ‘Integral (Ratio a)’ from the context: Integral a bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail103.stderr b/testsuite/tests/typecheck/should_fail/tcfail103.stderr index 0a7a386f9e4f..1c133a9d4976 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail103.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail103.stderr @@ -1,5 +1,5 @@ -tcfail103.hs:15:23: error: +tcfail103.hs:15:23: error: [GHC-25897] • Couldn't match type ‘s’ with ‘t’ Expected: STRef s Int Actual: STRef t Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail104.stderr b/testsuite/tests/typecheck/should_fail/tcfail104.stderr index 3645423c0a17..3929f63aa40b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail104.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail104.stderr @@ -1,5 +1,5 @@ -tcfail104.hs:16:12: error: +tcfail104.hs:16:12: error: [GHC-83865] • Couldn't match type: Char -> Char with: forall a. a -> a Expected: (forall a. a -> a) -> Char -> Char @@ -12,7 +12,7 @@ tcfail104.hs:16:12: error: = (if v then (\ (x :: forall a. a -> a) -> x) else (\ x -> x)) id 'c' -tcfail104.hs:22:12: error: +tcfail104.hs:22:12: error: [GHC-83865] • Couldn't match type: forall a. a -> a with: Char -> Char Expected: (Char -> Char) -> Char -> Char diff --git a/testsuite/tests/typecheck/should_fail/tcfail106.stderr b/testsuite/tests/typecheck/should_fail/tcfail106.stderr index 85dc5aca81c7..f1472f9c342f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail106.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail106.stderr @@ -1,10 +1,10 @@ -tcfail106.hs:11:10: error: +tcfail106.hs:11:10: error: [GHC-39999] • No instance for ‘S Int’ arising from the superclasses of an instance declaration • In the instance declaration for ‘C Int’ -tcfail106.hs:14:10: error: +tcfail106.hs:14:10: error: [GHC-39999] • No instance for ‘S Int’ arising from the superclasses of an instance declaration • In the instance declaration for ‘D Int’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail109.stderr b/testsuite/tests/typecheck/should_fail/tcfail109.stderr index 0178f88f8e5d..74dc0cc9f49b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail109.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail109.stderr @@ -1,5 +1,5 @@ -tcfail109.hs:16:10: error: +tcfail109.hs:16:10: error: [GHC-39999] • No instance for ‘Eq Stupid’ arising from the superclasses of an instance declaration • In the instance declaration for ‘Collects Bool Stupid’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail110.stderr b/testsuite/tests/typecheck/should_fail/tcfail110.stderr index cb76cb1fcf59..258c9c9371c6 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail110.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail110.stderr @@ -1,5 +1,5 @@ -tcfail110.hs:8:30: error: +tcfail110.hs:8:30: error: [GHC-83865] • Expecting one more argument to ‘Foo a’ Expected a type, but ‘Foo a’ has kind ‘* -> *’ • In the type signature: diff --git a/testsuite/tests/typecheck/should_fail/tcfail112.stderr b/testsuite/tests/typecheck/should_fail/tcfail112.stderr index a3e81d0adb90..f299042c2264 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail112.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail112.stderr @@ -1,17 +1,17 @@ -tcfail112.hs:11:6: error: +tcfail112.hs:11:6: error: [GHC-95909] • Constructor ‘S’ does not have the required strict field(s): y :: Int • In the expression: S {} In an equation for ‘s1’: s1 = S {} -tcfail112.hs:12:6: error: +tcfail112.hs:12:6: error: [GHC-95909] • Constructor ‘S’ does not have the required strict field(s): y :: Int • In the expression: S {x = 3} In an equation for ‘s2’: s2 = S {x = 3} -tcfail112.hs:14:6: error: +tcfail112.hs:14:6: error: [GHC-95909] • Constructor ‘T’ does not have the required strict field(s) • In the expression: T {} In an equation for ‘t’: t = T {} diff --git a/testsuite/tests/typecheck/should_fail/tcfail113.stderr b/testsuite/tests/typecheck/should_fail/tcfail113.stderr index fbdffa5ab928..12450bc4b2f5 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail113.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail113.stderr @@ -1,14 +1,14 @@ -tcfail113.hs:12:7: error: +tcfail113.hs:12:7: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type signature: f :: [Maybe] -tcfail113.hs:15:8: error: +tcfail113.hs:15:8: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’ • In the first argument of ‘T’, namely ‘Int’ In the type signature: g :: T Int -tcfail113.hs:18:6: error: +tcfail113.hs:18:6: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’ • In the type signature: h :: Int Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail114.stderr b/testsuite/tests/typecheck/should_fail/tcfail114.stderr index 0ba84aad7149..7516ebb712d4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail114.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail114.stderr @@ -1,5 +1,5 @@ -tcfail114.hs:11:20: - ‘foo’ is not a record selector - In the expression: undefined {foo = ()} - In an equation for ‘test’: test = undefined {foo = ()} +tcfail114.hs:11:20: error: [GHC-47535] + • ‘foo’ is not a record selector + • In the expression: undefined {foo = ()} + In an equation for ‘test’: test = undefined {foo = ()} diff --git a/testsuite/tests/typecheck/should_fail/tcfail116.stderr b/testsuite/tests/typecheck/should_fail/tcfail116.stderr index cbcba0548d05..982866516eca 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail116.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail116.stderr @@ -1,5 +1,5 @@ -tcfail116.hs:7:5: error: +tcfail116.hs:7:5: error: [GHC-39999] • Could not deduce ‘Foo a0’ from the context: Foo a bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail117.stderr b/testsuite/tests/typecheck/should_fail/tcfail117.stderr index 153acb2bf140..ce2e4c250e91 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail117.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail117.stderr @@ -1,5 +1,5 @@ -tcfail117.hs:6:32: error: +tcfail117.hs:6:32: error: [GHC-30750] • Can't make a derived instance of ‘Enum N1’: ‘N1’ must be an enumeration type (an enumeration consists of one or more nullary, non-GADT constructors) @@ -8,7 +8,7 @@ tcfail117.hs:6:32: error: Perhaps you intended to use GeneralizedNewtypeDeriving for GHC's newtype-deriving extension -tcfail117.hs:7:32: error: +tcfail117.hs:7:32: error: [GHC-30750] • Can't make a derived instance of ‘Enum N2’: ‘N2’ must be an enumeration type (an enumeration consists of one or more nullary, non-GADT constructors) diff --git a/testsuite/tests/typecheck/should_fail/tcfail118.stderr b/testsuite/tests/typecheck/should_fail/tcfail118.stderr index 705a68d87ae4..6052d6d9667e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail118.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail118.stderr @@ -1,5 +1,5 @@ -tcfail118.hs:10:29: error: +tcfail118.hs:10:29: error: [GHC-43085] • Overlapping instances for Eq Foo arising from the first field of ‘Bar’ (type ‘Foo’) Matching instances: diff --git a/testsuite/tests/typecheck/should_fail/tcfail119.stderr b/testsuite/tests/typecheck/should_fail/tcfail119.stderr index d23ab1f537e8..33c2d9a61e44 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail119.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail119.stderr @@ -1,5 +1,5 @@ -tcfail119.hs:11:8: error: +tcfail119.hs:11:8: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘[Char]’ Expected: Bool Actual: String diff --git a/testsuite/tests/typecheck/should_fail/tcfail121.stderr b/testsuite/tests/typecheck/should_fail/tcfail121.stderr index 179729586fe9..5618d844718e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail121.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail121.stderr @@ -1,5 +1,5 @@ -tcfail121.hs:13:9: error: +tcfail121.hs:13:9: error: [GHC-43085] • Overlapping instances for Foo [a] arising from a use of ‘op’ Matching instance: instance [overlappable] Foo a => Foo [a] diff --git a/testsuite/tests/typecheck/should_fail/tcfail122.stderr b/testsuite/tests/typecheck/should_fail/tcfail122.stderr index 9aed03214bc7..58bb3d2389ac 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail122.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail122.stderr @@ -1,5 +1,5 @@ -tcfail122.hs:9:9: error: +tcfail122.hs:9:9: error: [GHC-18872] • Couldn't match kind ‘*’ with ‘* -> *’ When matching types c0 :: (* -> *) -> * diff --git a/testsuite/tests/typecheck/should_fail/tcfail123.stderr b/testsuite/tests/typecheck/should_fail/tcfail123.stderr index 7089810e7c06..19c611b55a86 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail123.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail123.stderr @@ -1,5 +1,5 @@ -tcfail123.hs:11:9: error: +tcfail123.hs:11:9: error: [GHC-18872] • Couldn't match a lifted type with an unlifted type When matching types p0 :: * diff --git a/testsuite/tests/typecheck/should_fail/tcfail125.stderr b/testsuite/tests/typecheck/should_fail/tcfail125.stderr index 3299ba0a5872..897ef88af18d 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail125.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail125.stderr @@ -2,7 +2,7 @@ tcfail125.hs:1:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -tcfail125.hs:11:4: error: +tcfail125.hs:11:4: error: [GHC-39999] • No instance for ‘Show a’ arising from a use of ‘LiftObs’ Possible fix: add (Show a) to the context of diff --git a/testsuite/tests/typecheck/should_fail/tcfail127.stderr b/testsuite/tests/typecheck/should_fail/tcfail127.stderr index cf027ad13171..4312175ce275 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail127.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail127.stderr @@ -1,5 +1,5 @@ -tcfail127.hs:3:8: error: +tcfail127.hs:3:8: error: [GHC-91510] • Illegal qualified type: Num a => a -> a • In the type signature: foo :: IO (Num a => a -> a) Suggested fix: Perhaps you intended to use ImpredicativeTypes diff --git a/testsuite/tests/typecheck/should_fail/tcfail128.stderr b/testsuite/tests/typecheck/should_fail/tcfail128.stderr index 42bd22b6c99a..02f5e9222881 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail128.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail128.stderr @@ -1,5 +1,5 @@ -tcfail128.hs:18:16: error: +tcfail128.hs:18:16: error: [GHC-39999] • Ambiguous type variable ‘b0’ arising from a use of ‘thaw’ prevents the constraint ‘(Data.Array.Base.MArray b0 FlatVector IO)’ from being solved. diff --git a/testsuite/tests/typecheck/should_fail/tcfail130.stderr b/testsuite/tests/typecheck/should_fail/tcfail130.stderr index 51f77d14c696..e57ccd071758 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail130.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail130.stderr @@ -1,5 +1,5 @@ -tcfail130.hs:10:7: error: +tcfail130.hs:10:7: error: [GHC-91416] • Unbound implicit parameter (?x::Int) arising from a use of ‘woggle’ • In the expression: woggle 3 diff --git a/testsuite/tests/typecheck/should_fail/tcfail131.stderr b/testsuite/tests/typecheck/should_fail/tcfail131.stderr index 25f3f427eda9..7224011ac6d3 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail131.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail131.stderr @@ -1,5 +1,5 @@ -tcfail131.hs:7:9: error: +tcfail131.hs:7:9: error: [GHC-25897] • Couldn't match expected type ‘b’ with actual type ‘Integer’ ‘b’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail132.stderr b/testsuite/tests/typecheck/should_fail/tcfail132.stderr index a026a3a9f97f..76ac118bab0b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail132.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail132.stderr @@ -1,5 +1,5 @@ -tcfail132.hs:18:37: error: +tcfail132.hs:18:37: error: [GHC-83865] • Couldn't match kind ‘*’ with ‘* -> *’ Expected kind ‘* -> * -> * -> *’, but ‘Object f' f t’ has kind ‘* -> * -> *’ @@ -7,7 +7,7 @@ tcfail132.hs:18:37: error: In the type ‘T (Object f' f t) (DUnit t)’ In the type declaration for ‘LiftObject’ -tcfail132.hs:18:53: error: +tcfail132.hs:18:53: error: [GHC-83865] • Couldn't match kind ‘*’ with ‘* -> *’ Expected kind ‘* -> * -> * -> *’, but ‘DUnit t’ has kind ‘* -> * -> *’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail133.stderr b/testsuite/tests/typecheck/should_fail/tcfail133.stderr index 8917e46ee9bf..5b2a8944e580 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail133.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail133.stderr @@ -2,7 +2,7 @@ tcfail133.hs:2:61: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -tcfail133.hs:68:7: error: +tcfail133.hs:68:7: error: [GHC-39999] • Ambiguous type variable ‘a0’ arising from a use of ‘show’ prevents the constraint ‘(Show a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. @@ -18,7 +18,7 @@ tcfail133.hs:68:7: error: In an equation for ‘foo’: foo = show $ add (One :@ Zero) (One :@ One) -tcfail133.hs:68:14: error: +tcfail133.hs:68:14: error: [GHC-39999] • No instance for ‘AddDigit (Zero :@ (One :@ One)) One a0’ arising from a use of ‘add’ • In the second argument of ‘($)’, namely diff --git a/testsuite/tests/typecheck/should_fail/tcfail134.stderr b/testsuite/tests/typecheck/should_fail/tcfail134.stderr index 46ddc334bca0..9fc8842d520a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail134.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail134.stderr @@ -1,5 +1,5 @@ -tcfail134.hs:5:33: error: +tcfail134.hs:5:33: error: [GHC-83865] • Expecting one more argument to ‘XML’ Expected a type, but ‘XML’ has kind ‘* -> Constraint’ • In the type signature: toXML :: a -> XML diff --git a/testsuite/tests/typecheck/should_fail/tcfail135.stderr b/testsuite/tests/typecheck/should_fail/tcfail135.stderr index 50186b6178b6..1f2285e3234d 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail135.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail135.stderr @@ -1,7 +1,6 @@ -tcfail135.hs:6:23: error: +tcfail135.hs:6:23: error: [GHC-83865] • Expecting one more argument to ‘f’ Expected a type, but ‘f’ has kind ‘k0 -> *’ - • In the type signature: - baa :: f a -> f + • In the type signature: baa :: f a -> f In the class declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail136.stderr b/testsuite/tests/typecheck/should_fail/tcfail136.stderr index 3d6a520c91fa..8d2573a7026f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail136.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail136.stderr @@ -1,7 +1,7 @@ -tcfail136.hs:9:35: - Expecting one more argument to ‘SymDict’ - Expected a type, but ‘SymDict’ has kind ‘* -> *’ - In the type ‘SymDict’ - In the definition of data constructor ‘SymTable’ - In the data declaration for ‘SymTable’ +tcfail136.hs:9:35: error: [GHC-83865] + • Expecting one more argument to ‘SymDict’ + Expected a type, but ‘SymDict’ has kind ‘* -> *’ + • In the type ‘SymDict’ + In the definition of data constructor ‘SymTable’ + In the data declaration for ‘SymTable’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail137.stderr b/testsuite/tests/typecheck/should_fail/tcfail137.stderr index 28a0d5834be8..673f50dfa0ce 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail137.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail137.stderr @@ -2,7 +2,7 @@ tcfail137.hs:1:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -tcfail137.hs:8:5: error: +tcfail137.hs:8:5: error: [GHC-39999] • No instance for ‘Floating Bool’ arising from a use of ‘Test’ • In the expression: Test [False, True] In an equation for ‘x’: x = Test [False, True] diff --git a/testsuite/tests/typecheck/should_fail/tcfail140.stderr b/testsuite/tests/typecheck/should_fail/tcfail140.stderr index cbac61f7d0bc..32c8c61cf972 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail140.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail140.stderr @@ -1,5 +1,5 @@ -tcfail140.hs:11:7: error: +tcfail140.hs:11:7: error: [GHC-83865] • Couldn't match expected type ‘t0 -> t’ with actual type ‘Int’ • The function ‘f’ is applied to two value arguments, but its type ‘Int -> Int’ has only one @@ -7,7 +7,7 @@ tcfail140.hs:11:7: error: In an equation for ‘bar’: bar = f 3 9 • Relevant bindings include bar :: t (bound at tcfail140.hs:11:1) -tcfail140.hs:13:10: error: +tcfail140.hs:13:10: error: [GHC-83865] • Couldn't match expected type ‘t1 -> t’ with actual type ‘Int’ • The function ‘f’ is applied to two value arguments, but its type ‘Int -> Int’ has only one @@ -16,7 +16,7 @@ tcfail140.hs:13:10: error: • Relevant bindings include rot :: p -> t (bound at tcfail140.hs:13:1) -tcfail140.hs:15:15: error: +tcfail140.hs:15:15: error: [GHC-83865] • Couldn't match expected type ‘a -> b’ with actual type ‘Int’ • In the first argument of ‘map’, namely ‘(3 `f`)’ In the expression: map (3 `f`) xs @@ -32,7 +32,7 @@ tcfail140.hs:17:8: error: but its type ‘Maybe a -> a’ has only one In the expression: ((\ Just x -> x) :: Maybe a -> a) (Just 1) -tcfail140.hs:20:1: error: +tcfail140.hs:20:1: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘p0 -> Bool’ • The equation for ‘g’ has two value arguments, but its type ‘Int -> Int’ has only one diff --git a/testsuite/tests/typecheck/should_fail/tcfail142.stderr b/testsuite/tests/typecheck/should_fail/tcfail142.stderr index 83469d87d094..85cb68284fa8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail142.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail142.stderr @@ -1,5 +1,5 @@ -tcfail142.hs:19:8: error: +tcfail142.hs:19:8: error: [GHC-39999] • Could not deduce ‘Bar a0 r’ from the context: Bar a r bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail143.stderr b/testsuite/tests/typecheck/should_fail/tcfail143.stderr index 841504d3f981..416a2c0dd4e1 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail143.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail143.stderr @@ -1,5 +1,5 @@ -tcfail143.hs:30:9: error: +tcfail143.hs:30:9: error: [GHC-18872] • Couldn't match type ‘S Z’ with ‘Z’ arising from a functional dependency between: constraint ‘MinMax (S Z) Z Z Z’ arising from a use of ‘extend’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail146.stderr b/testsuite/tests/typecheck/should_fail/tcfail146.stderr index ae126f5f1e1c..ac65c39bb2cd 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail146.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail146.stderr @@ -1,5 +1,5 @@ -tcfail146.hs:7:22: error: +tcfail146.hs:7:22: error: [GHC-83865] • Expected a type, but ‘SClass a’ has kind ‘Constraint’ • In the type ‘(SClass a)’ In the definition of data constructor ‘SCon’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail147.stderr b/testsuite/tests/typecheck/should_fail/tcfail147.stderr index 0c4db9a88eb7..ba0f97d8b1f2 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail147.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail147.stderr @@ -1,7 +1,7 @@ -tcfail147.hs:7:19: error: - Expecting one more argument to ‘XClass’ - Expected a type, but ‘XClass’ has kind ‘* -> Constraint’ - In the type ‘XClass’ - In the definition of data constructor ‘XCon’ - In the data declaration for ‘XData’ +tcfail147.hs:7:19: error: [GHC-83865] + • Expecting one more argument to ‘XClass’ + Expected a type, but ‘XClass’ has kind ‘* -> Constraint’ + • In the type ‘XClass’ + In the definition of data constructor ‘XCon’ + In the data declaration for ‘XData’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail148.stderr b/testsuite/tests/typecheck/should_fail/tcfail148.stderr index 7fc107a616b0..52c379a020ba 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail148.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail148.stderr @@ -1,7 +1,7 @@ -tcfail148.hs:5:28: - Expecting one more argument to ‘List’ - Expected a type, but ‘List’ has kind ‘* -> *’ - In the type ‘List’ - In the definition of data constructor ‘Cons’ - In the data declaration for ‘List’ +tcfail148.hs:5:28: error: [GHC-83865] + • Expecting one more argument to ‘List’ + Expected a type, but ‘List’ has kind ‘* -> *’ + • In the type ‘List’ + In the definition of data constructor ‘Cons’ + In the data declaration for ‘List’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail151.stderr b/testsuite/tests/typecheck/should_fail/tcfail151.stderr index 6867f351fd27..7ffb42147182 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail151.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail151.stderr @@ -1,15 +1,15 @@ -tcfail151.hs:1:14: Warning: [-Wdeprecated-flags (in -Wdefault)] +tcfail151.hs:1:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -tcfail151.hs:8:6: - Expecting one more argument to ‘Name a’ - Expected a constraint, but ‘Name a’ has kind ‘* -> Constraint’ - In the data declaration for ‘Exp’ +tcfail151.hs:8:6: error: [GHC-83865] + • Expecting one more argument to ‘Name a’ + Expected a constraint, but ‘Name a’ has kind ‘* -> Constraint’ + • In the data declaration for ‘Exp’ -tcfail151.hs:8:30: - Expecting one more argument to ‘a’ - Expected a type, but ‘a’ has kind ‘* -> *’ - In the type ‘a’ - In the definition of data constructor ‘MkExp’ - In the data declaration for ‘Exp’ +tcfail151.hs:8:30: error: [GHC-83865] + • Expecting one more argument to ‘a’ + Expected a type, but ‘a’ has kind ‘* -> *’ + • In the type ‘a’ + In the definition of data constructor ‘MkExp’ + In the data declaration for ‘Exp’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail152.stderr b/testsuite/tests/typecheck/should_fail/tcfail152.stderr index e50ccbb2a1a2..29ce6da7475c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail152.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail152.stderr @@ -1,5 +1,5 @@ -tcfail152.hs:10:14: error: +tcfail152.hs:10:14: error: [GHC-39999] • No instance for ‘Integral a’ arising from a use of ‘toInteger’ Possible fix: add (Integral a) to the context of the data constructor ‘C’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail153.stderr b/testsuite/tests/typecheck/should_fail/tcfail153.stderr index 0d38db4385c3..7b80d066655e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail153.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail153.stderr @@ -1,5 +1,5 @@ -tcfail153.hs:6:7: error: +tcfail153.hs:6:7: error: [GHC-25897] • Couldn't match type ‘a’ with ‘Bool’ Expected: [a] Actual: [Bool] diff --git a/testsuite/tests/typecheck/should_fail/tcfail158.stderr b/testsuite/tests/typecheck/should_fail/tcfail158.stderr index 526db0a6eaa3..345597c14e2a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail158.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail158.stderr @@ -1,5 +1,5 @@ -tcfail158.hs:15:19: error: +tcfail158.hs:15:19: error: [GHC-83865] • Expecting one more argument to ‘Val v’ Expected a type, but ‘Val v’ has kind ‘* -> *’ • In the type signature: bar :: forall v. Val v diff --git a/testsuite/tests/typecheck/should_fail/tcfail159.stderr b/testsuite/tests/typecheck/should_fail/tcfail159.stderr index 5a49966637a0..62f807547f44 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail159.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail159.stderr @@ -1,5 +1,5 @@ -tcfail159.hs:9:11: error: +tcfail159.hs:9:11: error: [GHC-83865] • Expecting a lifted type, but got an unlifted type • In the pattern: ~(# p, q #) In a case alternative: ~(# p, q #) -> p diff --git a/testsuite/tests/typecheck/should_fail/tcfail160.stderr b/testsuite/tests/typecheck/should_fail/tcfail160.stderr index 96f2b4701c6e..99788156fb60 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail160.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail160.stderr @@ -1,5 +1,5 @@ -tcfail160.hs:7:8: error: +tcfail160.hs:7:8: error: [GHC-83865] • Expected kind ‘* -> *’, but ‘Int’ has kind ‘*’ • In the first argument of ‘T’, namely ‘Int’ In the type signature: g :: T Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail161.stderr b/testsuite/tests/typecheck/should_fail/tcfail161.stderr index b07d6031a680..069f990a6701 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail161.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail161.stderr @@ -1,5 +1,5 @@ -tcfail161.hs:5:7: error: +tcfail161.hs:5:7: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type signature: f :: [Maybe] diff --git a/testsuite/tests/typecheck/should_fail/tcfail162.stderr b/testsuite/tests/typecheck/should_fail/tcfail162.stderr index 228f18d5b868..b4c35c87e9a5 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail162.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail162.stderr @@ -1,7 +1,7 @@ -tcfail162.hs:10:33: - Expecting one more argument to ‘ForeignPtr’ - Expected a type, but ‘ForeignPtr’ has kind ‘* -> *’ - In the type ‘(ForeignPtr)’ - In the definition of data constructor ‘Foo’ - In the data declaration for ‘Foo’ +tcfail162.hs:10:33: error: [GHC-83865] + • Expecting one more argument to ‘ForeignPtr’ + Expected a type, but ‘ForeignPtr’ has kind ‘* -> *’ + • In the type ‘(ForeignPtr)’ + In the definition of data constructor ‘Foo’ + In the data declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail164.stderr b/testsuite/tests/typecheck/should_fail/tcfail164.stderr index 9532466c6640..f961a145d8d4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail164.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail164.stderr @@ -1,15 +1,15 @@ -tcfail164.hs:11:5: - Bad call to tagToEnum# at type a - Specify the type by giving a type signature - e.g. (tagToEnum# x) :: Bool - In the expression: tagToEnum# 0# - In an equation for ‘f’: f = tagToEnum# 0# +tcfail164.hs:11:5: error: [GHC-08522] + • Bad call to tagToEnum# at type a + Specify the type by giving a type signature + e.g. (tagToEnum# x) :: Bool + • In the expression: tagToEnum# 0# + In an equation for ‘f’: f = tagToEnum# 0# -tcfail164.hs:17:34: - Bad call to tagToEnum# at type Int - Result type must be an enumeration type - In the expression: tagToEnum# value# - In an equation for ‘readUnboxable’: - readUnboxable (I# value#) = tagToEnum# value# - In the instance declaration for ‘Unboxable Int’ +tcfail164.hs:17:34: error: [GHC-49356] + • Bad call to tagToEnum# at type Int + Result type must be an enumeration type + • In the expression: tagToEnum# value# + In an equation for ‘readUnboxable’: + readUnboxable (I# value#) = tagToEnum# value# + In the instance declaration for ‘Unboxable Int’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail165.stderr b/testsuite/tests/typecheck/should_fail/tcfail165.stderr index ecbec54fb5ec..73c7d70d5708 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail165.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail165.stderr @@ -1,5 +1,5 @@ -tcfail165.hs:18:17: error: +tcfail165.hs:18:17: error: [GHC-83865] • Couldn't match type: forall a. Show a => a -> String with: b0 -> String Expected: IO (MVar (b0 -> String)) diff --git a/testsuite/tests/typecheck/should_fail/tcfail166.stderr b/testsuite/tests/typecheck/should_fail/tcfail166.stderr index 5866cacd7729..d00f3d259c69 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail166.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail166.stderr @@ -1,5 +1,5 @@ -tcfail166.hs:6:13: error: +tcfail166.hs:6:13: error: [GHC-25955] Illegal symbol ‘forall’ in type Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/typecheck/should_fail/tcfail167.stderr b/testsuite/tests/typecheck/should_fail/tcfail167.stderr index 6346257e0955..e4a5ab732f18 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail167.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail167.stderr @@ -1,9 +1,9 @@ -tcfail167.hs:14:1: error: [-Woverlapping-patterns (in -Wdefault), -Werror=overlapping-patterns] +tcfail167.hs:14:1: error: [GHC-53633] [-Woverlapping-patterns (in -Wdefault), Werror=overlapping-patterns] Pattern match is redundant In an equation for ‘inaccessible’: inaccessible C2 = ... -tcfail167.hs:14:14: error: [-Winaccessible-code (in -Wdefault), -Werror=inaccessible-code] +tcfail167.hs:14:14: error: [GHC-40564] [-Winaccessible-code (in -Wdefault), Werror=inaccessible-code] • Inaccessible code in a pattern with constructor: C2 :: T Float, in an equation for ‘inaccessible’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail168.stderr b/testsuite/tests/typecheck/should_fail/tcfail168.stderr index 59972c2aa49a..601c8e6e5dcd 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail168.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail168.stderr @@ -1,5 +1,5 @@ -tcfail168.hs:7:11: error: +tcfail168.hs:7:11: error: [GHC-83865] • Couldn't match expected type: IO a0 with actual type: Char -> IO () • Probable cause: ‘putChar’ is applied to too few arguments diff --git a/testsuite/tests/typecheck/should_fail/tcfail169.stderr b/testsuite/tests/typecheck/should_fail/tcfail169.stderr index f5863778fad6..e9fe445f33fa 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail169.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail169.stderr @@ -1,5 +1,5 @@ -tcfail169.hs:7:51: error: +tcfail169.hs:7:51: error: [GHC-39999] • Could not deduce ‘Show (Succ a)’ arising from the second field of ‘Cons’ (type ‘Seq (Succ a)’) from the context: Show a diff --git a/testsuite/tests/typecheck/should_fail/tcfail171.stderr b/testsuite/tests/typecheck/should_fail/tcfail171.stderr index 78f324338c85..2f187235648a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail171.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail171.stderr @@ -1,5 +1,5 @@ -tcfail171.hs:9:10: error: +tcfail171.hs:9:10: error: [GHC-39999] • No instance for ‘PrintfArg a’ arising from a use of ‘printf’ Possible fix: add (PrintfArg a) to the context of diff --git a/testsuite/tests/typecheck/should_fail/tcfail173.stderr b/testsuite/tests/typecheck/should_fail/tcfail173.stderr index bd3a062062f5..2b9189198616 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail173.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail173.stderr @@ -1,4 +1,4 @@ -tcfail173.hs:6:12: error: +tcfail173.hs:6:12: error: [GHC-50649] Illegal declaration of a type or class operator ‘<.>’ Suggested fix: Perhaps you intended to use TypeOperators diff --git a/testsuite/tests/typecheck/should_fail/tcfail174.stderr b/testsuite/tests/typecheck/should_fail/tcfail174.stderr index 8ac8d3f9d5d6..ab71e53946a7 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail174.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail174.stderr @@ -1,5 +1,5 @@ -tcfail174.hs:20:14: error: +tcfail174.hs:20:14: error: [GHC-25897] • Couldn't match type ‘a1’ with ‘a’ Expected: Capture (forall x. x -> a) Actual: Capture (forall a. a -> a) @@ -15,7 +15,7 @@ tcfail174.hs:20:14: error: • Relevant bindings include h1 :: Capture a (bound at tcfail174.hs:20:1) -tcfail174.hs:23:14: error: +tcfail174.hs:23:14: error: [GHC-25897] • Couldn't match type ‘a’ with ‘b’ Expected: Capture (forall x. x -> b) Actual: Capture (forall a. a -> a) diff --git a/testsuite/tests/typecheck/should_fail/tcfail175.stderr b/testsuite/tests/typecheck/should_fail/tcfail175.stderr index 38597e14872e..1ceec972d48b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail175.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail175.stderr @@ -1,5 +1,5 @@ -tcfail175.hs:11:1: error: +tcfail175.hs:11:1: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘String -> String -> String’ ‘a’ is a rigid type variable bound by diff --git a/testsuite/tests/typecheck/should_fail/tcfail177.stderr b/testsuite/tests/typecheck/should_fail/tcfail177.stderr index 206f9ced6c50..070f5438fd02 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail177.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail177.stderr @@ -1,24 +1,24 @@ -tcfail177.hs:38:12: error: - Couldn't match expected type ‘Bool’ with actual type ‘Int’ - In the expression: - foo - ["One........" ~?= "1", "Two" ~?= "2", "Thre........." ~?= "3", - "Four" ~?= "4", ....] - In an equation for ‘allTest1’: - allTest1 - = foo - ["One........" ~?= "1", "Two" ~?= "2", "Thre........." ~?= "3", - ....] +tcfail177.hs:38:12: error: [GHC-83865] + • Couldn't match expected type ‘Bool’ with actual type ‘Int’ + • In the expression: + foo + ["One........" ~?= "1", "Two" ~?= "2", "Thre........." ~?= "3", + "Four" ~?= "4", ....] + In an equation for ‘allTest1’: + allTest1 + = foo + ["One........" ~?= "1", "Two" ~?= "2", "Thre........." ~?= "3", + ....] -tcfail177.hs:47:12: error: - Couldn't match expected type ‘Bool’ with actual type ‘Int’ - In the expression: - foo - ["One........" ~?= "1", "Two.................." ~?= "2", - "Thre........." ~?= "3", "Four" ~?= "4", ....] - In an equation for ‘allTest2’: - allTest2 - = foo - ["One........" ~?= "1", "Two.................." ~?= "2", - "Thre........." ~?= "3", ....] +tcfail177.hs:47:12: error: [GHC-83865] + • Couldn't match expected type ‘Bool’ with actual type ‘Int’ + • In the expression: + foo + ["One........" ~?= "1", "Two.................." ~?= "2", + "Thre........." ~?= "3", "Four" ~?= "4", ....] + In an equation for ‘allTest2’: + allTest2 + = foo + ["One........" ~?= "1", "Two.................." ~?= "2", + "Thre........." ~?= "3", ....] diff --git a/testsuite/tests/typecheck/should_fail/tcfail178.stderr b/testsuite/tests/typecheck/should_fail/tcfail178.stderr index d9f1b455c097..d1a46647e8ff 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail178.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail178.stderr @@ -1,5 +1,5 @@ -tcfail178.hs:15:7: error: +tcfail178.hs:15:7: error: [GHC-83865] • Couldn't match type ‘()’ with ‘[a]’ Expected: Bool -> [a] Actual: Bool -> () @@ -8,7 +8,7 @@ tcfail178.hs:15:7: error: In an equation for ‘c’: c = a y • Relevant bindings include c :: [a] (bound at tcfail178.hs:15:1) -tcfail178.hs:18:7: error: +tcfail178.hs:18:7: error: [GHC-83865] • Couldn't match expected type ‘Bool -> [a]’ with actual type ‘()’ • In the first argument of ‘a’, namely ‘()’ In the expression: a () diff --git a/testsuite/tests/typecheck/should_fail/tcfail179.stderr b/testsuite/tests/typecheck/should_fail/tcfail179.stderr index 963ab0ba7869..7121fb89a1df 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail179.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail179.stderr @@ -1,5 +1,5 @@ -tcfail179.hs:14:39: error: +tcfail179.hs:14:39: error: [GHC-25897] • Couldn't match expected type ‘s’ with actual type ‘x’ ‘x’ is a rigid type variable bound by a pattern with constructor: diff --git a/testsuite/tests/typecheck/should_fail/tcfail180.stderr b/testsuite/tests/typecheck/should_fail/tcfail180.stderr index da7725fdb03f..fda39706c841 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail180.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail180.stderr @@ -1,6 +1,6 @@ -tcfail180.hs:10:9: - Couldn't match expected type ‘f0 b0’ with actual type ‘Bool’ - In the pattern: True - In a case alternative: True -> () - In the expression: case p of True -> () +tcfail180.hs:10:9: error: [GHC-83865] + • Couldn't match expected type ‘f0 b0’ with actual type ‘Bool’ + • In the pattern: True + In a case alternative: True -> () + In the expression: case p of True -> () diff --git a/testsuite/tests/typecheck/should_fail/tcfail181.stderr b/testsuite/tests/typecheck/should_fail/tcfail181.stderr index 5737c1f04eb5..8579f513e0aa 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail181.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail181.stderr @@ -1,5 +1,5 @@ -tcfail181.hs:17:9: error: +tcfail181.hs:17:9: error: [GHC-39999] • Could not deduce ‘Monad m0’ arising from a use of ‘foo’ from the context: Monad m bound by the inferred type of diff --git a/testsuite/tests/typecheck/should_fail/tcfail182.stderr b/testsuite/tests/typecheck/should_fail/tcfail182.stderr index 12dbb6efa82c..db8063b3aa0b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail182.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail182.stderr @@ -1,9 +1,9 @@ -tcfail182.hs:9:3: error: +tcfail182.hs:9:3: error: [GHC-83865] • Couldn't match expected type: Prelude.Maybe a with actual type: Maybe a0 NB: ‘Prelude.Maybe’ - is defined in ‘GHC.Maybe’ in package ‘base-4.14.0.0’ + is defined in ‘GHC.Maybe’ in package ‘base-4.17.0.0’ ‘Maybe’ is defined at tcfail182.hs:6:1-18 • In the pattern: Foo In an equation for ‘f’: f Foo = 3 diff --git a/testsuite/tests/typecheck/should_fail/tcfail183.stderr b/testsuite/tests/typecheck/should_fail/tcfail183.stderr index fc6fcfdcac10..f2ea02e5c310 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail183.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail183.stderr @@ -1,5 +1,5 @@ -tcfail183.hs:5:30: error: +tcfail183.hs:5:30: error: [GHC-25955] Illegal symbol ‘forall’ in type Suggested fix: Perhaps you intended to use RankNTypes diff --git a/testsuite/tests/typecheck/should_fail/tcfail184.stderr b/testsuite/tests/typecheck/should_fail/tcfail184.stderr index 323c5d7d7431..bd38317e2cc7 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail184.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail184.stderr @@ -1,5 +1,5 @@ -tcfail184.hs:9:19: error: +tcfail184.hs:9:19: error: [GHC-91510] • Illegal polymorphic type: forall a. Ord a => [a] -> [a] • In the definition of data constructor ‘MkSwizzle’ In the newtype declaration for ‘Swizzle’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail185.stderr b/testsuite/tests/typecheck/should_fail/tcfail185.stderr index f8c3c6cd99a7..ed94d488ca68 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail185.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail185.stderr @@ -1,5 +1,5 @@ -tcfail185.hs:7:46: error: +tcfail185.hs:7:46: error: [GHC-83865] • Couldn't match expected type ‘Int -> Int’ with actual type ‘Bool’ • In the expression: x In the expression: diff --git a/testsuite/tests/typecheck/should_fail/tcfail186.stderr b/testsuite/tests/typecheck/should_fail/tcfail186.stderr index 5d931076f778..e7067996e7d8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail186.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail186.stderr @@ -1,5 +1,5 @@ -tcfail186.hs:7:9: error: +tcfail186.hs:7:9: error: [GHC-83865] • Couldn't match type ‘[Char]’ with ‘Int’ Expected: PhantomSyn a0 Actual: String diff --git a/testsuite/tests/typecheck/should_fail/tcfail189.stderr b/testsuite/tests/typecheck/should_fail/tcfail189.stderr index 108a7ad97323..59d32b37348f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail189.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail189.stderr @@ -1,5 +1,5 @@ -tcfail189.hs:10:31: error: +tcfail189.hs:10:31: error: [GHC-83865] • Couldn't match type: [a1] with: a -> a0 Expected: (a -> a0) -> [a] -> [[a]] diff --git a/testsuite/tests/typecheck/should_fail/tcfail190.stderr b/testsuite/tests/typecheck/should_fail/tcfail190.stderr index eb92264fecb9..5b713e0c459e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail190.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail190.stderr @@ -1,5 +1,5 @@ -tcfail190.hs:14:31: error: +tcfail190.hs:14:31: error: [GHC-39999] • No instance for ‘Ord Unorderable’ arising from a use of ‘groupWith’ • In the expression: groupWith diff --git a/testsuite/tests/typecheck/should_fail/tcfail191.stderr b/testsuite/tests/typecheck/should_fail/tcfail191.stderr index fd874653b0dd..e27fb9c736a9 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail191.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail191.stderr @@ -1,5 +1,5 @@ -tcfail191.hs:11:26: error: +tcfail191.hs:11:26: error: [GHC-25897] • Couldn't match type ‘a’ with ‘[a]’ Expected: [a] -> [[a]] Actual: [a] -> [a] diff --git a/testsuite/tests/typecheck/should_fail/tcfail193.stderr b/testsuite/tests/typecheck/should_fail/tcfail193.stderr index cf4813c9f218..23f79e8edd26 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail193.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail193.stderr @@ -1,5 +1,5 @@ -tcfail193.hs:10:31: error: +tcfail193.hs:10:31: error: [GHC-25897] • Couldn't match type ‘a’ with ‘[a]’ Expected: [a] -> [a] Actual: [a] -> [[a]] diff --git a/testsuite/tests/typecheck/should_fail/tcfail195.stderr b/testsuite/tests/typecheck/should_fail/tcfail195.stderr index 93a4b8f92f16..acd119c1551a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail195.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail195.stderr @@ -1,5 +1,5 @@ -tcfail195.hs:7:3: error: +tcfail195.hs:7:3: error: [GHC-91510] • Illegal polymorphic type: forall a. a • In the definition of data constructor ‘Foo’ In the data type declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail196.stderr b/testsuite/tests/typecheck/should_fail/tcfail196.stderr index aaf5a3270e95..4f751a47a8e0 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail196.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail196.stderr @@ -1,5 +1,5 @@ -tcfail196.hs:5:8: error: +tcfail196.hs:5:8: error: [GHC-91510] • Illegal polymorphic type: forall a. a • In the type signature: bar :: Num (forall a. a) => Int -> Int Suggested fix: Perhaps you intended to use ImpredicativeTypes diff --git a/testsuite/tests/typecheck/should_fail/tcfail197.stderr b/testsuite/tests/typecheck/should_fail/tcfail197.stderr index ed419c5afd95..180599526a02 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail197.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail197.stderr @@ -1,5 +1,5 @@ -tcfail197.hs:5:8: error: +tcfail197.hs:5:8: error: [GHC-91510] • Illegal polymorphic type: forall a. a • In the type signature: foo :: [forall a. a] -> Int Suggested fix: Perhaps you intended to use ImpredicativeTypes diff --git a/testsuite/tests/typecheck/should_fail/tcfail198.stderr b/testsuite/tests/typecheck/should_fail/tcfail198.stderr index 66c8438dc440..3632450fa80e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail198.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail198.stderr @@ -1,5 +1,5 @@ -tcfail198.hs:6:36: error: +tcfail198.hs:6:36: error: [GHC-25897] • Couldn't match expected type ‘a1’ with actual type ‘a’ ‘a1’ is a rigid type variable bound by an expression type signature: diff --git a/testsuite/tests/typecheck/should_fail/tcfail199.stderr b/testsuite/tests/typecheck/should_fail/tcfail199.stderr index 5ef1ebab33b3..39788979a4c6 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail199.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail199.stderr @@ -1,5 +1,5 @@ -tcfail199.hs:5:1: error: +tcfail199.hs:5:1: error: [GHC-83865] • Couldn't match type: [Char] with: IO t0 Expected: IO t0 diff --git a/testsuite/tests/typecheck/should_fail/tcfail200.stderr b/testsuite/tests/typecheck/should_fail/tcfail200.stderr index fdd0e3c0738e..fb9243327613 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail200.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail200.stderr @@ -1,5 +1,5 @@ -tcfail200.hs:5:15: error: +tcfail200.hs:5:15: error: [GHC-18872] • Couldn't match a lifted type with an unlifted type When matching types a1 :: * diff --git a/testsuite/tests/typecheck/should_fail/tcfail201.stderr b/testsuite/tests/typecheck/should_fail/tcfail201.stderr index 088c2be67133..a09795f1debf 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail201.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail201.stderr @@ -1,5 +1,5 @@ -tcfail201.hs:17:27: error: +tcfail201.hs:17:27: error: [GHC-25897] • Couldn't match expected type ‘a’ with actual type ‘HsDoc id0’ ‘a’ is a rigid type variable bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail202.stderr b/testsuite/tests/typecheck/should_fail/tcfail202.stderr index 4d50063d6a6e..85ece3bf8166 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail202.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail202.stderr @@ -1,5 +1,5 @@ -tcfail202.hs:11:10: +tcfail202.hs:11:10: error: [GHC-46208] Functional dependencies conflict between instance declarations: instance [incoherent] C Bool Int Float -- Defined at tcfail202.hs:11:10 diff --git a/testsuite/tests/typecheck/should_fail/tcfail203.stderr b/testsuite/tests/typecheck/should_fail/tcfail203.stderr index d9f7087229ba..311ef34df1e4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail203.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail203.stderr @@ -1,40 +1,40 @@ -tcfail203.hs:29:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +tcfail203.hs:29:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (I# x) = 5 -tcfail203.hs:32:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +tcfail203.hs:32:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (b, I# x) = (True, 5) -tcfail203.hs:35:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +tcfail203.hs:35:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (# b, I# x #) = (# True, 5 #) -tcfail203.hs:38:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +tcfail203.hs:38:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (# b, x #) = (# True, 5# #) -tcfail203.hs:41:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +tcfail203.hs:41:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (I# !x) = 5 -tcfail203.hs:44:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +tcfail203.hs:44:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (b, !(I# x)) = (True, 5) -tcfail203.hs:47:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +tcfail203.hs:47:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (# b, !(I# x) #) = (# True, 5 #) -tcfail203.hs:50:11: warning: [-Wunbanged-strict-patterns (in -Wextra)] +tcfail203.hs:50:11: warning: [GHC-21030] [-Wunbanged-strict-patterns (in -Wextra)] Pattern bindings containing unlifted types should use an outermost bang pattern: (# b, !x #) = (# True, 5# #) diff --git a/testsuite/tests/typecheck/should_fail/tcfail203a.stderr b/testsuite/tests/typecheck/should_fail/tcfail203a.stderr index 153a9259ba30..5d6a9c86fca5 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail203a.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail203a.stderr @@ -1,5 +1,5 @@ -tcfail203a.hs:10:17: error: +tcfail203a.hs:10:17: error: [GHC-17879] A lazy (~) pattern cannot bind variables of unlifted type. Unlifted variables: x :: Int# diff --git a/testsuite/tests/typecheck/should_fail/tcfail204.stderr b/testsuite/tests/typecheck/should_fail/tcfail204.stderr index 8fb0f1efc5af..37952c971aa4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail204.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail204.stderr @@ -1,5 +1,5 @@ -tcfail204.hs:10:7: error: [-Wtype-defaults (in -Wall), -Werror=type-defaults] +tcfail204.hs:10:7: error: [GHC-18042] [-Wtype-defaults (in -Wall), Werror=type-defaults] • Defaulting the type variable ‘a0’ to type ‘Double’ in the following constraints (RealFrac a0) arising from a use of ‘ceiling’ at tcfail204.hs:10:7-13 diff --git a/testsuite/tests/typecheck/should_fail/tcfail206.stderr b/testsuite/tests/typecheck/should_fail/tcfail206.stderr index cfb51611004e..400cb2435f7b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail206.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail206.stderr @@ -1,12 +1,12 @@ -tcfail206.hs:5:5: error: +tcfail206.hs:5:5: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: Bool -> (Int, Bool) Actual: Bool -> (Bool, Bool) • In the expression: (, True) In an equation for ‘a’: a = (, True) -tcfail206.hs:8:5: error: +tcfail206.hs:8:5: error: [GHC-83865] • Couldn't match type: (t1, Int) with: Bool -> (Int, Bool) Expected: Int -> Bool -> (Int, Bool) @@ -14,7 +14,7 @@ tcfail206.hs:8:5: error: • In the expression: (1,) In an equation for ‘b’: b = (1,) -tcfail206.hs:11:5: error: +tcfail206.hs:11:5: error: [GHC-25897] • Couldn't match type ‘a’ with ‘Bool’ Expected: a -> (a, Bool) Actual: a -> (Bool, a) @@ -27,14 +27,14 @@ tcfail206.hs:11:5: error: • Relevant bindings include c :: a -> (a, Bool) (bound at tcfail206.hs:11:1) -tcfail206.hs:14:5: error: +tcfail206.hs:14:5: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int’ Expected: Bool -> (# Int, Bool #) Actual: Bool -> (# Bool, Bool #) • In the expression: (# , True #) In an equation for ‘d’: d = (# , True #) -tcfail206.hs:17:5: error: +tcfail206.hs:17:5: error: [GHC-83865] • Couldn't match type: (# t0, Int #) with: Bool -> (# Int, Bool #) Expected: Int -> Bool -> (# Int, Bool #) @@ -42,7 +42,7 @@ tcfail206.hs:17:5: error: • In the expression: (# 1, #) In an equation for ‘e’: e = (# 1, #) -tcfail206.hs:20:5: error: +tcfail206.hs:20:5: error: [GHC-25897] • Couldn't match type ‘a’ with ‘Bool’ Expected: a -> (# a, Bool #) Actual: a -> (# Bool, a #) diff --git a/testsuite/tests/typecheck/should_fail/tcfail207.stderr b/testsuite/tests/typecheck/should_fail/tcfail207.stderr index eb6fb1db15d1..65f2288d88bc 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail207.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail207.stderr @@ -1,12 +1,12 @@ -tcfail207.hs:5:7: error: +tcfail207.hs:5:7: error: [GHC-83865] • Couldn't match expected type: [Int] -> [Int] with actual type: [a1] • Possible cause: ‘take’ is applied to too many arguments In the expression: take x [] In an equation for ‘f’: f x = take x [] -tcfail207.hs:9:5: error: +tcfail207.hs:9:5: error: [GHC-83865] • Couldn't match expected type: [Int] with actual type: [a0] -> [a0] • Probable cause: ‘take’ is applied to too few arguments diff --git a/testsuite/tests/typecheck/should_fail/tcfail208.stderr b/testsuite/tests/typecheck/should_fail/tcfail208.stderr index 544d62f8bd52..0e120be9761e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail208.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail208.stderr @@ -1,5 +1,5 @@ -tcfail208.hs:4:19: error: +tcfail208.hs:4:19: error: [GHC-39999] • Could not deduce ‘Eq (m a)’ arising from a use of ‘==’ from the context: (Monad m, Eq a) bound by the type signature for: diff --git a/testsuite/tests/typecheck/should_fail/tcfail209.stderr b/testsuite/tests/typecheck/should_fail/tcfail209.stderr index 864e8604e649..1cd9bef1260c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail209.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail209.stderr @@ -1,5 +1,5 @@ -tcfail209.hs:4:1: error: +tcfail209.hs:4:1: error: [GHC-75844] • Illegal constraint synonym of kind: ‘* -> Constraint’ • In the type synonym declaration for ‘Showish’ - Suggested fix: Perhaps you intended to use ConstraintKinds \ No newline at end of file + Suggested fix: Perhaps you intended to use ConstraintKinds diff --git a/testsuite/tests/typecheck/should_fail/tcfail209a.stderr b/testsuite/tests/typecheck/should_fail/tcfail209a.stderr index 490814db7fe4..79376e1629d2 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail209a.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail209a.stderr @@ -1,5 +1,5 @@ -tcfail209a.hs:4:6: error: +tcfail209a.hs:4:6: error: [GHC-77539] • Illegal tuple constraint: (Show a, Num a) • In the type signature: g :: ((Show a, Num a), Eq a) => a -> a - Suggested fix: Perhaps you intended to use ConstraintKinds \ No newline at end of file + Suggested fix: Perhaps you intended to use ConstraintKinds diff --git a/testsuite/tests/typecheck/should_fail/tcfail210.stderr b/testsuite/tests/typecheck/should_fail/tcfail210.stderr index 819a9524fb78..b8154891014b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail210.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail210.stderr @@ -1,3 +1,3 @@ -tcfail210.hs:4:31: error: +tcfail210.hs:4:31: error: [GHC-76037] Not in scope: type constructor or class ‘Constraint’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail211.stderr b/testsuite/tests/typecheck/should_fail/tcfail211.stderr index fb1192b0caaa..18b451971eda 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail211.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail211.stderr @@ -1,10 +1,10 @@ -tcfail211.hs:5:1: error: +tcfail211.hs:5:1: error: [GHC-75863] • Illegal implicit parameter ‘?imp::Int’ • In the context: ?imp::Int While checking the super-classes of class ‘D’ In the class declaration for ‘D’ -tcfail211.hs:8:10: error: +tcfail211.hs:8:10: error: [GHC-75863] • Illegal implicit parameter ‘?imp::Int’ • In the instance declaration for ‘D Int’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail212.stderr b/testsuite/tests/typecheck/should_fail/tcfail212.stderr index 011a3772efc3..344855887210 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail212.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail212.stderr @@ -1,18 +1,18 @@ -tcfail212.hs:10:7: error: +tcfail212.hs:10:7: error: [GHC-83865] • Expecting one more argument to ‘Maybe’ Expected a type, but ‘Maybe’ has kind ‘* -> *’ • In the type signature: f :: (Maybe, Either Int) -tcfail212.hs:10:14: error: +tcfail212.hs:10:14: error: [GHC-83865] • Expecting one more argument to ‘Either Int’ Expected a type, but ‘Either Int’ has kind ‘* -> *’ • In the type signature: f :: (Maybe, Either Int) -tcfail212.hs:13:7: error: +tcfail212.hs:13:7: error: [GHC-83865] • Expecting a lifted type, but ‘Int#’ is unlifted • In the type signature: g :: (Int#, Int#) -tcfail212.hs:13:13: error: +tcfail212.hs:13:13: error: [GHC-83865] • Expecting a lifted type, but ‘Int#’ is unlifted • In the type signature: g :: (Int#, Int#) diff --git a/testsuite/tests/typecheck/should_fail/tcfail215.stderr b/testsuite/tests/typecheck/should_fail/tcfail215.stderr index d05abd52d1ff..1965951bbcf2 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail215.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail215.stderr @@ -1,5 +1,4 @@ -tcfail215.hs:8:15: error: +tcfail215.hs:8:15: error: [GHC-83865] • Expecting a lifted type, but ‘Int#’ is unlifted - • In the type signature: - foo :: (?x :: Int#) => Int + • In the type signature: foo :: (?x :: Int#) => Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail218.stderr b/testsuite/tests/typecheck/should_fail/tcfail218.stderr index 2435fe30708d..5e6561413a05 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail218.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail218.stderr @@ -1,5 +1,5 @@ -tcfail218.hs:16:5: error: +tcfail218.hs:16:5: error: [GHC-43085] • Overlapping instances for C [a] Bool arising from a use of ‘foo’ Matching instance: instance C [a] b -- Defined at tcfail218.hs:8:29 diff --git a/testsuite/tests/typecheck/should_fail/tcfail223.stderr b/testsuite/tests/typecheck/should_fail/tcfail223.stderr index 065f6818e5aa..d3173adde735 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail223.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail223.stderr @@ -1,5 +1,5 @@ -tcfail223.hs:10:10: error: +tcfail223.hs:10:10: error: [GHC-39999] • Could not deduce ‘Class1 a’ arising from the superclasses of an instance declaration from the context: Class3 a diff --git a/testsuite/tests/typecheck/should_fail/tcfail224.stderr b/testsuite/tests/typecheck/should_fail/tcfail224.stderr index 684eb43d70a3..f95008a79d62 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail224.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail224.stderr @@ -1,5 +1,5 @@ -tcfail224.hs:8:5: error: +tcfail224.hs:8:5: error: [GHC-39999] • No instance for ‘Num Int’ arising from the literal ‘3’ There are instances for similar types: instance Num GHC.Types.Int -- Defined in ‘GHC.Num’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail225.stderr b/testsuite/tests/typecheck/should_fail/tcfail225.stderr index 8bfca4cb4800..9ff753e44bf7 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail225.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail225.stderr @@ -1,5 +1,5 @@ -tcfail225.hs:9:19: error: +tcfail225.hs:9:19: error: [GHC-25897] • Couldn't match kind ‘k’ with ‘*’ Expected kind ‘k -> *’, but ‘Maybe’ has kind ‘* -> *’ • In the first argument of ‘T’, namely ‘Maybe’ diff --git a/testsuite/tests/typecheck/should_fail/too-many.stderr b/testsuite/tests/typecheck/should_fail/too-many.stderr index 01e50050ff6b..958e0933e147 100644 --- a/testsuite/tests/typecheck/should_fail/too-many.stderr +++ b/testsuite/tests/typecheck/should_fail/too-many.stderr @@ -1,5 +1,5 @@ -too-many.hs:9:11: error: +too-many.hs:9:11: error: [GHC-83865] • Couldn't match type ‘Bool’ with ‘Int -> Bool’ Expected: Int -> Int -> Bool Actual: Int -> Bool @@ -8,7 +8,7 @@ too-many.hs:9:11: error: In the expression: foo (f1 2 3) In an equation for ‘g1’: g1 = foo (f1 2 3) -too-many.hs:16:11: error: +too-many.hs:16:11: error: [GHC-83865] • Couldn't match expected type ‘Int -> Int -> Bool’ with actual type ‘Bool’ • In the first argument of ‘foo’, namely ‘(f2 2)’ diff --git a/testsuite/tests/typecheck/should_run/KindInvariant.stderr b/testsuite/tests/typecheck/should_run/KindInvariant.stderr index ac31936e3951..7eb8d21b95c6 100644 --- a/testsuite/tests/typecheck/should_run/KindInvariant.stderr +++ b/testsuite/tests/typecheck/should_run/KindInvariant.stderr @@ -1,5 +1,5 @@ -<interactive>:1:3: error: +<interactive>:1:3: error: [GHC-83865] • Couldn't match a lifted type with an unlifted type Expected kind ‘* -> *’, but ‘State#’ has kind ‘* -> ZeroBitType’ • In the first argument of ‘T’, namely ‘State#’ diff --git a/testsuite/tests/typecheck/should_run/T10284.stderr b/testsuite/tests/typecheck/should_run/T10284.stderr index 622e2bfa45fc..55f5731d61c7 100644 --- a/testsuite/tests/typecheck/should_run/T10284.stderr +++ b/testsuite/tests/typecheck/should_run/T10284.stderr @@ -1,4 +1,4 @@ -T10284: T10284.hs:7:5: error: +T10284.exe: T10284.hs:7:5: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'a' In an equation for ‘a’: a = 'a' diff --git a/testsuite/tests/typecheck/should_run/T10284.stdout b/testsuite/tests/typecheck/should_run/T10284.stdout index 5d5c564c18da..b737e75a5529 100644 --- a/testsuite/tests/typecheck/should_run/T10284.stdout +++ b/testsuite/tests/typecheck/should_run/T10284.stdout @@ -1,4 +1,4 @@ -As expected, TypeError: T10284.hs:7:5: error: +As expected, TypeError: T10284.hs:7:5: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘Char’ • In the expression: 'a' In an equation for ‘a’: a = 'a' diff --git a/testsuite/tests/typecheck/should_run/T13838.stderr b/testsuite/tests/typecheck/should_run/T13838.stderr index a8de8b16d3dd..39eacdc67b23 100644 --- a/testsuite/tests/typecheck/should_run/T13838.stderr +++ b/testsuite/tests/typecheck/should_run/T13838.stderr @@ -1,4 +1,4 @@ -T13838: T13838.hs:6:1: error: +T13838.exe: T13838.hs:6:1: error: [GHC-83865] • Couldn't match expected type: IO t0 with actual type: () -> () • Probable cause: ‘main’ is applied to too few arguments diff --git a/testsuite/tests/typecheck/should_run/T3731.stderr b/testsuite/tests/typecheck/should_run/T3731.stderr index 0863ca0e615c..d66f9f9a7436 100644 --- a/testsuite/tests/typecheck/should_run/T3731.stderr +++ b/testsuite/tests/typecheck/should_run/T3731.stderr @@ -2,7 +2,7 @@ T3731.hs:4:15: warning: [-Wdeprecated-flags (in -Wdefault)] -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS -T3731.hs:122:32: error: +T3731.hs:122:32: error: [GHC-39999] • Could not deduce ‘Default a’ arising from a superclass required to satisfy ‘Data DefaultD a’, arising from a use of ‘dataTypeOf’ diff --git a/testsuite/tests/typecheck/should_run/T3731_simple.stderr b/testsuite/tests/typecheck/should_run/T3731_simple.stderr index 941722345aab..e27ad9a11ddf 100644 --- a/testsuite/tests/typecheck/should_run/T3731_simple.stderr +++ b/testsuite/tests/typecheck/should_run/T3731_simple.stderr @@ -1,5 +1,5 @@ -T3731_simple.hs:19:13: error: +T3731_simple.hs:19:13: error: [GHC-39999] • Could not deduce ‘Default a’ arising from a superclass required to satisfy ‘Data a’, arising from a use of ‘dataTypeOf’ diff --git a/testsuite/tests/typecheck/should_run/T9497a-run.stderr b/testsuite/tests/typecheck/should_run/T9497a-run.stderr index 7f058447789d..22336ece3ad3 100644 --- a/testsuite/tests/typecheck/should_run/T9497a-run.stderr +++ b/testsuite/tests/typecheck/should_run/T9497a-run.stderr @@ -1,4 +1,4 @@ -T9497a-run: T9497a-run.hs:2:8: error: +T9497a-run.exe: T9497a-run.hs:2:8: error: [GHC-88464] • Found hole: _main :: IO () Or perhaps ‘_main’ is mis-spelled, or not in scope • In an equation for ‘main’: main = _main diff --git a/testsuite/tests/typecheck/should_run/T9497b-run.stderr b/testsuite/tests/typecheck/should_run/T9497b-run.stderr index e6155ddae51e..c82f2669402b 100644 --- a/testsuite/tests/typecheck/should_run/T9497b-run.stderr +++ b/testsuite/tests/typecheck/should_run/T9497b-run.stderr @@ -1,4 +1,4 @@ -T9497b-run: T9497b-run.hs:2:8: error: +T9497b-run.exe: T9497b-run.hs:2:8: error: [GHC-88464] • Found hole: _main :: IO () Or perhaps ‘_main’ is mis-spelled, or not in scope • In an equation for ‘main’: main = _main diff --git a/testsuite/tests/typecheck/should_run/T9497c-run.stderr b/testsuite/tests/typecheck/should_run/T9497c-run.stderr index 6ce278103184..169a1ce54fc5 100644 --- a/testsuite/tests/typecheck/should_run/T9497c-run.stderr +++ b/testsuite/tests/typecheck/should_run/T9497c-run.stderr @@ -1,4 +1,4 @@ -T9497c-run: T9497c-run.hs:2:8: error: +T9497c-run.exe: T9497c-run.hs:2:8: error: [GHC-88464] • Found hole: _main :: IO () Or perhaps ‘_main’ is mis-spelled, or not in scope • In an equation for ‘main’: main = _main diff --git a/testsuite/tests/typecheck/should_run/Typeable1.stderr b/testsuite/tests/typecheck/should_run/Typeable1.stderr index d2488bb57529..d9ee7781d581 100644 --- a/testsuite/tests/typecheck/should_run/Typeable1.stderr +++ b/testsuite/tests/typecheck/should_run/Typeable1.stderr @@ -1,5 +1,5 @@ -Typeable1.hs:22:5: error: [-Winaccessible-code (in -Wdefault), -Werror=inaccessible-code] +Typeable1.hs:22:5: error: [GHC-40564] [-Winaccessible-code (in -Wdefault), Werror=inaccessible-code] • Inaccessible code in a pattern with pattern synonym: App :: forall k2 (t :: k2). diff --git a/testsuite/tests/typecheck/should_run/tcrun042.stderr b/testsuite/tests/typecheck/should_run/tcrun042.stderr index dcf0854d4750..471fd5141b4d 100644 --- a/testsuite/tests/typecheck/should_run/tcrun042.stderr +++ b/testsuite/tests/typecheck/should_run/tcrun042.stderr @@ -1,5 +1,5 @@ -tcrun042.hs:20:5: error: +tcrun042.hs:20:5: error: [GHC-91028] • Couldn't match type ‘t0’ with ‘forall b. b -> b -> b’ Expected: a -> (forall b. b -> b -> b) -> (a, String, forall c. c -> c -> c) diff --git a/testsuite/tests/typecheck/should_run/tcrun045.stderr b/testsuite/tests/typecheck/should_run/tcrun045.stderr index feabc4bad443..d55527767319 100644 --- a/testsuite/tests/typecheck/should_run/tcrun045.stderr +++ b/testsuite/tests/typecheck/should_run/tcrun045.stderr @@ -1,14 +1,14 @@ -tcrun045.hs:11:10: error: +tcrun045.hs:11:10: error: [GHC-75863] • Illegal implicit parameter ‘?imp::Int’ • In the instance declaration for ‘C Int’ -tcrun045.hs:24:1: error: +tcrun045.hs:24:1: error: [GHC-75863] • Illegal implicit parameter ‘?imp::Int’ • In the context: ?imp::Int While checking the super-classes of class ‘D’ In the class declaration for ‘D’ -tcrun045.hs:27:10: error: +tcrun045.hs:27:10: error: [GHC-75863] • Illegal implicit parameter ‘?imp::Int’ • In the instance declaration for ‘D Int’ diff --git a/testsuite/tests/unboxedsums/UnboxedSumsTH_Fail.stderr b/testsuite/tests/unboxedsums/UnboxedSumsTH_Fail.stderr index d8b7f25bd853..f7b85ad173ce 100644 --- a/testsuite/tests/unboxedsums/UnboxedSumsTH_Fail.stderr +++ b/testsuite/tests/unboxedsums/UnboxedSumsTH_Fail.stderr @@ -1,2 +1,3 @@ -UnboxedSumsTH_Fail.hs:13:22: error: parse error on input ‘|’ +UnboxedSumsTH_Fail.hs:13:22: error: [GHC-58481] + parse error on input ‘|’ diff --git a/testsuite/tests/unboxedsums/ffi1.stderr b/testsuite/tests/unboxedsums/ffi1.stderr index cdc77cea19cd..07a2addaf070 100644 --- a/testsuite/tests/unboxedsums/ffi1.stderr +++ b/testsuite/tests/unboxedsums/ffi1.stderr @@ -1,11 +1,11 @@ -ffi1.hs:9:1: error: +ffi1.hs:9:1: error: [GHC-89401] • Unacceptable argument type in foreign declaration: ‘(# Int | Int #)’ cannot be marshalled in a foreign call • When checking declaration: foreign import ccall safe "f1" f1 :: (# Int | Int #) -> IO Int -ffi1.hs:10:1: error: +ffi1.hs:10:1: error: [GHC-89401] • Unacceptable argument type in foreign declaration: ‘(# (# Int, Int #) | (# Float#, Float# #) #)’ cannot be marshalled in a foreign call @@ -13,7 +13,7 @@ ffi1.hs:10:1: error: foreign import ccall safe "f2" f2 :: (# (# Int, Int #) | (# Float#, Float# #) #) -> IO Int -ffi1.hs:11:1: error: +ffi1.hs:11:1: error: [GHC-89401] • Unacceptable argument type in foreign declaration: ‘(# (# #) | Void# | (# Int# | String #) #)’ cannot be marshalled in a foreign call diff --git a/testsuite/tests/unboxedsums/unboxedsums4.stderr b/testsuite/tests/unboxedsums/unboxedsums4.stderr index 2cd4be6c9ab8..52a8f77d7c25 100644 --- a/testsuite/tests/unboxedsums/unboxedsums4.stderr +++ b/testsuite/tests/unboxedsums/unboxedsums4.stderr @@ -1,2 +1,3 @@ -unboxedsums4.hs:3:7: error: Boxed sums not supported: ( 10 | ) +unboxedsums4.hs:3:7: error: [GHC-09550] + Boxed sums not supported: ( 10 | ) diff --git a/testsuite/tests/unlifted-datatypes/should_fail/UnlDataInvalidResKind1.stderr b/testsuite/tests/unlifted-datatypes/should_fail/UnlDataInvalidResKind1.stderr index e61b6b4b1876..cf1f93a7952f 100644 --- a/testsuite/tests/unlifted-datatypes/should_fail/UnlDataInvalidResKind1.stderr +++ b/testsuite/tests/unlifted-datatypes/should_fail/UnlDataInvalidResKind1.stderr @@ -1,4 +1,4 @@ -UnlDataInvalidResKind1.hs:9:1: error: +UnlDataInvalidResKind1.hs:9:1: error: [GHC-55233] • Data type has non-'BoxedRep return kind ‘TYPE 'IntRep’ • In the data declaration for ‘T’ diff --git a/testsuite/tests/unlifted-datatypes/should_fail/UnlDataNullaryPoly.stderr b/testsuite/tests/unlifted-datatypes/should_fail/UnlDataNullaryPoly.stderr index 7c9b856677d9..98c2dbe0ea87 100644 --- a/testsuite/tests/unlifted-datatypes/should_fail/UnlDataNullaryPoly.stderr +++ b/testsuite/tests/unlifted-datatypes/should_fail/UnlDataNullaryPoly.stderr @@ -1,5 +1,5 @@ -UnlDataNullaryPoly.hs:10:10: error: +UnlDataNullaryPoly.hs:10:10: error: [GHC-31147] • Quantified type's kind mentions quantified type variable type: ‘forall (l :: Levity). T’ where the body of the forall has this kind: ‘TYPE ('BoxedRep l)’ diff --git a/testsuite/tests/warnings/minimal/WarnMinimal.stderr b/testsuite/tests/warnings/minimal/WarnMinimal.stderr index 4323a91e1765..c474f450fb91 100644 --- a/testsuite/tests/warnings/minimal/WarnMinimal.stderr +++ b/testsuite/tests/warnings/minimal/WarnMinimal.stderr @@ -24,19 +24,19 @@ WarnMinimal.hs:79:10: warning: [-Wmissing-methods (in -Wdefault)] ‘return'’ and (either (‘fmap'’ and ‘join'’) or ‘bind'’) • In the instance declaration for ‘Monad' Id3’ -WarnMinimal.hs:84:1: warning: +WarnMinimal.hs:84:1: warning: [GHC-13511] • The MINIMAL pragma does not require: ‘cheater’ but there is no default implementation. • In the class declaration for ‘Cheater’ -WarnMinimal.hs:88:1: warning: +WarnMinimal.hs:88:1: warning: [GHC-13511] • The MINIMAL pragma does not require: ‘_cheater2’ but there is no default implementation. • In the class declaration for ‘Cheater2’ -WarnMinimal.hs:92:1: warning: +WarnMinimal.hs:92:1: warning: [GHC-13511] • The MINIMAL pragma does not require: ‘cheater3b’ but there is no default implementation. diff --git a/testsuite/tests/warnings/minimal/WarnMinimalFail2.stderr b/testsuite/tests/warnings/minimal/WarnMinimalFail2.stderr index 70584cdf2839..094c865cd14e 100644 --- a/testsuite/tests/warnings/minimal/WarnMinimalFail2.stderr +++ b/testsuite/tests/warnings/minimal/WarnMinimalFail2.stderr @@ -1,3 +1,3 @@ -WarnMinimalFail2.hs:8:15: +WarnMinimalFail2.hs:8:15: error: [GHC-54721] ‘global’ is not a (visible) method of class ‘Foo’ diff --git a/testsuite/tests/warnings/minimal/WarnMinimalFail3.stderr b/testsuite/tests/warnings/minimal/WarnMinimalFail3.stderr index 3b2616b60d39..a27f7bb1c70d 100644 --- a/testsuite/tests/warnings/minimal/WarnMinimalFail3.stderr +++ b/testsuite/tests/warnings/minimal/WarnMinimalFail3.stderr @@ -1,3 +1,3 @@ -WarnMinimalFail3.hs:12:15: +WarnMinimalFail3.hs:12:15: error: [GHC-54721] ‘parent’ is not a (visible) method of class ‘Child’ diff --git a/testsuite/tests/warnings/should_compile/DeprU.stderr b/testsuite/tests/warnings/should_compile/DeprU.stderr index f8db14ef0fea..f184ef6262a6 100644 --- a/testsuite/tests/warnings/should_compile/DeprU.stderr +++ b/testsuite/tests/warnings/should_compile/DeprU.stderr @@ -5,6 +5,6 @@ DeprU.hs:3:1: warning: [-Wdeprecations (in -Wdefault)] Module ‘DeprM’ is deprecated: "Here can be your menacing deprecation warning!" -DeprU.hs:6:5: warning: [-Wdeprecations (in -Wdefault)] +DeprU.hs:6:5: warning: [GHC-68441] [-Wdeprecations (in -Wdefault)] In the use of ‘f’ (imported from DeprM): Deprecated: "Here can be your menacing deprecation warning!" diff --git a/testsuite/tests/warnings/should_compile/DerivingTypeable.stderr b/testsuite/tests/warnings/should_compile/DerivingTypeable.stderr index 20a19ab53042..aba784903025 100644 --- a/testsuite/tests/warnings/should_compile/DerivingTypeable.stderr +++ b/testsuite/tests/warnings/should_compile/DerivingTypeable.stderr @@ -1,3 +1,4 @@ -DerivingTypeable.hs:8:12: warning: [-Wderiving-typeable] - Deriving ‘Typeable’ has no effect: all types now auto-derive Typeable - In the data declaration for ‘Foo’ + +DerivingTypeable.hs:8:12: warning: [GHC-90584] [-Wderiving-typeable] + • Deriving ‘Typeable’ has no effect: all types now auto-derive Typeable + • In the data declaration for ‘Foo’ diff --git a/testsuite/tests/warnings/should_compile/DodgyExports01.stderr b/testsuite/tests/warnings/should_compile/DodgyExports01.stderr index 8e9c00d8b829..d3cae826abe9 100644 --- a/testsuite/tests/warnings/should_compile/DodgyExports01.stderr +++ b/testsuite/tests/warnings/should_compile/DodgyExports01.stderr @@ -1,5 +1,5 @@ -DodgyExports01.hs:2:13: warning: [-Wdodgy-exports (in -Wextra)] +DodgyExports01.hs:2:13: warning: [GHC-75356] [-Wdodgy-exports (in -Wextra)] The export item ‘T(..)’ suggests that ‘T’ has (in-scope) constructors or class methods, but it has none diff --git a/testsuite/tests/warnings/should_compile/MissingMod.stderr b/testsuite/tests/warnings/should_compile/MissingMod.stderr index 119e72cd289a..92ada51d6022 100644 --- a/testsuite/tests/warnings/should_compile/MissingMod.stderr +++ b/testsuite/tests/warnings/should_compile/MissingMod.stderr @@ -1,5 +1,6 @@ -<no location info>: warning: [-Wmissing-home-modules] - Modules are not listed in command line but needed for compilation: MissingMod1 +<no location info>: warning: [GHC-32850] [-Wmissing-home-modules] + Modules are not listed in command line but needed for compilation: + MissingMod1 [1 of 2] Compiling MissingMod1 ( MissingMod1.hs, MissingMod1.o ) [2 of 2] Compiling MissingMod ( MissingMod.hs, MissingMod.o ) diff --git a/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-32 b/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-32 index 0868f26f0710..528436cec004 100644 --- a/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-32 +++ b/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-32 @@ -1,18 +1,18 @@ -Overflow.hs:8:15: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:8:15: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 10000000000000000000000000000000 is out of the Int# range -2147483648..2147483647 -Overflow.hs:13:1: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:13:1: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 100000000000000000000000000 is out of the Int# range -2147483648..2147483647 -Overflow.hs:18:5: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:18:5: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 1000000000000000000000000000000 is out of the Int range -2147483648..2147483647 -Overflow.hs:22:1: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:22:1: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 100000000000000000000000000000000 is out of the Int range -2147483648..2147483647 -Overflow.hs:27:6: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:27:6: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -1 is out of the Word range 0..4294967295 -Overflow.hs:31:1: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:31:1: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -1 is out of the Word range 0..4294967295 diff --git a/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-64 b/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-64 index ce657aebf66d..e66e61483153 100644 --- a/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-64 +++ b/testsuite/tests/warnings/should_compile/Overflow.stderr-ws-64 @@ -1,18 +1,18 @@ -Overflow.hs:8:15: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:8:15: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 10000000000000000000000000000000 is out of the Int# range -9223372036854775808..9223372036854775807 -Overflow.hs:13:1: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:13:1: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 100000000000000000000000000 is out of the Int# range -9223372036854775808..9223372036854775807 -Overflow.hs:18:5: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:18:5: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 1000000000000000000000000000000 is out of the Int range -9223372036854775808..9223372036854775807 -Overflow.hs:22:1: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:22:1: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 100000000000000000000000000000000 is out of the Int range -9223372036854775808..9223372036854775807 -Overflow.hs:27:6: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:27:6: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -1 is out of the Word range 0..18446744073709551615 -Overflow.hs:31:1: warning: [-Woverflowed-literals (in -Wdefault)] +Overflow.hs:31:1: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -1 is out of the Word range 0..18446744073709551615 diff --git a/testsuite/tests/warnings/should_compile/PluralS.stderr b/testsuite/tests/warnings/should_compile/PluralS.stderr index d8a6f76957d6..5ba0ad934712 100644 --- a/testsuite/tests/warnings/should_compile/PluralS.stderr +++ b/testsuite/tests/warnings/should_compile/PluralS.stderr @@ -1,12 +1,12 @@ -PluralS.hs:15:17: warning: [-Wtype-defaults (in -Wall)] +PluralS.hs:15:17: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraint Num a0 arising from the literal ‘123’ • In the first argument of ‘seq’, namely ‘123’ In the expression: 123 `seq` () In an equation for ‘defaultingNum’: defaultingNum = 123 `seq` () -PluralS.hs:17:24: warning: [-Wtype-defaults (in -Wall)] +PluralS.hs:17:24: warning: [GHC-18042] [-Wtype-defaults (in -Wall)] • Defaulting the type variable ‘a0’ to type ‘Integer’ in the following constraints (Show a0) arising from a use of ‘show’ at PluralS.hs:17:24-27 (Num a0) arising from the literal ‘123’ at PluralS.hs:17:29-31 @@ -14,14 +14,14 @@ PluralS.hs:17:24: warning: [-Wtype-defaults (in -Wall)] In an equation for ‘defaultingNumAndShow’: defaultingNumAndShow = show 123 -PluralS.hs:23:17: warning: [-Wredundant-constraints] - • Redundant constraint: Num a - • In the type signature for: - redundantNum :: forall a. (Num a, Num a) => a +PluralS.hs:23:17: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: Num a + In the type signature for: + redundantNum :: forall a. (Num a, Num a) => a -PluralS.hs:26:22: warning: [-Wredundant-constraints] - • Redundant constraints: (Show a, Num a, Eq a, Eq a) - • In the type signature for: - redundantMultiple :: forall a. - (Num a, Show a, Num a, Eq a, Eq a) => - a +PluralS.hs:26:22: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraints: (Show a, Num a, Eq a, Eq a) + In the type signature for: + redundantMultiple :: forall a. + (Num a, Show a, Num a, Eq a, Eq a) => + a diff --git a/testsuite/tests/warnings/should_compile/StarBinder.stderr b/testsuite/tests/warnings/should_compile/StarBinder.stderr index 64bd8a3fbccd..b9370e0bb209 100644 --- a/testsuite/tests/warnings/should_compile/StarBinder.stderr +++ b/testsuite/tests/warnings/should_compile/StarBinder.stderr @@ -1,12 +1,12 @@ -StarBinder.hs:6:14: warning: [-Wstar-binder (in -Wdefault)] +StarBinder.hs:6:14: warning: [GHC-21887] [-Wstar-binder (in -Wdefault)] Found binding occurrence of ‘*’ yet StarIsType is enabled. Suggested fix: To use (or export) this operator in modules with StarIsType, - including the definition module, you must qualify it. + including the definition module, you must qualify it. -StarBinder.hs:6:30: warning: [-Wstar-binder (in -Wdefault)] +StarBinder.hs:6:30: warning: [GHC-21887] [-Wstar-binder (in -Wdefault)] Found binding occurrence of ‘*’ yet StarIsType is enabled. Suggested fix: To use (or export) this operator in modules with StarIsType, - including the definition module, you must qualify it. + including the definition module, you must qualify it. diff --git a/testsuite/tests/warnings/should_compile/T10637/T10637.stderr b/testsuite/tests/warnings/should_compile/T10637/T10637.stderr index ece431673950..d0b53d1ff242 100644 --- a/testsuite/tests/warnings/should_compile/T10637/T10637.stderr +++ b/testsuite/tests/warnings/should_compile/T10637/T10637.stderr @@ -1,3 +1,3 @@ -T10637.hs:3:23: warning: [-Wunused-imports (in -Wextra)] +T10637.hs:3:23: warning: [GHC-88907] [-Wunused-imports (in -Wextra)] {-# SOURCE #-} unnecessary in import of ‘A’ diff --git a/testsuite/tests/warnings/should_compile/T10930.stderr-ws-32 b/testsuite/tests/warnings/should_compile/T10930.stderr-ws-32 index 8fcd1a3a1f04..0928274914b2 100644 --- a/testsuite/tests/warnings/should_compile/T10930.stderr-ws-32 +++ b/testsuite/tests/warnings/should_compile/T10930.stderr-ws-32 @@ -1,12 +1,12 @@ -T10930.hs:6:5: warning: [-Woverflowed-literals (in -Wdefault)] +T10930.hs:6:5: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -123 is out of the Word range 0..4294967295 -T10930.hs:7:5: warning: [-Woverflowed-literals (in -Wdefault)] +T10930.hs:7:5: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -123 is negative but Natural only supports positive numbers -T10930.hs:9:5: warning: [-Wempty-enumerations (in -Wdefault)] +T10930.hs:9:5: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -T10930.hs:10:5: warning: [-Wempty-enumerations (in -Wdefault)] +T10930.hs:10:5: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty diff --git a/testsuite/tests/warnings/should_compile/T10930.stderr-ws-64 b/testsuite/tests/warnings/should_compile/T10930.stderr-ws-64 index 1b593b9f384a..64e8d5b3cccc 100644 --- a/testsuite/tests/warnings/should_compile/T10930.stderr-ws-64 +++ b/testsuite/tests/warnings/should_compile/T10930.stderr-ws-64 @@ -1,11 +1,12 @@ -T10930.hs:6:5: warning: [-Woverflowed-literals (in -Wdefault)] +T10930.hs:6:5: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -123 is out of the Word range 0..18446744073709551615 -T10930.hs:7:5: warning: [-Woverflowed-literals (in -Wdefault)] +T10930.hs:7:5: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -123 is negative but Natural only supports positive numbers -T10930.hs:9:5: warning: [-Wempty-enumerations (in -Wdefault)] Enumeration is empty +T10930.hs:9:5: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] + Enumeration is empty -T10930.hs:10:5: warning: [-Wempty-enumerations (in -Wdefault)] +T10930.hs:10:5: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty diff --git a/testsuite/tests/warnings/should_compile/T10930b.stderr b/testsuite/tests/warnings/should_compile/T10930b.stderr index a967efa839db..689aa54821b9 100644 --- a/testsuite/tests/warnings/should_compile/T10930b.stderr +++ b/testsuite/tests/warnings/should_compile/T10930b.stderr @@ -1,15 +1,15 @@ -T10930b.hs:6:6: warning: [-Woverflowed-literals (in -Wdefault)] +T10930b.hs:6:6: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -10 is negative but Natural only supports positive numbers -T10930b.hs:6:13: warning: [-Woverflowed-literals (in -Wdefault)] +T10930b.hs:6:13: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -3 is negative but Natural only supports positive numbers -T10930b.hs:7:5: warning: [-Wempty-enumerations (in -Wdefault)] +T10930b.hs:7:5: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -T10930b.hs:7:6: warning: [-Woverflowed-literals (in -Wdefault)] +T10930b.hs:7:6: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -3 is negative but Natural only supports positive numbers -T10930b.hs:7:12: warning: [-Woverflowed-literals (in -Wdefault)] +T10930b.hs:7:12: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal -10 is negative but Natural only supports positive numbers diff --git a/testsuite/tests/warnings/should_compile/T11077.stderr b/testsuite/tests/warnings/should_compile/T11077.stderr index 9621e8d5e18a..011f5a264c04 100644 --- a/testsuite/tests/warnings/should_compile/T11077.stderr +++ b/testsuite/tests/warnings/should_compile/T11077.stderr @@ -1,3 +1,3 @@ -T11077.hs:5:1: warning: [-Wmissing-exported-signatures] +T11077.hs:5:1: warning: [GHC-38417] [-Wmissing-exported-signatures] Top-level binding with no type signature: foo :: a diff --git a/testsuite/tests/warnings/should_compile/T12574.stderr b/testsuite/tests/warnings/should_compile/T12574.stderr index 35427c1b909a..1a276f883532 100644 --- a/testsuite/tests/warnings/should_compile/T12574.stderr +++ b/testsuite/tests/warnings/should_compile/T12574.stderr @@ -1,4 +1,4 @@ -T12574.hs:3:1: warning: [-Wmissing-local-signatures] +T12574.hs:3:1: warning: [GHC-64414] [-Wmissing-local-signatures] Polymorphic local binding with no type signature: T12574.id :: forall {p}. p -> p diff --git a/testsuite/tests/warnings/should_compile/T13256.stderr-ws-32 b/testsuite/tests/warnings/should_compile/T13256.stderr-ws-32 index 6309a9765e77..dded19d4ffba 100644 --- a/testsuite/tests/warnings/should_compile/T13256.stderr-ws-32 +++ b/testsuite/tests/warnings/should_compile/T13256.stderr-ws-32 @@ -1,3 +1,3 @@ -T13256.hs:4:12: warning: [-Woverflowed-literals (in -Wdefault)] +T13256.hs:4:12: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 100000000000000000000000000000000 is out of the Int range -2147483648..2147483647 diff --git a/testsuite/tests/warnings/should_compile/T13256.stderr-ws-64 b/testsuite/tests/warnings/should_compile/T13256.stderr-ws-64 index 6b06a7d09360..454744b75e0d 100644 --- a/testsuite/tests/warnings/should_compile/T13256.stderr-ws-64 +++ b/testsuite/tests/warnings/should_compile/T13256.stderr-ws-64 @@ -1,3 +1,3 @@ -T13256.hs:4:12: warning: [-Woverflowed-literals (in -Wdefault)] +T13256.hs:4:12: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 100000000000000000000000000000000 is out of the Int range -9223372036854775808..9223372036854775807 diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727a.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727a.stderr index 383b6df7bd4d..d34450454afb 100644 --- a/testsuite/tests/warnings/should_compile/T13727/T13727a.stderr +++ b/testsuite/tests/warnings/should_compile/T13727/T13727a.stderr @@ -1,7 +1,7 @@ -<no location info>: warning: [-Wmissing-home-modules] +<no location info>: warning: [GHC-32850] [-Wmissing-home-modules] Modules are not listed in command line but needed for compilation: M1 -[1 of 3] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o ) -[2 of 3] Compiling Main ( src-exe/Main.hs, src-exe/Main.o ) -[3 of 3] Linking src-exe/Main +[1 of 3] Compiling M1 ( src-lib\M1.hs, src-lib\M1.o ) +[2 of 3] Compiling Main ( src-exe\Main.hs, src-exe\Main.o ) +[3 of 3] Linking src-exe\Main.exe diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727b.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727b.stderr index 383b6df7bd4d..d34450454afb 100644 --- a/testsuite/tests/warnings/should_compile/T13727/T13727b.stderr +++ b/testsuite/tests/warnings/should_compile/T13727/T13727b.stderr @@ -1,7 +1,7 @@ -<no location info>: warning: [-Wmissing-home-modules] +<no location info>: warning: [GHC-32850] [-Wmissing-home-modules] Modules are not listed in command line but needed for compilation: M1 -[1 of 3] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o ) -[2 of 3] Compiling Main ( src-exe/Main.hs, src-exe/Main.o ) -[3 of 3] Linking src-exe/Main +[1 of 3] Compiling M1 ( src-lib\M1.hs, src-lib\M1.o ) +[2 of 3] Compiling Main ( src-exe\Main.hs, src-exe\Main.o ) +[3 of 3] Linking src-exe\Main.exe diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727f.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727f.stderr index 9d084b94f6de..165cd8100b9e 100644 --- a/testsuite/tests/warnings/should_compile/T13727/T13727f.stderr +++ b/testsuite/tests/warnings/should_compile/T13727/T13727f.stderr @@ -1,8 +1,8 @@ -<no location info>: warning: [-Wmissing-home-modules] +<no location info>: warning: [GHC-32850] [-Wmissing-home-modules] Modules are not listed in command line but needed for compilation: M1 Main -[1 of 4] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o ) -[2 of 4] Compiling Main ( src-exe/Main.hs, src-exe/Main.o ) -[3 of 4] Compiling AltMain ( src-exe/AltMain.hs, src-exe/AltMain.o ) -[4 of 4] Linking src-exe/AltMain +[1 of 4] Compiling M1 ( src-lib\M1.hs, src-lib\M1.o ) +[2 of 4] Compiling Main ( src-exe\Main.hs, src-exe\Main.o ) +[3 of 4] Compiling AltMain ( src-exe\AltMain.hs, src-exe\AltMain.o ) +[4 of 4] Linking src-exe\AltMain.exe diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727g.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727g.stderr index 9d084b94f6de..165cd8100b9e 100644 --- a/testsuite/tests/warnings/should_compile/T13727/T13727g.stderr +++ b/testsuite/tests/warnings/should_compile/T13727/T13727g.stderr @@ -1,8 +1,8 @@ -<no location info>: warning: [-Wmissing-home-modules] +<no location info>: warning: [GHC-32850] [-Wmissing-home-modules] Modules are not listed in command line but needed for compilation: M1 Main -[1 of 4] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o ) -[2 of 4] Compiling Main ( src-exe/Main.hs, src-exe/Main.o ) -[3 of 4] Compiling AltMain ( src-exe/AltMain.hs, src-exe/AltMain.o ) -[4 of 4] Linking src-exe/AltMain +[1 of 4] Compiling M1 ( src-lib\M1.hs, src-lib\M1.o ) +[2 of 4] Compiling Main ( src-exe\Main.hs, src-exe\Main.o ) +[3 of 4] Compiling AltMain ( src-exe\AltMain.hs, src-exe\AltMain.o ) +[4 of 4] Linking src-exe\AltMain.exe diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727h.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727h.stderr index b627f7eaf5a3..3cbbcc1b9f3b 100644 --- a/testsuite/tests/warnings/should_compile/T13727/T13727h.stderr +++ b/testsuite/tests/warnings/should_compile/T13727/T13727h.stderr @@ -1,8 +1,8 @@ -<no location info>: warning: [-Wmissing-home-modules] +<no location info>: warning: [GHC-32850] [-Wmissing-home-modules] Modules are not listed in command line but needed for compilation: M1 -[1 of 4] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o ) -[2 of 4] Compiling Main ( src-exe/Main.hs, src-exe/Main.o ) -[3 of 4] Compiling AltMain ( src-exe/AltMain.hs, src-exe/AltMain.o ) -[4 of 4] Linking src-exe/AltMain +[1 of 4] Compiling M1 ( src-lib\M1.hs, src-lib\M1.o ) +[2 of 4] Compiling Main ( src-exe\Main.hs, src-exe\Main.o ) +[3 of 4] Compiling AltMain ( src-exe\AltMain.hs, src-exe\AltMain.o ) +[4 of 4] Linking src-exe\AltMain.exe diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727i.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727i.stderr index b627f7eaf5a3..3cbbcc1b9f3b 100644 --- a/testsuite/tests/warnings/should_compile/T13727/T13727i.stderr +++ b/testsuite/tests/warnings/should_compile/T13727/T13727i.stderr @@ -1,8 +1,8 @@ -<no location info>: warning: [-Wmissing-home-modules] +<no location info>: warning: [GHC-32850] [-Wmissing-home-modules] Modules are not listed in command line but needed for compilation: M1 -[1 of 4] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o ) -[2 of 4] Compiling Main ( src-exe/Main.hs, src-exe/Main.o ) -[3 of 4] Compiling AltMain ( src-exe/AltMain.hs, src-exe/AltMain.o ) -[4 of 4] Linking src-exe/AltMain +[1 of 4] Compiling M1 ( src-lib\M1.hs, src-lib\M1.o ) +[2 of 4] Compiling Main ( src-exe\Main.hs, src-exe\Main.o ) +[3 of 4] Compiling AltMain ( src-exe\AltMain.hs, src-exe\AltMain.o ) +[4 of 4] Linking src-exe\AltMain.exe diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727j.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727j.stderr index 685860db43fe..bf4f36005424 100644 --- a/testsuite/tests/warnings/should_compile/T13727/T13727j.stderr +++ b/testsuite/tests/warnings/should_compile/T13727/T13727j.stderr @@ -1,8 +1,8 @@ -<no location info>: warning: [-Wmissing-home-modules] +<no location info>: warning: [GHC-32850] [-Wmissing-home-modules] Modules are not listed in command line but needed for compilation: Main -[1 of 4] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o ) -[2 of 4] Compiling Main ( src-exe/Main.hs, src-exe/Main.o ) -[3 of 4] Compiling AltMain ( src-exe/AltMain.hs, src-exe/AltMain.o ) -[4 of 4] Linking src-exe/AltMain +[1 of 4] Compiling M1 ( src-lib\M1.hs, src-lib\M1.o ) +[2 of 4] Compiling Main ( src-exe\Main.hs, src-exe\Main.o ) +[3 of 4] Compiling AltMain ( src-exe\AltMain.hs, src-exe\AltMain.o ) +[4 of 4] Linking src-exe\AltMain.exe diff --git a/testsuite/tests/warnings/should_compile/T14794a.stderr b/testsuite/tests/warnings/should_compile/T14794a.stderr index 807a07035066..8bbe40280fbb 100644 --- a/testsuite/tests/warnings/should_compile/T14794a.stderr +++ b/testsuite/tests/warnings/should_compile/T14794a.stderr @@ -1,6 +1,6 @@ -T14794a.hs:8:1: warning: [-Wmissing-signatures (in -Wall)] +T14794a.hs:8:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: testExported :: Bool -T14794a.hs:10:1: warning: [-Wmissing-signatures (in -Wall)] +T14794a.hs:10:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: testUnexported :: Bool diff --git a/testsuite/tests/warnings/should_compile/T14794b.stderr b/testsuite/tests/warnings/should_compile/T14794b.stderr index 8f7f7e805bad..de8fa5b83a05 100644 --- a/testsuite/tests/warnings/should_compile/T14794b.stderr +++ b/testsuite/tests/warnings/should_compile/T14794b.stderr @@ -1,3 +1,3 @@ -T14794b.hs:8:1: warning: [-Wmissing-exported-signatures] +T14794b.hs:8:1: warning: [GHC-38417] [-Wmissing-exported-signatures] Top-level binding with no type signature: testExported :: Bool diff --git a/testsuite/tests/warnings/should_compile/T14794c.stderr b/testsuite/tests/warnings/should_compile/T14794c.stderr index 413eea960f8c..e909432cfc22 100644 --- a/testsuite/tests/warnings/should_compile/T14794c.stderr +++ b/testsuite/tests/warnings/should_compile/T14794c.stderr @@ -1,6 +1,6 @@ -T14794c.hs:8:1: warning: [-Wmissing-signatures (in -Wall)] +T14794c.hs:8:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: testExported :: Bool -T14794c.hs:10:1: warning: [-Wmissing-signatures (in -Wall)] +T14794c.hs:10:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: testUnexported :: Bool diff --git a/testsuite/tests/warnings/should_compile/T14794d.stderr b/testsuite/tests/warnings/should_compile/T14794d.stderr index 61177b520eb9..b2fea476222e 100644 --- a/testsuite/tests/warnings/should_compile/T14794d.stderr +++ b/testsuite/tests/warnings/should_compile/T14794d.stderr @@ -1,8 +1,8 @@ -T14794d.hs:8:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T14794d.hs:8:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern TestExported :: Bool -T14794d.hs:10:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T14794d.hs:10:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern TestUnexported :: Bool diff --git a/testsuite/tests/warnings/should_compile/T14794e.stderr b/testsuite/tests/warnings/should_compile/T14794e.stderr index b7c70b6e5134..5ed8dff62c7e 100644 --- a/testsuite/tests/warnings/should_compile/T14794e.stderr +++ b/testsuite/tests/warnings/should_compile/T14794e.stderr @@ -1,4 +1,4 @@ -T14794e.hs:8:1: warning: [-Wmissing-exported-pattern-synonym-signatures] +T14794e.hs:8:1: warning: [GHC-38417] [-Wmissing-exported-pattern-synonym-signatures] Pattern synonym with no type signature: pattern TestExported :: Bool diff --git a/testsuite/tests/warnings/should_compile/T14794f.stderr b/testsuite/tests/warnings/should_compile/T14794f.stderr index fd138d5911f1..0f6735515156 100644 --- a/testsuite/tests/warnings/should_compile/T14794f.stderr +++ b/testsuite/tests/warnings/should_compile/T14794f.stderr @@ -1,8 +1,8 @@ -T14794f.hs:8:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T14794f.hs:8:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern TestExported :: Bool -T14794f.hs:10:1: warning: [-Wmissing-pattern-synonym-signatures (in -Wall)] +T14794f.hs:10:1: warning: [GHC-38417] [-Wmissing-pattern-synonym-signatures (in -Wall)] Pattern synonym with no type signature: pattern TestUnexported :: Bool diff --git a/testsuite/tests/warnings/should_compile/T15460.stderr-ws-32 b/testsuite/tests/warnings/should_compile/T15460.stderr-ws-32 index 2859116da8c4..91a87092d489 100644 --- a/testsuite/tests/warnings/should_compile/T15460.stderr-ws-32 +++ b/testsuite/tests/warnings/should_compile/T15460.stderr-ws-32 @@ -1,3 +1,3 @@ -T15460.hs:8:16: warning: [-Woverflowed-literals (in -Wdefault)] +T15460.hs:8:16: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 7237005577332262213973186563042994240829374041602535252466099000494570602495 is out of the GHC.Prim.Int# range -2147483648..2147483647 diff --git a/testsuite/tests/warnings/should_compile/T15460.stderr-ws-64 b/testsuite/tests/warnings/should_compile/T15460.stderr-ws-64 index 5907b44320c9..296a01aa4126 100644 --- a/testsuite/tests/warnings/should_compile/T15460.stderr-ws-64 +++ b/testsuite/tests/warnings/should_compile/T15460.stderr-ws-64 @@ -1,3 +1,3 @@ -T15460.hs:8:16: warning: [-Woverflowed-literals (in -Wdefault)] +T15460.hs:8:16: warning: [GHC-97441] [-Woverflowed-literals (in -Wdefault)] Literal 7237005577332262213973186563042994240829374041602535252466099000494570602495 is out of the GHC.Prim.Int# range -9223372036854775808..9223372036854775807 diff --git a/testsuite/tests/warnings/should_compile/T18402.stderr b/testsuite/tests/warnings/should_compile/T18402.stderr index 1fe12832c9a8..0b2853bf5698 100644 --- a/testsuite/tests/warnings/should_compile/T18402.stderr +++ b/testsuite/tests/warnings/should_compile/T18402.stderr @@ -1,9 +1,9 @@ -T18402.hs:3:5: warning: [-Wempty-enumerations (in -Wdefault)] +T18402.hs:3:5: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -T18402.hs:4:5: warning: [-Wempty-enumerations (in -Wdefault)] +T18402.hs:4:5: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty -T18402.hs:5:5: warning: [-Wempty-enumerations (in -Wdefault)] +T18402.hs:5:5: warning: [GHC-10190] [-Wempty-enumerations (in -Wdefault)] Enumeration is empty diff --git a/testsuite/tests/warnings/should_compile/T18862a.stderr b/testsuite/tests/warnings/should_compile/T18862a.stderr index e2a6fe3f3cf4..2a60962bcb6e 100644 --- a/testsuite/tests/warnings/should_compile/T18862a.stderr +++ b/testsuite/tests/warnings/should_compile/T18862a.stderr @@ -1,5 +1,5 @@ -T18862a.hs:5:9: warning: [-Wtype-equality-requires-operators (in -Wdefault)] +T18862a.hs:5:9: warning: [GHC-58520] [-Wtype-equality-requires-operators (in -Wdefault)] The use of ‘~’ without TypeOperators will become an error in a future GHC release. Suggested fix: Perhaps you intended to use TypeOperators diff --git a/testsuite/tests/warnings/should_compile/T18862b.stderr b/testsuite/tests/warnings/should_compile/T18862b.stderr index ac959be7d89b..8f0514131bc7 100644 --- a/testsuite/tests/warnings/should_compile/T18862b.stderr +++ b/testsuite/tests/warnings/should_compile/T18862b.stderr @@ -1,5 +1,5 @@ -T18862b.hs:7:9: warning: [-Wtype-equality-out-of-scope (in -Wcompat)] +T18862b.hs:7:9: warning: [GHC-12003] [-Wtype-equality-out-of-scope (in -Wcompat)] • The ‘~’ operator is out of scope. Assuming it to stand for an equality constraint. • NB: ‘~’ used to be built-in syntax but now is a regular type operator diff --git a/testsuite/tests/warnings/should_compile/T19296.stderr b/testsuite/tests/warnings/should_compile/T19296.stderr index e76c0cbbef1f..1fb1f7fe1316 100644 --- a/testsuite/tests/warnings/should_compile/T19296.stderr +++ b/testsuite/tests/warnings/should_compile/T19296.stderr @@ -1,31 +1,31 @@ -T19296.hs:6:6: warning: [-Wredundant-constraints] - • Redundant constraint: Eq a - • In the type signature for: - f :: forall a. Eq a => a -> () +T19296.hs:6:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: Eq a + In the type signature for: + f :: forall a. Eq a => a -> () | 6 | f :: Eq a => a -> () | ^^^^ -T19296.hs:10:21: warning: [-Wredundant-constraints] +T19296.hs:10:21: warning: [GHC-30606] [-Wredundant-constraints] • Redundant constraint: Eq a - • In an expression type signature: + In an expression type signature: forall a1. Eq a1 => a1 -> () - In the expression: (\ x -> ()) :: Eq a => a -> () + • In the expression: (\ x -> ()) :: Eq a => a -> () In an equation for ‘g’: g _ = (\ x -> ()) :: Eq a => a -> () | 10 | g _ = (\x -> ()) :: Eq a => a -> () | ^^^^ -T19296.hs:13:6: warning: [-Wredundant-constraints] - • Redundant constraint: Eq a - • In the type signature for: - h :: forall a b. (Eq a, Ord b) => a -> b -> b +T19296.hs:13:6: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: Eq a + In the type signature for: + h :: forall a b. (Eq a, Ord b) => a -> b -> b | 13 | h :: (Eq a, Ord b) => a -> b -> b | ^^^^^^^^^^^^^ -T19296.hs:21:1: warning: +T19296.hs:21:1: warning: [GHC-40548] Forall'd constraint ‘Eq a’ is not bound in RULE lhs Orig bndrs: [a, $dEq] Orig lhs: let { @@ -38,28 +38,28 @@ T19296.hs:21:1: warning: 21 | {-# SPECIALISE spec :: Eq a => a -> Int -> Int #-} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -T19296.hs:21:24: warning: [-Wredundant-constraints] +T19296.hs:21:24: warning: [GHC-30606] [-Wredundant-constraints] • Redundant constraint: Eq a - • In the type signature for: + In the type signature for: spec :: forall a. Eq a => a -> Int -> Int - In the pragma: {-# SPECIALISE spec :: Eq a => a -> Int -> Int #-} + • In the pragma: {-# SPECIALISE spec :: Eq a => a -> Int -> Int #-} | 21 | {-# SPECIALISE spec :: Eq a => a -> Int -> Int #-} | ^^^^ -T19296.hs:31:20: warning: [-Wredundant-constraints] - • Redundant constraint: Show a - • In the type signature for: - foo :: Show a => [a] +T19296.hs:31:20: warning: [GHC-30606] [-Wredundant-constraints] + Redundant constraint: Show a + In the type signature for: + foo :: Show a => [a] | 31 | default foo :: Show a => [a] | ^^^^^^ -T19296.hs:39:12: warning: [-Wredundant-constraints] +T19296.hs:39:12: warning: [GHC-30606] [-Wredundant-constraints] • Redundant constraints: (Eq b, Ord b) - • In the type signature for: + In the type signature for: bar :: forall b. (Eq b, Ord b) => Int -> b -> Int - In the instance declaration for ‘Bar Int’ + • In the instance declaration for ‘Bar Int’ | 39 | bar :: (Eq b, Ord b) => Int -> b -> Int | ^^^^^^^^^^^^^ diff --git a/testsuite/tests/warnings/should_compile/T19564a.stderr b/testsuite/tests/warnings/should_compile/T19564a.stderr index f64805fa3106..cce4e63dd573 100644 --- a/testsuite/tests/warnings/should_compile/T19564a.stderr +++ b/testsuite/tests/warnings/should_compile/T19564a.stderr @@ -1,36 +1,36 @@ -T19564a.hs:7:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:7:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type Id :: * -> * -T19564a.hs:11:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:11:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type Alt :: (* -> *) -> Constraint -T19564a.hs:15:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:15:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type Arr :: * -> * -> * -T19564a.hs:16:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:16:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type B :: * -T19564a.hs:19:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:19:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type YesNo :: * -T19564a.hs:20:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:20:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type V2 :: * -> * -T19564a.hs:23:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:23:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type Free :: (* -> *) -> * -> * -T19564a.hs:28:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:28:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type D1 :: * -> * -T19564a.hs:31:1: warning: [-Wmissing-kind-signatures] +T19564a.hs:31:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type C :: forall {k}. k -> Constraint diff --git a/testsuite/tests/warnings/should_compile/T19564c.stderr b/testsuite/tests/warnings/should_compile/T19564c.stderr index 587ea089fca4..ca5a0279ef76 100644 --- a/testsuite/tests/warnings/should_compile/T19564c.stderr +++ b/testsuite/tests/warnings/should_compile/T19564c.stderr @@ -1,36 +1,36 @@ -T19564c.hs:9:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:9:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type Id :: * -> * -T19564c.hs:13:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:13:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type Alt :: (* -> *) -> Constraint -T19564c.hs:17:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:17:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type Arr :: * -> * -> * -T19564c.hs:18:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:18:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type B :: * -T19564c.hs:21:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:21:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type YesNo :: * -T19564c.hs:22:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:22:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type V2 :: * -> * -T19564c.hs:25:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:25:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type Free :: (* -> *) -> * -> * -T19564c.hs:30:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:30:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type D1 :: * -> * -T19564c.hs:33:1: warning: [-Wmissing-kind-signatures] +T19564c.hs:33:1: warning: [GHC-38417] [-Wmissing-kind-signatures] Top-level type constructor with no standalone kind signature: type C :: * -> Constraint diff --git a/testsuite/tests/warnings/should_compile/T9178.stderr b/testsuite/tests/warnings/should_compile/T9178.stderr index 769452c2b068..ca2af9a8500a 100644 --- a/testsuite/tests/warnings/should_compile/T9178.stderr +++ b/testsuite/tests/warnings/should_compile/T9178.stderr @@ -1,8 +1,8 @@ [1 of 2] Compiling T9178DataType ( T9178DataType.hs, T9178DataType.o ) [2 of 2] Compiling T9178 ( T9178.hs, T9178.o ) -T9178.hs:8:1: warning: [-Worphans (in -Wall)] +T9178.hs:8:1: warning: [GHC-90177] [-Worphans (in -Wall)] Orphan instance: instance Show T9178_Type Suggested fix: - Move the instance declaration to the module of the class or of the type, or - wrap the type with a newtype and declare the instance on the new type. + Move the instance declaration to the module of the class or of the type, or + wrap the type with a newtype and declare the instance on the new type. diff --git a/testsuite/tests/warnings/should_compile/T9230.stderr b/testsuite/tests/warnings/should_compile/T9230.stderr index 208002033b44..e1411dcfb8c6 100644 --- a/testsuite/tests/warnings/should_compile/T9230.stderr +++ b/testsuite/tests/warnings/should_compile/T9230.stderr @@ -1,4 +1,4 @@ -T9230.hs:5:1: warning: [-Wtabs (in -Wdefault)] +T9230.hs:5:1: warning: [GHC-94817] [-Wtabs (in -Wdefault)] Tab character found here. Suggested fix: Please use spaces instead. diff --git a/testsuite/tests/warnings/should_compile/UnusedPackages.stderr b/testsuite/tests/warnings/should_compile/UnusedPackages.stderr index f86b09b82a3b..6323ede3ff40 100644 --- a/testsuite/tests/warnings/should_compile/UnusedPackages.stderr +++ b/testsuite/tests/warnings/should_compile/UnusedPackages.stderr @@ -1,9 +1,9 @@ -<no location info>: warning: [-Wunused-packages] +<no location info>: warning: [GHC-42258] [-Wunused-packages] The following packages were specified via -package or -package-id flags, but were not needed for compilation: - bytestring-0.11.3.0 (exposed by flag -package bytestring) - - ghc-9.3 (exposed by flag -package ghc) + - ghc-9.5 (exposed by flag -package ghc) - process-1.6.14.0 (exposed by flag -package process) [1 of 2] Compiling Main ( UnusedPackages.hs, UnusedPackages.o ) -[2 of 2] Linking UnusedPackages +[2 of 2] Linking UnusedPackages.exe diff --git a/testsuite/tests/warnings/should_compile/Werror01.stderr b/testsuite/tests/warnings/should_compile/Werror01.stderr index 1cebb3f0d05b..85c01ed19bbb 100644 --- a/testsuite/tests/warnings/should_compile/Werror01.stderr +++ b/testsuite/tests/warnings/should_compile/Werror01.stderr @@ -1,3 +1,3 @@ -Werror01.hs:5:1: warning: [-Wmissing-signatures (in -Wall)] +Werror01.hs:5:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: foo :: () -> () diff --git a/testsuite/tests/warnings/should_compile/Werror02.stderr b/testsuite/tests/warnings/should_compile/Werror02.stderr index c33037caae4b..e3183a7207b6 100644 --- a/testsuite/tests/warnings/should_compile/Werror02.stderr +++ b/testsuite/tests/warnings/should_compile/Werror02.stderr @@ -1,2 +1,3 @@ -Werror02.hs:5:1: warning: [-Wmissing-signatures (in -Wall)] + +Werror02.hs:5:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: foo :: () -> () diff --git a/testsuite/tests/warnings/should_fail/CaretDiagnostics1.stderr b/testsuite/tests/warnings/should_fail/CaretDiagnostics1.stderr index 3f0a4f350bfc..354ccadaa0b5 100644 --- a/testsuite/tests/warnings/should_fail/CaretDiagnostics1.stderr +++ b/testsuite/tests/warnings/should_fail/CaretDiagnostics1.stderr @@ -1,5 +1,5 @@ -CaretDiagnostics1.hs:7:8-15: error: +CaretDiagnostics1.hs:7:8-15: error: [GHC-83865] • Couldn't match expected type ‘IO a0’ with actual type ‘Int’ • In the second argument of ‘(+)’, namely ‘(3 :: Int)’ In a stmt of a 'do' block: @@ -11,7 +11,7 @@ CaretDiagnostics1.hs:7:8-15: error: 7 | (3 :: Int) | ^^^^^^^^ -CaretDiagnostics1.hs:8:9-27: error: +CaretDiagnostics1.hs:8:9-27: error: [GHC-83865] • Couldn't match type ‘[Char]’ with ‘()’ Expected: () Actual: String @@ -23,7 +23,7 @@ CaretDiagnostics1.hs:8:9-27: error: 8 | pure ("this is not an IO" + ( )) | ^^^^^^^^^^^^^^^^^^^ -CaretDiagnostics1.hs:13:7-11: error: +CaretDiagnostics1.hs:13:7-11: error: [GHC-83865] • Couldn't match type: a1 -> a1 with: [Char] Expected: a1 -> a1 @@ -35,7 +35,7 @@ CaretDiagnostics1.hs:13:7-11: error: 13 | "γηξ" -> ( | ^^^^^ -CaretDiagnostics1.hs:(13,16)-(14,13): error: +CaretDiagnostics1.hs:(13,16)-(14,13): error: [GHC-83865] • Couldn't match expected type ‘Char -> t0’ with actual type ‘()’ • The function ‘()’ is applied to one value argument, but its type ‘()’ has none @@ -45,7 +45,7 @@ CaretDiagnostics1.hs:(13,16)-(14,13): error: 13 | "γηξ" -> ( | ^... -CaretDiagnostics1.hs:17:7-8: error: +CaretDiagnostics1.hs:17:7-8: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘()’ • In the expression: () In an equation for ‘fóo’: fóo = () @@ -53,7 +53,7 @@ CaretDiagnostics1.hs:17:7-8: error: 17 | fóo = () | ^^ -CaretDiagnostics1.hs:20:17-18: error: +CaretDiagnostics1.hs:20:17-18: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘()’ • In the expression: () In an equation for ‘tabby’: tabby = () @@ -61,7 +61,7 @@ CaretDiagnostics1.hs:20:17-18: error: 20 | tabby = () | ^^ -CaretDiagnostics1.hs:23:25-26: error: +CaretDiagnostics1.hs:23:25-26: error: [GHC-83865] • Couldn't match expected type ‘Int’ with actual type ‘()’ • In the expression: () In an equation for ‘tabby2’: tabby2 = () diff --git a/testsuite/tests/warnings/should_fail/CaretDiagnostics2.stderr b/testsuite/tests/warnings/should_fail/CaretDiagnostics2.stderr index 713f9246a5f6..ecae2ac6de52 100644 --- a/testsuite/tests/warnings/should_fail/CaretDiagnostics2.stderr +++ b/testsuite/tests/warnings/should_fail/CaretDiagnostics2.stderr @@ -1,5 +1,5 @@ -CaretDiagnostics2.hs:3:1: error: +CaretDiagnostics2.hs:3:1: error: [GHC-21231] lexical error (UTF-8 decoding error) | 3 | �&l��5k� diff --git a/testsuite/tests/warnings/should_fail/Colour.stderr b/testsuite/tests/warnings/should_fail/Colour.stderr index 8631313a7ba8..79b3ef96833d 100644 --- a/testsuite/tests/warnings/should_fail/Colour.stderr +++ b/testsuite/tests/warnings/should_fail/Colour.stderr @@ -1,5 +1,5 @@ -[;1mColour.hs:1:8: [;1m[31merror:[0m[0m[;1m[0m[0m[;1m +[;1mColour.hs:1:8: [;1m[31merror[0m[0m[;1m: [[;1m[31mGHC-83865[0m[0m[;1m][0m[0m[;1m • Couldn't match expected type ‘IO ()’ with actual type ‘()’ • In the expression: () :: IO () In an equation for ‘main’: main = () :: IO ()[0m[0m diff --git a/testsuite/tests/warnings/should_fail/T20263.stderr b/testsuite/tests/warnings/should_fail/T20263.stderr index 5d7b26095940..b252ac2e2d62 100644 --- a/testsuite/tests/warnings/should_fail/T20263.stderr +++ b/testsuite/tests/warnings/should_fail/T20263.stderr @@ -1,5 +1,5 @@ -T20263.hs:2:17: error: [-Wunicode-bidirectional-format-characters (in -Wdefault), -Werror=unicode-bidirectional-format-characters] +T20263.hs:2:17: error: [GHC-03272] [-Wunicode-bidirectional-format-characters (in -Wdefault), Werror=unicode-bidirectional-format-characters] A unicode bidirectional formatting character (U+2067 RIGHT-TO-LEFT ISOLATE (RLI)) was found at offset 30 in the file along with further bidirectional formatting characters at offset 31: U+2066 LEFT-TO-RIGHT ISOLATE (LRI) diff --git a/testsuite/tests/warnings/should_fail/WerrorFail.stderr b/testsuite/tests/warnings/should_fail/WerrorFail.stderr index 03e93567bcea..4046bb4ae0b4 100644 --- a/testsuite/tests/warnings/should_fail/WerrorFail.stderr +++ b/testsuite/tests/warnings/should_fail/WerrorFail.stderr @@ -1,5 +1,5 @@ -WerrorFail.hs:6:1: error: [-Wincomplete-patterns (in -Wextra), -Werror=incomplete-patterns] +WerrorFail.hs:6:1: error: [GHC-62161] [-Wincomplete-patterns (in -Wextra), Werror=incomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘foo’: - Patterns of type ‘Maybe a’ not matched: Just _ + Patterns of type ‘Maybe a’ not matched: Just _ diff --git a/testsuite/tests/warnings/should_fail/WerrorFail2.stderr b/testsuite/tests/warnings/should_fail/WerrorFail2.stderr index c3bc935392bb..732f568e6ac7 100644 --- a/testsuite/tests/warnings/should_fail/WerrorFail2.stderr +++ b/testsuite/tests/warnings/should_fail/WerrorFail2.stderr @@ -1,15 +1,15 @@ -WerrorFail2.hs:15:1: warning: [-Wmissing-signatures (in -Wall)] +WerrorFail2.hs:15:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: sInt :: S -> Int -WerrorFail2.hs:15:10: error: [-Wincomplete-patterns (in -Wextra), -Werror=incomplete-patterns] +WerrorFail2.hs:15:10: error: [GHC-62161] [-Wincomplete-patterns (in -Wextra), Werror=incomplete-patterns] Pattern match(es) are non-exhaustive In a case alternative: Patterns of type ‘S’ not matched: C2 _ -WerrorFail2.hs:19:1: warning: [-Wmissing-signatures (in -Wall)] +WerrorFail2.hs:19:1: warning: [GHC-38417] [-Wmissing-signatures (in -Wall)] Top-level binding with no type signature: printRec :: IO () -WerrorFail2.hs:19:18: error: [-Wmissing-fields (in -Wdefault), -Werror=missing-fields] +WerrorFail2.hs:19:18: error: [GHC-20125] [-Wmissing-fields (in -Wdefault), Werror=missing-fields] • Fields of ‘Rec’ not initialised: f2 :: Int • In the first argument of ‘print’, namely ‘Rec {f1 = 1}’ diff --git a/testsuite/tests/wcompat-warnings/WCompatWarningsOn.stderr b/testsuite/tests/wcompat-warnings/WCompatWarningsOn.stderr index 1b3c2ff34b8e..a24d18353d85 100644 --- a/testsuite/tests/wcompat-warnings/WCompatWarningsOn.stderr +++ b/testsuite/tests/wcompat-warnings/WCompatWarningsOn.stderr @@ -16,7 +16,7 @@ Template.hs:16:3: warning: [-Wnoncanonical-monoid-instances (in -Wdefault, -Wcom Either remove definition for ‘mappend’ (recommended) or define as ‘mappend = (<>)’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/semigroup-monoid -Template.hs:20:15: warning: [-Wstar-is-type (in -Wall, -Wcompat)] +Template.hs:20:15: warning: [GHC-39567] [-Wstar-is-type (in -Wall, -Wcompat)] Using ‘*’ (or its Unicode variant) to mean ‘Data.Kind.Type’ relies on the StarIsType extension, which will become deprecated in the future. -- GitLab