summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail
diff options
context:
space:
mode:
authorsheaf <sam.derbyshire@gmail.com>2022-09-13 10:22:05 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-09-13 10:27:53 -0400
commit362cca13858faf7e1158273780ea900e7dad5827 (patch)
tree468c06697b2a6ef3f65b79a469a131d279f71deb /testsuite/tests/typecheck/should_fail
parent65a0bd69ac1fb59047cd4c8554a8fc756c7b3476 (diff)
downloadhaskell-362cca13858faf7e1158273780ea900e7dad5827.tar.gz
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.
Diffstat (limited to 'testsuite/tests/typecheck/should_fail')
-rw-r--r--testsuite/tests/typecheck/should_fail/AmbigFDs.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/AssocTyDef04.stderr12
-rw-r--r--testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/AssocTyDef09.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/ClassOperator.stderr8
-rw-r--r--testsuite/tests/typecheck/should_fail/CustomTypeErrors01.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/CustomTypeErrors02.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/CustomTypeErrors03.stderr8
-rw-r--r--testsuite/tests/typecheck/should_fail/CustomTypeErrors04.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/CustomTypeErrors05.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/ExpandSynsFail1.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/ExpandSynsFail2.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/ExpandSynsFail3.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/ExpandSynsFail4.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/ExplicitSpecificity1.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/ExplicitSpecificity10.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/ExplicitSpecificity2.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/ExplicitSpecificity3.stderr3
-rw-r--r--testsuite/tests/typecheck/should_fail/ExplicitSpecificity7.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/ExplicitSpecificity8.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/FD1.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/FD2.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/FD3.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/FDsFromGivens2.stderr5
-rw-r--r--testsuite/tests/typecheck/should_fail/FailDueToGivenOverlapping.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/FrozenErrorTests.stderr10
-rw-r--r--testsuite/tests/typecheck/should_fail/FunDepOrigin1b.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/GivenForallLoop.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/IPFail.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/LevPolyBounded.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/LongWayOverlapping.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/MissingDefaultMethodBinding.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/MissingExportList03.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/OrdErr.stderr5
-rw-r--r--testsuite/tests/typecheck/should_fail/SCLoop.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/StrictBinds.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T10194.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T10285.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T10351.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T10495.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T10534.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T10619.stderr16
-rw-r--r--testsuite/tests/typecheck/should_fail/T10709.stderr12
-rw-r--r--testsuite/tests/typecheck/should_fail/T10709b.stderr10
-rw-r--r--testsuite/tests/typecheck/should_fail/T10715b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T10836.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T10971b.stderr12
-rw-r--r--testsuite/tests/typecheck/should_fail/T10971d.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T11112.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T11274.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T11313.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T11347.stderr8
-rw-r--r--testsuite/tests/typecheck/should_fail/T11355.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T11356.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T11464.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T11514.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T11541.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T11563.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T11672.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T11698.stderr3
-rw-r--r--testsuite/tests/typecheck/should_fail/T11947a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T11948.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T11974b.stderr7
-rw-r--r--testsuite/tests/typecheck/should_fail/T11990a.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T11990b.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T12045b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12045c.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12083a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12083b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12102b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12151.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12170a.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T12177.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T12178a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12373.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12406.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12430.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12529.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12563.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12589.stderr3
-rw-r--r--testsuite/tests/typecheck/should_fail/T12648.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12729.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12785b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12837.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T12906.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12918b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12921.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T12947.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T12966.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T13068.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T13075.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T13292.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T13311.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T13320.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T13446.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T13487.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T13506.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T13530.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T13610.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T13640.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T13677.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T13819.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T13834.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T13902.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T13909.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T13983.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T14000.stderr3
-rw-r--r--testsuite/tests/typecheck/should_fail/T14048a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T14048b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T14048c.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T14055.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T14232.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T14325.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T14390.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T14605.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T14607.stderr8
-rw-r--r--testsuite/tests/typecheck/should_fail/T14618.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T14761b.stderr3
-rw-r--r--testsuite/tests/typecheck/should_fail/T14884.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T14904a.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T14904b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T15067.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T15330.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T15361.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T15592a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T15629.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T15648.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T15712.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T15767.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T15793.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T15797.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T15799.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T15801.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T15816.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T15862.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T15883.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T15883b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T15883c.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T15883d.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T15883e.stderr28
-rw-r--r--testsuite/tests/typecheck/should_fail/T1595.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T15962.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T16059a.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T16059c.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T16059d.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T16059e.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T16074.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T16204c.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T16255.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T1633.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T16414.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T16453E2.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T16456.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T16512a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T16512b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T16517.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T16627.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T16646Fail.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T16646Fail2.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T16821.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T16829a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T16829b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T17021b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T17077.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T17139.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T17173.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T17213.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T17355.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T17563.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T17566b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T17566c.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T17773.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T17775.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T18127a.stderr8
-rw-r--r--testsuite/tests/typecheck/should_fail/T18357a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T18398.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T18406.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T18640a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T18640b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T18640c.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T18714.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T18851.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T18851b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T18851c.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T18869.stderr8
-rw-r--r--testsuite/tests/typecheck/should_fail/T18939_Fail.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T1897a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T1899.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T19142.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T19187.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T19346.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T19364.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T19415.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T19915.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T19977a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T19977b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T19978.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T20043.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T20064.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T20122.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T20189.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T20241b.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T20443b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T20542.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T20768_fail.stderr28
-rw-r--r--testsuite/tests/typecheck/should_fail/T21130.stderr38
-rw-r--r--testsuite/tests/typecheck/should_fail/T21158.stderr12
-rw-r--r--testsuite/tests/typecheck/should_fail/T21327.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T21338.stderr30
-rw-r--r--testsuite/tests/typecheck/should_fail/T21583.stderr9
-rw-r--r--testsuite/tests/typecheck/should_fail/T2307.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T2354.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T2414.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T2534.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T2538.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T2688.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T2714.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T2806.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T2846b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T2994.stderr8
-rw-r--r--testsuite/tests/typecheck/should_fail/T3155.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T3176.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T3323.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T3406.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T3540.stderr10
-rw-r--r--testsuite/tests/typecheck/should_fail/T3592.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T3613.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T3950.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T4875.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T4921.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T502.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T5084.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T5095.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T5246.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T5300.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T5570.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T5684.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T5684b.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T5684c.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T5684d.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T5684e.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T5684f.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T5689.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T5691.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T5853.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T5858.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T5957.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T5978.stderr14
-rw-r--r--testsuite/tests/typecheck/should_fail/T6001.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T6018fail.stderr52
-rw-r--r--testsuite/tests/typecheck/should_fail/T6018failclosed.stderr24
-rw-r--r--testsuite/tests/typecheck/should_fail/T6018failclosed2.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T6022.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T6069.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T6078.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T6161.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7019.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7019a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7210.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7264.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7279.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7368.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7368a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7410.stderr5
-rw-r--r--testsuite/tests/typecheck/should_fail/T7437.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7453.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T7525.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7609.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T7645.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7696.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7697.stderr5
-rw-r--r--testsuite/tests/typecheck/should_fail/T7734.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T7748a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7778.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T7809.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7851.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7856.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7857.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7869.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7892.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T7989.stderr24
-rw-r--r--testsuite/tests/typecheck/should_fail/T8030.stderr12
-rw-r--r--testsuite/tests/typecheck/should_fail/T8034.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T8044.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T8142.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/T8262.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T8428.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T8450.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T8514.stderr10
-rw-r--r--testsuite/tests/typecheck/should_fail/T8603.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T8806.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T8883.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T8912.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T9033.stderr8
-rw-r--r--testsuite/tests/typecheck/should_fail/T9109.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T9196.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/T9201.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T9260.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T9305.stderr8
-rw-r--r--testsuite/tests/typecheck/should_fail/T9318.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T9323.stderr8
-rw-r--r--testsuite/tests/typecheck/should_fail/T9497d.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T9605.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T9612.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T9634.stderr5
-rw-r--r--testsuite/tests/typecheck/should_fail/T9774.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T9858a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T9858b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T9858e.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/T9999.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr14
-rw-r--r--testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/TcCoercibleFail3.stderr10
-rw-r--r--testsuite/tests/typecheck/should_fail/TcMultiWayIfFail.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/TcNullaryTCFail.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/TcStaticPointersFail01.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/TcStaticPointersFail02.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/TcStaticPointersFail03.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/TyAppPat_ExistentialEscape.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/TyAppPat_MisplacedApplication.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/TyAppPat_Nonmatching.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/TyAppPat_PatternBinding.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/TyAppPat_PatternBindingExistential.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/TyAppPat_TooMany.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/UnliftedNewtypesConstraintFamily.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/UnliftedNewtypesFail.stderr7
-rw-r--r--testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail1.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/UnliftedNewtypesFamilyKindFail2.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/UnliftedNewtypesInfinite.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/UnliftedNewtypesInstanceFail.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKind.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/UnliftedNewtypesMismatchedKindRecord.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/UnliftedNewtypesMultiFieldGadt.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/UnliftedNewtypesNotEnabled.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/UnliftedNewtypesOverlap.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/UnliftedNewtypesUnassociatedFamilyFail.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/VtaFail.stderr26
-rw-r--r--testsuite/tests/typecheck/should_fail/mc19.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/mc20.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/mc21.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/mc22.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/mc23.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/mc24.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/mc25.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tc168.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tc168b.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail001.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail002.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail003.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail004.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail005.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail006.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail007.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail008.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail009.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail010.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail011.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail012.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail013.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail014.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail015.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail016.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail017.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail018.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail019.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail020.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail023.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail028.stderr12
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail029.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail031.stderr10
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail032.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail033.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail034.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail035.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail036.stderr12
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail040.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail041.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail042.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail043.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail046.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail048.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail049.stderr3
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail050.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail051.stderr3
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail052.stderr3
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail053.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail054.stderr3
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail055.stderr8
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail056.stderr3
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail057.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail058.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail061.stderr12
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail062.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail063.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail065.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail067.stderr12
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail068.stderr8
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail069.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail070.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail072.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail073.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail075.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail076.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail077.stderr3
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail078.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail079.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail080.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail085.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail086.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail088.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail089.stderr3
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail090.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail093.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail095.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail096.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail097.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail098.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail099.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail102.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail103.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail104.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail106.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail109.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail110.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail112.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail113.stderr6
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail114.stderr8
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail116.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail117.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail118.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail119.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail121.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail122.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail123.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail125.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail127.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail128.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail130.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail131.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail132.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail133.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail134.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail135.stderr5
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail136.stderr12
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail137.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail140.stderr8
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail142.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail143.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail146.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail147.stderr12
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail148.stderr12
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail151.stderr22
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail152.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail153.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail158.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail159.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail160.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail161.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail162.stderr12
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail164.stderr26
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail165.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail166.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail167.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail168.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail169.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail171.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail173.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail174.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail175.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail177.stderr44
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail178.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail179.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail180.stderr10
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail181.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail182.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail183.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail184.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail185.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail186.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail189.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail190.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail191.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail193.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail195.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail196.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail197.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail198.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail199.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail200.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail201.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail202.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail203.stderr16
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail203a.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail204.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail206.stderr12
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail207.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail208.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail209.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail209a.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail210.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail211.stderr4
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail212.stderr8
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail215.stderr5
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail218.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail223.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail224.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail225.stderr2
-rw-r--r--testsuite/tests/typecheck/should_fail/too-many.stderr4
510 files changed, 970 insertions, 962 deletions
diff --git a/testsuite/tests/typecheck/should_fail/AmbigFDs.stderr b/testsuite/tests/typecheck/should_fail/AmbigFDs.stderr
index c95578268e..9ab5b25eac 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 b865437c86..546803fcde 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 71fc77d4ed..2e19d713bc 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 c4498ed583..30595d68aa 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 d63d369570..1d2494243e 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 c6dfdeb0da..4bcf093a88 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 977c490b64..539359f7a9 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 71e175ef41..a849b6fb6c 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 3d551ac8f3..3c3d7b3252 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 b1ceb26b5e..bf0aa38507 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 9bec37b907..1b656b3cd6 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 3164c860db..52079f265e 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 f592741d6f..84f9f96dce 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 5aae6fea45..5898069566 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 5179c4ddc1..e496f3064e 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 d11f72a758..661103d4ce 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 dd5b456230..e2721b7421 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 0929129d5e..8ebcd25fc9 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 8c43169157..f36b5e104e 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 751fbefa73..933b5f2158 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 2d98e47867..f68ac8ced1 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 09c8e93a80..005fdde40d 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 b0beafb416..e854310835 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 a5462aa94e..6085948ac7 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 d7ac728b6c..38add26f44 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 00e55ea20a..fed3fb5797 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 57d5ceb9e8..30939861fc 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 6345e2ab1c..12714ace9e 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 353bfac507..0ba059d50e 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 1cf64abc22..ae71b40a91 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 9cf37c7c5f..5ea0f1ff28 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 d5c20ed70f..4ff98786d5 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 3a2620d43a..078b5c1b3e 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 fe752862c1..62e7389f4f 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 897db53661..96ac6dd44a 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 01dba4924a..e9fb95e47f 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 11960c2b6e..3a791561e6 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 082d71176a..f76d888d7b 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 60374ffe16..89c3b9c780 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 647254a882..a339dd6139 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 88b37d3432..d749801f33 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 5067d25183..450006b801 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 8dea57419d..02e9aa511d 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 0274ce91c7..19646e56a5 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 543cc05a38..b27ed794a1 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 53483efbad..acd824e249 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 6eb2f698bd..d7d5182970 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 bcbfde7694..0fe436ff3f 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 b527f8d07c..a46117f9f7 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 93dce724d0..70ac810749 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 db6e1822cb..08afdc44ea 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 4bc2004ad5..161efdec52 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 ba71dd4e88..28b182b0fe 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 5f1e7ad61e..8c650e4ed3 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 6262a9057c..f9a5964b53 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 e0224022a2..0f1b4a746d 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 11dda61a9f..61bb2dca70 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 dd940a36b1..ed05b81e3e 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 4302fb05dc..34da72ab07 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 5ed6d3c799..59e3c06416 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 a0f8d7e36c..aa5b15fd5b 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 4f2cf8e717..3a10a9f251 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 46a955f138..20d6a541ba 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 b618a586b1..5380d9ed4f 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 db91ac98ea..eb40f2de12 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 f875e677da..d0746d55da 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 9a92d439d8..834d22f158 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 fcb65b133d..237c26ac55 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 86a51a49ac..1764bc8660 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 f5763509ab..54457a7d09 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 e9733c9945..5359fbec87 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 49bce53985..57ba1395b6 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 8360c68b9f..21fea0bdeb 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 a8f349df43..85fa3554e9 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 e3262d3e31..3c0b659389 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 46fb5a6614..da9a0b15ab 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 f53f5ea7e2..71654355bd 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 5219a5f290..6e3e337f62 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 eab71af1fc..2b6c4e4b3e 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 6819cd8dd2..fcbf022227 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 4b64ef1cc7..abfb75ce64 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 a2587e2778..e13b7e5baf 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 6f12341c06..9b935cf8d4 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 9fdcd6f940..7bb0aedc12 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 f251d17ea8..ee1158ce9e 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 b2bca63280..98e08935e5 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 0de9794533..37dc0e93b3 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 bb53f774b5..b812096660 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 8b1e638d27..3808817421 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 a5d9193db1..299c6f9545 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 dd63bf47ca..8de98d14b1 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 d78e402f76..b53d15051f 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 89abb9afe3..372a5982d9 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 9d0d3fe7ee..d56f7ce2bb 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 e858a6037e..5ca2cbc87f 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 4442069d15..92a755c11c 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 a0308f8be2..819ea10711 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 c6f6c26597..6d0e7839f5 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 50ea1b21c5..7a7434b6bd 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 4b540f297c..31c294d654 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 cfff3dc863..1a060eac76 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 28afc7d55e..7c4a944b17 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 c29aba248e..09dac46a9d 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 917345f710..4e08f50438 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 864b5ab7ae..ba0aafe464 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 c7630039aa..37ec4b401b 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 d370d9ed05..02067ba714 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 aba88bc9f2..c3253aa771 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 8b51e37641..69cdc26ff1 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 9767d3a45c..595da5e4ad 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 d265193b69..8b4e8295b3 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 e1bb372958..d74333b444 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 19e4d59112..c7017b8b56 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 a497be7b19..0612940928 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 6cf71b5e08..787a602209 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 82646d8d8c..f593a6b7aa 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 04d8b5a67d..3eca58c656 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 b7d60593e1..7485a6b989 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 6cf768bbce..0996d4eb74 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 af557c4725..8cd05c2281 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 d949df2ec6..30e1ffbbfc 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 95aee86ee4..cd0e6e7bae 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 83a9ec15fa..b9f7b75b42 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 811f3a6602..64d322f927 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 43e6b473eb..19ec29e90f 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 d668994f3f..961466bec0 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 5002b4771d..da9ed96601 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 f8985982a4..b09a6112d3 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 acfcaf8d1c..a8df34b3f6 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 8031f5f0da..ac4f790214 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 7c9dc3329a..8c915c0aa3 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 d160947e3b..462bed1c9c 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 04c2a5fc50..c3b159c95d 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 af44e0a8ed..4e70fcce12 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 2209d72ab8..9c7cdabeef 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 90bf2122d6..e3c2505afd 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 aeb0f73b9b..76bdaee542 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 c66d510932..b0c28a2eed 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 0e03d99a37..a4a3df67ee 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 4f4b056386..71d5914408 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 eea1ccac2d..c6bd38b340 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 947e45270f..5c99818790 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 2f17fb8ffb..db4205d5e3 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 c69bdf6cfc..a6f4034277 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 2768220653..3d7b3f67dc 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 3beef81412..626f583186 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 4c78c037f4..af4c881a9c 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 8128fb6996..e98712f8db 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 10b263efcb..b612cbefed 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 731a873423..df0e1675b7 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 ba23f0e466..e4867cba96 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 5d9dcc44f5..83600c40b0 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 57a31ffd4b..88f2db430f 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 b7beedb511..6dbee3a635 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 5e69b9352a..b0c66e496b 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 a4d979948f..e89900b083 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 f519938636..2335aa66fd 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 252e8ad793..ea9aee6581 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 b10488f170..6014caea07 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 9455dac27a..10386c67e9 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 7a8178136c..2e6b506406 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 51eaf52fd7..e76ed6e818 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 f53d6ccfd6..f98154f9d0 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 9d4c5057ca..9aad973311 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 8a07f2f534..325dce8dfc 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 3f27d19c70..d20a2226be 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 d89b166fdc..f8ab95f5f8 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 b5bd059bac..859b713f80 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 abfa600452..ec2078d7ba 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 5212ef8787..36bc73aa60 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 08c077fb7c..7f6462b839 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 50e788d723..d1a95eceef 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 16d82cf26a..ace4636302 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 22b3d5577e..66dd78d449 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 2dc0448ab8..56d89f1c76 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 60dcb3e121..67fbf0e5fc 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 f60e09922a..1b32a63b8b 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 a7b8e256c1..e9824e5b50 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 1e95326887..5e411b0c74 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 edc9a83c25..bffd569321 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 2a84295a73..2aff30e516 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 447882717f..d1fc774db0 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 e038e603e1..692eb6b1d5 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 613435041c..54f3836e31 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 3b8dd1d801..4fc6325524 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 4e44759e53..58c15d1b77 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 12e8d6f0a3..c0e8cdded1 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 0fc705f46b..d49c7dcc9d 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 416fcd93f0..1c5413e4b2 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 451a4444e1..d0dd4d8736 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 fc94a4166f..7a7956a27e 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 81ddb2ddd0..7740d9ebe0 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 d9cb0632e9..c797893233 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 ffd5ad2bf7..085380ccbb 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 899137c427..075d10bd97 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 7f75999605..a6ce93a7c4 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 3bce358d49..fec298099e 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 d773791a2d..6a5b6a1443 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 68796e058a..4328b1adda 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 cafb93bd04..ffa4f544d7 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 1f743bb075..ab0d333844 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 d810d1433f..8884ca6fa8 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 df67fa4066..077f57d6d5 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 7b742e7905..76106b2fb6 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 050b945db0..48f0664d91 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 14fb60848c..85565d273b 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 86bb3b5216..7546223830 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 d1d018bc9f..2f7d8bbf10 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 88394ad2e9..fe5002d6c4 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 3756d2e3ae..98ea237018 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 754763ed23..4fed65d7af 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 a250419f09..13ad0f96f3 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 80171d3b00..733320eb12 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 e21eca081e..f374c7dcde 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 1d89247489..cf451c446f 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 24cee873c8..2c3656c6a1 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 bbc2c7ee94..0eb8a95d33 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 748ec505f3..8cdd9e8eb4 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 215ad495cf..fdb328eb1c 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 02a4d81c15..ee1ff09df0 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 95b30407f2..1a59b51b53 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 a3ae3bc4d2..bfc4bf916e 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 ed7c4160e2..7c2ad8ce6f 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 d2867df4a1..d8b102dc68 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 9d55fcd7fd..cb2d52f21d 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 70791b2cdc..e037dd4b0f 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 0fdb88b313..4ab1495419 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 458922cb91..09a3d76940 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 cff3344597..6c0f3aafd1 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 16fde0e488..6c3740b342 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 48808e319c..ae9d3e9771 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 392928b7eb..d532557c16 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 dd6b97d132..5960bad751 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 c2bd522a0b..fadae37be5 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 083551cc5f..1c8d03a69f 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 ea4185af33..60964682f2 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 a64f5fd090..63aed82773 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 0c12be680e..06d53d4fed 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 256040f26b..1fc3bbdc06 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 9808afe97c..a527b677a3 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 af57d1b7c1..cbe769dc0d 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 ea5cd031ef..07c161e76e 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 d81fcc8881..3f0bb95908 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 a5f2c886d3..0a036fc309 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 3c25fee2db..a34a199929 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 45c54720cf..723b504b48 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 564f58ad62..1e71808b4e 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 5679c6a995..cf00175de8 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 95c9a7a578..c9da7f9297 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 bc339695ea..90730779d5 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 a7a8274923..17b53dffd3 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 78a92e7d1b..4171226794 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 bd953629b9..b7f9b3fd63 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 52d57c01e6..66b5765fbc 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 08ee73df2e..70e4b708de 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 0456a84280..8b93135d98 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 65f5df765e..cf5beb6276 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 5b33bd9e94..71c7455abd 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 ce7613109c..7234e39985 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 15eeb6735b..2f503ed044 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 d0ca04a84e..d37e8e7268 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 0f18dd41af..89854dd9d8 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 7077183081..dd31bb1492 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 ef100b1fa4..26f1c251e2 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 2fcb92f209..28054f1f92 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 0ca86ed872..ae45c885b7 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 05deecb7a0..d5577873f6 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 53cbe52420..9f58a8d786 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 eca5c1d2cc..5b2e5e4062 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 32bc980fe9..f927b3c0b0 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 24330b2aeb..bdd24e5c4e 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 cc8885c372..92f6be0211 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 b4ac7a9642..4b263e556d 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 1dfe6b641c..251e233406 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 c187edd01d..ba0e6769a6 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 a0f10fcd92..d2069c4af9 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 6ebb781a61..8cb3506dc0 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 289df8ad40..a59d7645aa 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 a5a3a4bff1..28714b8f0c 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 fa5f4f0c1b..699017d79b 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 c599b276d9..f6aa8d0bfc 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 fa332c745e..308bc0a969 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 8b02d0df31..7413b06648 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 623eabbdbc..e3a3b6a40b 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 05f2ca42a3..04ba80c9ad 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 2069f5f281..ae0d336088 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 2c970aca2e..e36cbadcef 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 fb0d17aef5..c9baa5315a 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 2668bb45fd..b3c705091f 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 8ba84a76f1..3c394b1161 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 e3ea4cb385..382d82a119 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 e4febcfb4c..d369b2d0db 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 a0cc76ec46..f015603b0b 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 d9df998297..b2c544342a 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 7d6f37dca2..f1912e4f25 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 c2fd563124..c386fe6ec8 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 f8224176bd..dfb8ad2950 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 6ebdd362c6..dab40b1c74 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 f0901b4d56..660c32bef5 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 2a6c0ac16c..5ee5ebfe45 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 e7c761ef46..66d3a7e441 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 0a87c4a1e2..29ddbf5046 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 f98ce7bafe..45b1512563 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 42da4bf430..26db2363ad 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 6132c9538e..359ebc74fd 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 26cea79487..18a6bd8712 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 8bb1007988..99e6d4344e 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 2381e3ce75..5bb993190e 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 b179fcf595..96a688e28a 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 8bb597a547..2c3efc73c6 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 0ea9d4736a..8b77c1ac73 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 d45960a589..490d7c4031 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 4370b606ca..671784b45e 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 c96bff88ff..43240e675b 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 823b4c375d..487e486ec7 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 487cfee88f..69229f8e25 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 1dd7ba2f74..3907e3e6f1 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 9b85edb110..cadcb96066 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 f8681ed8ba..ea0cc08f44 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 e3dc731da9..169b2d2a02 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 2efb51a5c1..a271bc6b42 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 61ab78e86c..6275bc9295 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 72a6e27eb8..752cf51f6a 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 d511b93d78..148c2db36e 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 f400dd63ae..a77ad07422 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 2b5e60d49b..d69fe96287 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 2eff7f0ab7..4e2c7ff81c 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 58b7d65d31..1fc90b22c8 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 fe78140a80..19f1bad556 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 d609c850b7..e97ea2aa55 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 9725a779e7..e1b4b5e461 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 0a49414c33..2ca074ff01 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 b54423576c..263e4f2920 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 f30d8b8fe8..ab2ebc1a19 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 3ecec3fdf0..c3ae6e01a6 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 59c5c523a2..a4bd2f9980 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 3da742a1bf..d09c634d17 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 86f65024af..546b8537a0 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 1b496b8380..4d01d8b8bb 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 5d19a388af..cc710c3b74 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 6627618041..07d8984d5e 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 abad9f6a20..f6f8c89432 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 50dbf5425b..334f9588a5 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 b9029f1635..3e65049861 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 e40a0c6e72..e25c4cadf9 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 fe1b08f152..59a9ff451f 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 457001c919..07009ae3f2 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 a82f0282d4..25a0dbf825 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 3403057fa9..eecffc35c4 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 4e14032d62..c40ede33ea 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 acac9e84d0..19c8d2cf18 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 c64876c6ab..32cf7cb8d3 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 5bfaf6a7a1..3f42ba9060 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 f9cde685e7..97f7de2daf 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 7ca43451bc..1315646b77 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 a19c6bb151..fc498371c9 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 7e4d29ae48..dcc6a1a63b 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 d49818d46d..0594b99ab7 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 5b9379e074..3e3f291faf 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 d2f07f4420..6bee873cf4 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 ee3c128012..091ac95342 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 d33c12c69c..02537465e5 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 b1ef0773d5..535d5057f0 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 9f38cd6461..155b8bd049 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 ac1487330d..a6653c9ac4 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 0bfa00a5ea..739ed68686 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 5cedc7071b..858723185f 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 6c476de65a..a197c443ff 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 714951df14..28bccf7f42 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 518925575d..1e809eb323 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 cd7488d155..e18c2a9299 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 2a22e1b29e..8698e5e21c 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 bb7eafc6fb..0b7873241b 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 2b2089d8ec..3cb9fc6fda 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 eea48c9dba..a5927ce17b 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 1a3bd5d5c1..c036c5bc0a 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 e94ba6a2a4..217f4af26f 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 b920c9dc96..9fc5e821f7 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 75cd754d8f..0262386d91 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 d6a9fec2c5..dc521ae91a 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 e30b7c6aaa..d01ba0a577 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 18de100ac6..a21ed18f1c 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 49c8cf0360..a98076ae26 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 864b3cc1d7..8084ff9699 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 8ddfb10cfc..13b139af42 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 958d0530ac..b36aa679c9 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 671565b506..2b562db996 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 75308e5fca..e5a2aeddba 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 79662bf1fe..e7c95264da 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 f70bad6a02..ccdbc2a8e1 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 16f44eacb8..55e0ad7088 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 4229e2fc38..afe8f8aa50 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 a0ad07ea1f..ef07465be3 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 abd72aa2bc..18c32bf13e 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 197bdb30f0..8d568e2722 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 a3347122e7..bc2980007a 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 81746cd200..cd2200c63a 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 cd8d049fb0..fffdfaf6f7 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 7266e76823..1603f77b83 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 592265adb8..76a7509d63 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 3f7bc90d8a..065c62ad5c 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 3310aeb4e9..d4bea86529 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 da7f1e4e6d..c1b36669c1 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 2c251a7a84..758650f8d7 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 c45eed328e..7d73cfe355 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 39ee49db3f..011efd5696 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 014d589bf6..b7b85e248c 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 8f28c7d41c..a5c82e99f9 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 8746ba0bb9..cc6c7ca577 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 f82cce8a6f..3bacea0bb2 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 db83adda8c..0a21375566 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 8d3e841bdf..d38b886954 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 19dd837c13..3c068b741f 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 efb73e2d45..18f389b75f 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 5776a720b1..94c98be731 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 55f5b2954d..d0cbab168c 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 b86afb30e7..4506b3def6 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 48cdfa37cd..bad134d6bd 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 f4718e371b..7a6194e859 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 a04920fb39..a989467aa9 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 2afbb655b0..53a8b5dfec 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 0a7a386f9e..1c133a9d49 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 3645423c0a..3929f63aa4 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 85dc5aca81..f1472f9c34 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 0178f88f8e..74dc0cc9f4 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 cb76cb1fcf..258c9c9371 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 a3e81d0adb..f299042c22 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 fbdffa5ab9..12450bc4b2 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 0ba84aad71..7516ebb712 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 cbcba0548d..982866516e 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 153acb2bf1..ce2e4c250e 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 705a68d87a..6052d6d966 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 d23ab1f537..33c2d9a61e 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 179729586f..5618d84471 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 9aed03214b..58bb3d2389 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 7089810e7c..19c611b55a 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 3299ba0a58..897ef88af1 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 cf027ad131..4312175ce2 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 42bd22b6c9..02f5e92228 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 51f77d14c6..e57ccd0717 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 25f3f427ed..7224011ac6 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 a026a3a9f9..76ac118bab 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 8917e46ee9..5b2a8944e5 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 46ddc334bc..9fc8842d52 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 50186b6178..1f2285e323 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 3d6a520c91..8d2573a702 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 28a0d5834b..673f50dfa0 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 cbac61f7d0..32c8c61cf9 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 83469d87d0..85cb68284f 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 841504d3f9..416a2c0dd4 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 ae126f5f1e..ac65c39bb2 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 0c4db9a88e..ba0f97d8b1 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 7fc107a616..52c379a020 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 6867f351fd..7ffb421471 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 e50ccbb2a1..29ce6da747 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 0d38db4385..7b80d06665 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 526db0a6ea..345597c14e 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 5a49966637..62f807547f 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 96f2b4701c..99788156fb 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 b07d6031a6..069f990a67 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 228f18d5b8..b4c35c87e9 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 9532466c66..f961a145d8 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 ecbec54fb5..73c7d70d57 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 5866cacd77..d00f3d259c 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 6346257e09..e4a5ab732f 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 59972c2aa4..601c8e6e5d 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 f5863778fa..e9fe445f33 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 78f324338c..2f18723564 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 bd3a062062..2b91891986 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 8ac8d3f9d5..ab71e53946 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 38597e1487..1ceec972d4 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 206f9ced6c..070f5438fd 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 d9f1b455c0..d1a46647e8 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 963ab0ba78..7121fb89a1 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 da7725fdb0..fda39706c8 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 5737c1f04e..8579f513e0 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 12dbb6efa8..db8063b3aa 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 fc6fcfdcac..f2ea02e5c3 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 323c5d7d74..bd38317e2c 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 f8c3c6cd99..ed94d488ca 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 5d931076f7..e7067996e7 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 108a7ad973..59d32b3734 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 eb92264fec..5b713e0c45 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 fd874653b0..e27fb9c736 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 cf4813c9f2..23f79e8edd 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 93a4b8f92f..acd119c155 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 aaf5a3270e..4f751a47a8 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 ed419c5afd..180599526a 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 66c8438dc4..3632450fa8 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 5ef1ebab33..39788979a4 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 fdd0e3c073..fb92433276 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 088c2be671..a09795f1de 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 4d50063d6a..85ece3bf81 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 d9f7087229..311ef34df1 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 153a9259ba..5d6a9c86fc 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 8fb0f1efc5..37952c971a 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 cfb5161100..400cb2435f 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 eb6fb1db15..65f2288d88 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 544d62f8bd..0e120be976 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 864e8604e6..1cd9bef126 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 490814db7f..79376e1629 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 819a9524fb..b815489101 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 fb1192b0ca..18b451971e 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 011a3772ef..3448558872 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 d05abd52d1..1965951bbc 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 2435fe3070..5e6561413a 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 065f6818e5..d3173adde7 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 684eb43d70..f95008a79d 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 8bfca4cb48..9ff753e44b 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 01e50050ff..958e0933e1 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)’