Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • ghc/ghc
  • bgamari/ghc
  • syd/ghc
  • ggreif/ghc
  • watashi/ghc
  • RolandSenn/ghc
  • mpickering/ghc
  • DavidEichmann/ghc
  • carter/ghc
  • harpocrates/ghc
  • ethercrow/ghc
  • mijicd/ghc
  • adamse/ghc
  • alexbiehl/ghc
  • gridaphobe/ghc
  • trofi/ghc
  • supersven/ghc
  • ppk/ghc
  • ulysses4ever/ghc
  • AndreasK/ghc
  • ghuntley/ghc
  • shayne-fletcher-da/ghc
  • fgaz/ghc
  • yav/ghc
  • osa1/ghc
  • mbbx6spp/ghc
  • JulianLeviston/ghc
  • reactormonk/ghc
  • rae/ghc
  • takenobu-hs/ghc
  • michalt/ghc
  • andrewthad/ghc
  • hsyl20/ghc
  • scottgw/ghc
  • sjakobi/ghc
  • angerman/ghc
  • RyanGlScott/ghc
  • hvr/ghc
  • howtonotwin/ghc
  • chessai/ghc
  • m-renaud/ghc
  • brprice/ghc
  • stevehartdata/ghc
  • sighingnow/ghc
  • kgardas/ghc
  • ckoparkar/ghc
  • alp/ghc
  • smaeul/ghc
  • kakkun61/ghc
  • sykloid/ghc
  • newhoggy/ghc
  • toonn/ghc
  • nineonine/ghc
  • Phyx/ghc
  • ezyang/ghc
  • tweag/ghc
  • langston/ghc
  • ndmitchell/ghc
  • rockbmb/ghc
  • artempyanykh/ghc
  • mniip/ghc
  • mynguyenbmc/ghc
  • alexfmpe/ghc
  • crockeea/ghc
  • nh2/ghc
  • vaibhavsagar/ghc
  • phadej/ghc
  • Haskell-mouse/ghc
  • lolotp/ghc
  • spacekitteh/ghc
  • michaelpj/ghc
  • mgsloan/ghc
  • HPCohen/ghc
  • tmobile/ghc
  • radrow/ghc
  • simonmar/ghc
  • _deepfire/ghc
  • Ericson2314/ghc
  • leitao/ghc
  • fumieval/ghc
  • trac-isovector/ghc
  • cblp/ghc
  • xich/ghc
  • ciil/ghc
  • erthalion/ghc
  • xldenis/ghc
  • autotaker/ghc
  • haskell-wasm/ghc
  • kcsongor/ghc
  • agander/ghc
  • Baranowski/ghc
  • trac-dredozubov/ghc
  • 23Skidoo/ghc
  • iustin/ghc
  • ningning/ghc
  • josefs/ghc
  • kabuhr/ghc
  • gallais/ghc
  • dten/ghc
  • expipiplus1/ghc
  • Pluralia/ghc
  • rohanjr/ghc
  • intricate/ghc
  • kirelagin/ghc
  • Javran/ghc
  • DanielG/ghc
  • trac-mizunashi_mana/ghc
  • pparkkin/ghc
  • bollu/ghc
  • ntc2/ghc
  • jaspervdj/ghc
  • JoshMeredith/ghc
  • wz1000/ghc
  • zkourouma/ghc
  • code5hot/ghc
  • jdprice/ghc
  • tdammers/ghc
  • J-mie6/ghc
  • trac-lantti/ghc
  • ch1bo/ghc
  • cgohla/ghc
  • lucamolteni/ghc
  • acairncross/ghc
  • amerocu/ghc
  • chreekat/ghc
  • txsmith/ghc
  • trupill/ghc
  • typetetris/ghc
  • sergv/ghc
  • fryguybob/ghc
  • erikd/ghc
  • trac-roland/ghc
  • setupminimal/ghc
  • Friede80/ghc
  • SkyWriter/ghc
  • xplorld/ghc
  • abrar/ghc
  • obsidiansystems/ghc
  • Icelandjack/ghc
  • adinapoli/ghc
  • trac-matthewbauer/ghc
  • heatsink/ghc
  • dwijnand/ghc
  • Cmdv/ghc
  • alinab/ghc
  • pepeiborra/ghc
  • fommil/ghc
  • luochen1990/ghc
  • rlupton20/ghc
  • applePrincess/ghc
  • lehins/ghc
  • ronmrdechai/ghc
  • leeadam/ghc
  • harendra/ghc
  • mightymosquito1991/ghc
  • trac-gershomb/ghc
  • lucajulian/ghc
  • Rizary/ghc
  • VictorCMiraldo/ghc
  • jamesbrock/ghc
  • andrewdmeier/ghc
  • luke/ghc
  • pranaysashank/ghc
  • cocreature/ghc
  • hithroc/ghc
  • obreitwi/ghc
  • slrtbtfs/ghc
  • kaol/ghc
  • yairchu/ghc
  • Mathemagician98/ghc
  • trac-taylorfausak/ghc
  • leungbk/ghc
  • MichaWiedenmann/ghc
  • chris-martin/ghc
  • TDecki/ghc
  • adithyaov/ghc
  • trac-gelisam/ghc
  • Lysxia/ghc
  • complyue/ghc
  • bwignall/ghc
  • sternmull/ghc
  • sonika/ghc
  • leif/ghc
  • broadwaylamb/ghc
  • myszon/ghc
  • danbroooks/ghc
  • Mechachleopteryx/ghc
  • zardyh/ghc
  • trac-vdukhovni/ghc
  • OmarKhaledAbdo/ghc
  • arrowd/ghc
  • Bodigrim/ghc
  • matheus23/ghc
  • cardenaso11/ghc
  • trac-Athas/ghc
  • mb720/ghc
  • DylanZA/ghc
  • liff/ghc
  • typedrat/ghc
  • trac-claude/ghc
  • jbm/ghc
  • Gertjan423/ghc
  • PHO/ghc
  • JKTKops/ghc
  • kockahonza/ghc
  • msakai/ghc
  • Sir4ur0n/ghc
  • barambani/ghc
  • vishnu.c/ghc
  • dcoutts/ghc
  • trac-runeks/ghc
  • trac-MaxGabriel/ghc
  • lexi.lambda/ghc
  • strake/ghc
  • spavikevik/ghc
  • JakobBruenker/ghc
  • rmanne/ghc
  • gdziadkiewicz/ghc
  • ani/ghc
  • iliastsi/ghc
  • smunix/ghc
  • judah/ghc
  • blackgnezdo/ghc
  • emilypi/ghc
  • trac-bpfoley/ghc
  • muesli4/ghc
  • trac-gkaracha/ghc
  • Kleidukos/ghc
  • nek0/ghc
  • TristanCacqueray/ghc
  • dwulive/ghc
  • mbakke/ghc
  • arybczak/ghc
  • Yang123321/ghc
  • maksbotan/ghc
  • QuietMisdreavus/ghc
  • trac-olshanskydr/ghc
  • emekoi/ghc
  • samuela/ghc
  • josephcsible/ghc
  • dramforever/ghc
  • lpsmith/ghc
  • DenisFrezzato/ghc
  • michivi/ghc
  • jneira/ghc
  • jeffhappily/ghc
  • Ivan-Yudin/ghc
  • nakaji-dayo/ghc
  • gdevanla/ghc
  • galen/ghc
  • fendor/ghc
  • yaitskov/ghc
  • rcythr/ghc
  • awpr/ghc
  • jeremyschlatter/ghc
  • Aver1y/ghc
  • mitchellvitez/ghc
  • merijn/ghc
  • tomjaguarpaw1/ghc
  • trac-NoidedSuper/ghc
  • erewok/ghc
  • trac-junji.hashimoto/ghc
  • adamwespiser/ghc
  • bjaress/ghc
  • jhrcek/ghc
  • leonschoorl/ghc
  • lukasz-golebiewski/ghc
  • sheaf/ghc
  • last-g/ghc
  • carassius1014/ghc
  • eschwartz/ghc
  • dwincort/ghc
  • felixwiemuth/ghc
  • TimWSpence/ghc
  • marcusmonteirodesouza/ghc
  • WJWH/ghc
  • vtols/ghc
  • theobat/ghc
  • BinderDavid/ghc
  • ckoparkar0/ghc
  • alexander-kjeldaas/ghc
  • dme2/ghc
  • philderbeast/ghc
  • aaronallen8455/ghc
  • rayshih/ghc
  • benkard/ghc
  • mpardalos/ghc
  • saidelman/ghc
  • leiftw/ghc
  • ca333/ghc
  • bwroga/ghc
  • nmichael44/ghc
  • trac-crobbins/ghc
  • felixonmars/ghc
  • adityagupta1089/ghc
  • hgsipiere/ghc
  • treeowl/ghc
  • alexpeits/ghc
  • CraigFe/ghc
  • dnlkrgr/ghc
  • kerckhove_ts/ghc
  • cptwunderlich/ghc
  • eiais/ghc
  • hahohihu/ghc
  • sanchayan/ghc
  • lemmih/ghc
  • sehqlr/ghc
  • trac-dbeacham/ghc
  • luite/ghc
  • trac-f-a/ghc
  • vados/ghc
  • luntain/ghc
  • fatho/ghc
  • alexbiehl-gc/ghc
  • dcbdan/ghc
  • tvh/ghc
  • liam-ly/ghc
  • timbobbarnes/ghc
  • GovanifY/ghc
  • shanth2600/ghc
  • gliboc/ghc
  • duog/ghc
  • moxonsghost/ghc
  • zander/ghc
  • masaeedu/ghc
  • georgefst/ghc
  • guibou/ghc
  • nicuveo/ghc
  • mdebruijne/ghc
  • stjordanis/ghc
  • emiflake/ghc
  • wygulmage/ghc
  • frasertweedale/ghc
  • coot/ghc
  • aratamizuki/ghc
  • tsandstr/ghc
  • mrBliss/ghc
  • Anton-Latukha/ghc
  • tadfisher/ghc
  • vapourismo/ghc
  • Sorokin-Anton/ghc
  • basile-henry/ghc
  • trac-mightybyte/ghc
  • AbsoluteNikola/ghc
  • cobrien99/ghc
  • songzh/ghc
  • blamario/ghc
  • aj4ayushjain/ghc
  • trac-utdemir/ghc
  • tangcl/ghc
  • hdgarrood/ghc
  • maerwald/ghc
  • arjun/ghc
  • ratherforky/ghc
  • haskieLambda/ghc
  • EmilGedda/ghc
  • Bogicevic/ghc
  • eddiejessup/ghc
  • kozross/ghc
  • AlistairB/ghc
  • 3Rafal/ghc
  • christiaanb/ghc
  • trac-bit/ghc
  • matsumonkie/ghc
  • trac-parsonsmatt/ghc
  • chisui/ghc
  • jaro/ghc
  • trac-kmiyazato/ghc
  • davidsd/ghc
  • Tritlo/ghc
  • I-B-3/ghc
  • lykahb/ghc
  • AriFordsham/ghc
  • turion1/ghc
  • berberman/ghc
  • christiantakle/ghc
  • zyklotomic/ghc
  • trac-ocramz/ghc
  • CSEdd/ghc
  • doyougnu/ghc
  • mmhat/ghc
  • why-not-try-calmer/ghc
  • plutotulp/ghc
  • kjekac/ghc
  • Manvi07/ghc
  • teo/ghc
  • cactus/ghc
  • CarrieMY/ghc
  • abel/ghc
  • yihming/ghc
  • tsakki/ghc
  • jessicah/ghc
  • oliverbunting/ghc
  • meld/ghc
  • friedbrice/ghc
  • Joald/ghc
  • abarbu/ghc
  • DigitalBrains1/ghc
  • sterni/ghc
  • alexDarcy/ghc
  • hexchain/ghc
  • minimario/ghc
  • zliu41/ghc
  • tommd/ghc
  • jazcarate/ghc
  • peterbecich/ghc
  • alirezaghey/ghc
  • solomon/ghc
  • mikael.urankar/ghc
  • davjam/ghc
  • int-index/ghc
  • MorrowM/ghc
  • nrnrnr/ghc
  • Sonfamm/ghc-test-only
  • afzt1/ghc
  • nguyenhaibinh-tpc/ghc
  • trac-lierdakil/ghc
  • MichaWiedenmann1/ghc
  • jmorag/ghc
  • Ziharrk/ghc
  • trac-MitchellSalad/ghc
  • juampe/ghc
  • jwaldmann/ghc
  • snowleopard/ghc
  • juhp/ghc
  • normalcoder/ghc
  • ksqsf/ghc
  • trac-jberryman/ghc
  • roberth/ghc
  • 1ntEgr8/ghc
  • epworth/ghc
  • MrAdityaAlok/ghc
  • JunmingZhao42/ghc
  • jappeace/ghc
  • trac-Gabriel439/ghc
  • alt-romes/ghc
  • HugoPeters1024/ghc
  • 10ne1/ghc-fork
  • agentultra/ghc
  • Garfield1002/ghc
  • ChickenProp/ghc
  • clyring/ghc
  • MaxHearnden/ghc
  • jumper149/ghc
  • vem/ghc
  • ketzacoatl/ghc
  • Rosuavio/ghc
  • jackohughes/ghc
  • p4l1ly/ghc
  • konsumlamm/ghc
  • shlevy/ghc
  • torsten.schmits/ghc
  • andremarianiello/ghc
  • amesgen/ghc
  • googleson78/ghc
  • InfiniteVerma/ghc
  • uhbif19/ghc
  • yiyunliu/ghc
  • raehik/ghc
  • mrkun/ghc
  • telser/ghc
  • 1Jajen1/ghc
  • slotThe/ghc
  • WinstonHartnett/ghc
  • mpilgrem/ghc
  • dreamsmasher/ghc
  • schuelermine/ghc
  • trac-Viwor/ghc
  • undergroundquizscene/ghc
  • evertedsphere/ghc
  • coltenwebb/ghc
  • oberblastmeister/ghc
  • agrue/ghc
  • lf-/ghc
  • zacwood9/ghc
  • steshaw/ghc
  • high-cloud/ghc
  • SkamDart/ghc
  • PiDelport/ghc
  • maoif/ghc
  • RossPaterson/ghc
  • CharlesTaylor7/ghc
  • ribosomerocker/ghc
  • trac-ramirez7/ghc
  • daig/ghc
  • NicolasT/ghc
  • FinleyMcIlwaine/ghc
  • lawtonnichols/ghc
  • jmtd/ghc
  • ozkutuk/ghc
  • wildsebastian/ghc
  • nikshalark/ghc
  • lrzlin/ghc
  • tobias/ghc
  • fw/ghc
  • hawkinsw/ghc
  • type-dance/ghc
  • rui314/ghc
  • ocharles/ghc
  • wavewave/ghc
  • TheKK/ghc
  • nomeata/ghc
  • trac-csabahruska/ghc
  • jonathanjameswatson/ghc
  • L-as/ghc
  • Axman6/ghc
  • barracuda156/ghc
  • trac-jship/ghc
  • jake-87/ghc
  • meooow/ghc
  • rebeccat/ghc
  • hamana55/ghc
  • Enigmage/ghc
  • kokobd/ghc
  • agevelt/ghc
  • gshen42/ghc
  • chrismwendt/ghc
  • MangoIV/ghc
  • teto/ghc
  • Sookr1/ghc
  • trac-thomasjm/ghc
  • barci2/ghc-dev
  • trac-m4dc4p/ghc
  • dixonary/ghc
  • breakerzirconia/ghc
  • alexsio27444/ghc
  • glocq/ghc
  • sourabhxyz/ghc
  • ryantrinkle/ghc
  • Jade/ghc
  • scedfaliako/ghc
  • martijnbastiaan/ghc
  • trac-george.colpitts/ghc
  • ammarbinfaisal/ghc
  • mimi.vx/ghc
  • lortabac/ghc
  • trac-zyla/ghc
  • benbellick/ghc
  • aadaa-fgtaa/ghc
  • jvanbruegge/ghc
  • archbung/ghc
  • gilmi/ghc
  • mfonism/ghc
  • alex-mckenna/ghc
  • Ei30metry/ghc
  • DiegoDiverio/ghc
  • jorgecunhamendes/ghc
  • liesnikov/ghc
  • akrmn/ghc
  • trac-simplifierticks/ghc
  • jacco/ghc
  • rhendric/ghc
  • damhiya/ghc
  • ryndubei/ghc
  • DaveBarton/ghc
  • trac-Profpatsch/ghc
  • GZGavinZhao/ghc
  • ncfavier/ghc
  • jameshaydon/ghc
  • ajccosta/ghc
  • dschrempf/ghc
  • cydparser/ghc
  • LinuxUserGD/ghc
  • elodielander/ghc
  • facundominguez/ghc
  • psilospore/ghc
  • lachrimae/ghc
  • dylan-thinnes/ghc-type-errors-plugin
  • hamishmack/ghc
  • Leary/ghc
  • lzszt/ghc
  • lyokha/ghc
  • trac-glaubitz/ghc
  • Rewbert/ghc
  • andreabedini/ghc
  • Jasagredo/ghc
  • sol/ghc
  • OlegAlexander/ghc
  • trac-sthibaul/ghc
  • avdv/ghc
  • Wendaolee/ghc
  • ur4t/ghc
  • daylily/ghc
  • boltzmannrain/ghc
  • mmzk1526/ghc
  • trac-fizzixnerd/ghc
  • soulomoon/ghc
  • rwmjones/ghc
  • j14i/ghc
  • tracsis/ghc
  • gesh/ghc
  • flip101/ghc
  • eldritch-cookie/ghc
  • LemonjamesD/ghc
  • pgujjula/ghc
  • skeuchel/ghc
  • noteed/ghc
  • gulin.serge/ghc
  • Torrekie/ghc
  • jlwoodwa/ghc
  • ayanamists/ghc
  • husong998/ghc
  • trac-edmundnoble/ghc
  • josephf/ghc
  • contrun/ghc
  • baulig/ghc
  • edsko/ghc
  • mzschr/ghc-issue-24732
  • ulidtko/ghc
  • Arsen/ghc
  • trac-sjoerd_visscher/ghc
  • crumbtoo/ghc
  • L0neGamer/ghc
  • DrewFenwick/ghc
  • benz0li/ghc
  • MaciejWas/ghc
  • jordanrule/ghc
  • trac-qqwy/ghc
  • LiamGoodacre/ghc
  • isomorpheme/ghc
  • trac-danidiaz/ghc
  • Kariim/ghc
  • MTaimoorZaeem/ghc
  • hololeap/ghc
  • ticat-fp/ghc
  • meritamen/ghc
  • criskell/ghc
  • trac-kraai/ghc
  • aergus/ghc
  • jdral/ghc
  • SamB/ghc
  • Tristian/ghc
  • ywgrit/ghc
  • KatsuPatrick/ghc
  • OsePedro/ghc
  • mpscholten/ghc
  • fp/ghc
  • zaquest/ghc
  • fangyi-zhou/ghc
  • augyg/ghc
640 results
Show changes
Showing
with 241 additions and 52 deletions
==================== Parser AST ====================
(L
{ T23315.hsig:1:1 }
(HsModule
(XModulePs
(EpAnn
(Anchor
{ T23315.hsig:1:1 }
(UnchangedAnchor))
(AnnsModule
[(AddEpAnn AnnSignature (EpaSpan { T23315.hsig:1:1-9 }))
,(AddEpAnn AnnWhere (EpaSpan { T23315.hsig:1:18-22 }))]
[]
(Nothing))
(EpaComments
[]))
(VirtualBraces
(1))
(Nothing)
(Nothing))
(Just
(L
(SrcSpanAnn (EpAnnNotUsed) { T23315.hsig:1:11-16 })
{ModuleName: T23315}))
(Nothing)
[]
[(L
(SrcSpanAnn (EpAnnNotUsed) { T23315.hsig:2:1-12 })
(DocD
(NoExtField)
(DocCommentNext
(L
{ T23315.hsig:2:1-12 }
(WithHsDocIdentifiers
(MultiLineDocString
(HsDocStringNext)
(:|
(L
{ T23315.hsig:2:5-12 }
(HsDocStringChunk
" My unit"))
[]))
[])))))
,(L
(SrcSpanAnn (EpAnn
(Anchor
{ T23315.hsig:3:1-7 }
(UnchangedAnchor))
(AnnListItem
[])
(EpaComments
[])) { T23315.hsig:3:1-7 })
(SigD
(NoExtField)
(TypeSig
(EpAnn
(Anchor
{ T23315.hsig:3:1 }
(UnchangedAnchor))
(AnnSig
(AddEpAnn AnnDcolon (EpaSpan { T23315.hsig:3:3-4 }))
[])
(EpaComments
[]))
[(L
(SrcSpanAnn (EpAnnNotUsed) { T23315.hsig:3:1 })
(Unqual
{OccName: a}))]
(HsWC
(NoExtField)
(L
(SrcSpanAnn (EpAnnNotUsed) { T23315.hsig:3:6-7 })
(HsSig
(NoExtField)
(HsOuterImplicit
(NoExtField))
(L
(SrcSpanAnn (EpAnnNotUsed) { T23315.hsig:3:6-7 })
(HsTupleTy
(EpAnn
(Anchor
{ T23315.hsig:3:6 }
(UnchangedAnchor))
(AnnParen
(AnnParens)
(EpaSpan { T23315.hsig:3:6 })
(EpaSpan { T23315.hsig:3:7 }))
(EpaComments
[]))
(HsBoxedOrConstraintTuple)
[]))))))))
,(L
(SrcSpanAnn (EpAnnNotUsed) { T23315.hsig:4:1-14 })
(DocD
(NoExtField)
(DocCommentPrev
(L
{ T23315.hsig:4:1-14 }
(WithHsDocIdentifiers
(MultiLineDocString
(HsDocStringPrevious)
(:|
(L
{ T23315.hsig:4:5-14 }
(HsDocStringChunk
" More docs"))
[]))
[])))))]))
test('T23315',
[extra_files(['Setup.hs']), js_broken(22352)],
makefile_test, [])
T3811c.hs:6:10: error: [GHC-12222] T3811c.hs:6:10: error: [GHC-53946]
• Illegal head of an instance declaration: ‘!Show D’ • Illegal head of an instance declaration: ‘!Show D’.
Instance heads must be of the form Instance heads must be of the form
C ty_1 ... ty_n C ty_1 ... ty_n
where ‘C’ is a class where ‘C’ is a class.
• In an instance declaration • In an instance declaration
T13267.hs:6:10: error: [GHC-53946] T13267.hs:6:10: error: [GHC-53946]
• Illegal instance for a type synonym • Illegal instance for type synonym ‘C1’.
A class instance must be for a class Instance heads must be of the form
C ty_1 ... ty_n
where ‘C’ is a class.
• In the instance declaration for ‘C1 Int’ • In the instance declaration for ‘C1 Int’
T13267.hs:10:10: error: [GHC-53946] T13267.hs:10:10: error: [GHC-53946]
• Illegal instance for a type synonym • Illegal instance for type synonym ‘C2’.
A class instance must be for a class Instance heads must be of the form
C ty_1 ... ty_n
where ‘C’ is a class.
• In the instance declaration for ‘C2 Int’ • In the instance declaration for ‘C2 Int’
T14110.hs:9:8: error: [GHC-12985] T14110.hs:9:8: error: [GHC-12985]
• Number of parameters must match family declaration; expected 1 • Number of parameters must match family declaration; expected 1.
• In the type instance declaration for ‘R_’ • In the type instance declaration for ‘R_’
In the instance declaration for ‘R Eq’ In the instance declaration for ‘R Eq’
T14450.hs:35:3: error: T14450.hs:35:3: error: [GHC-95424]
• Type indexes must match class instance head • Type indexes must match class instance head
Expected: Dom @k @k (IddSym0 @k) Expected: Dom @k @k (IddSym0 @k)
Actual: Dom @(*) @(*) (IddSym0 @(*)) Actual: Dom @(*) @(*) (IddSym0 @(*))
......
T9574.hs:13:5: error: [GHC-53634] T9574.hs:13:5: error: [GHC-53634]
The RHS of an associated type declaration mentions out-of-scope variable ‘o’ Out of scope type variable ‘o’ in the RHS of a family instance.
All such variables must be bound on the LHS All such variables must be bound on the LHS.
TidyClassKinds.hs:13:10: error: [GHC-93557] TidyClassKinds.hs:13:10: error: [GHC-93557]
• Illegal instance declaration for • Illegal instance declaration for
‘Poly @{k -> *} @{k -> *} (ProxySyn @{k}) (ProxySyn @{k})’: ‘Poly @{k -> *} @{k1 -> *} (ProxySyn @{k}) (ProxySyn @{k1})’:
All instance types must be of the form (T t1 ... tn) All instance types must be of the form (T t1 ... tn)
where T is not a synonym. where T is not a synonym.
• In the instance declaration for ‘Poly ProxySyn ProxySyn’ • In the instance declaration for ‘Poly ProxySyn ProxySyn’
......
-- | Test 'unsafeThawByteArray#'.
{-# LANGUAGE MagicHash, UnboxedTuples #-}
import GHC.Exts (newByteArray#, indexWord8Array#, writeWord8Array#,
unsafeFreezeByteArray#, unsafeThawByteArray#,
ByteArray#, MutableByteArray#, Int(I#))
import GHC.Word
import GHC.ST
import Prelude hiding (toList)
main :: IO ()
main = do
res <- return $ runST $ do
let n = 32 :: Int
marr <- newByteArray n
mapM_ (\i -> writeWord8Array marr i (fromIntegral i)) [0..n-1]
arr <- unsafeFreezeByteArray marr
marr' <- unsafeThawByteArray arr
arr' <- unsafeFreezeByteArray marr'
return $ toList arr' 5
print res
data ByteArray = ByteArray { unBA :: ByteArray# }
data MByteArray s = MByteArray { unMBA :: MutableByteArray# s }
newByteArray :: Int -> ST s (MByteArray s)
newByteArray (I# n#) = ST $ \s# -> case newByteArray# n# s# of
(# s2#, marr# #) -> (# s2#, MByteArray marr# #)
indexWord8Array :: ByteArray -> Int -> Word8
indexWord8Array arr (I# i#) = case indexWord8Array# (unBA arr) i# of
a -> W8# a
writeWord8Array :: MByteArray s -> Int -> Word8 -> ST s ()
writeWord8Array marr (I# i#) (W8# a) = ST $ \ s# ->
case writeWord8Array# (unMBA marr) i# a s# of
s2# -> (# s2#, () #)
unsafeFreezeByteArray :: MByteArray s -> ST s ByteArray
unsafeFreezeByteArray marr = ST $ \ s# ->
case unsafeFreezeByteArray# (unMBA marr) s# of
(# s2#, arr# #) -> (# s2#, ByteArray arr# #)
unsafeThawByteArray :: ByteArray -> ST s (MByteArray s)
unsafeThawByteArray arr = ST $ \ s# ->
case unsafeThawByteArray# (unBA arr) s# of
(# s2#, marr# #) -> (# s2#, MByteArray marr# #)
toList :: ByteArray -> Int -> [Word8]
toList arr n = go 0
where
go i | i >= n = []
| otherwise = indexWord8Array arr i : go (i+1)
[0,1,2,3,4]
...@@ -71,3 +71,4 @@ test('FMA_ConstantFold' ...@@ -71,3 +71,4 @@ test('FMA_ConstantFold'
test('T21624', normal, compile_and_run, ['']) test('T21624', normal, compile_and_run, [''])
test('T23071', ignore_stdout, compile_and_run, ['']) test('T23071', ignore_stdout, compile_and_run, [''])
test('T22710', normal, compile_and_run, [''])
T15316A.hs:15:23: T15316A.hs:15:23: error: [GHC-40404]
Reduction stack overflow; size = 201 Reduction stack overflow; size = 201
When simplifying the following type: Class a When simplifying the following type: Class a
• In the third argument of ‘subsume’, namely ‘method’
In the expression: subsume p p method
In an equation for ‘value’: value p = subsume p p method
Suggested fix:
Use -freduction-depth=0 to disable this check Use -freduction-depth=0 to disable this check
(any upper bound you could choose might fail unpredictably with (any upper bound you could choose might fail unpredictably with
minor updates to GHC, so disabling the check is recommended if minor updates to GHC, so disabling the check is recommended if
you're sure that type checking should terminate) you're sure that type checking should terminate)
In the third argument of ‘subsume’, namely ‘method’
In the expression: subsume p p method
In an equation for ‘value’: value p = subsume p p method
T17267.hs:17:12: error: T17267.hs:17:12: error: [GHC-40404]
• Reduction stack overflow; size = 201 • Reduction stack overflow; size = 201
When simplifying the following type: a ~ b When simplifying the following type: a ~ b
Use -freduction-depth=0 to disable this check
(any upper bound you could choose might fail unpredictably with
minor updates to GHC, so disabling the check is recommended if
you're sure that type checking should terminate)
• In the expression: r • In the expression: r
In an equation for ‘oops’: oops r = r In an equation for ‘oops’: oops r = r
In an equation for ‘unsafeCoerce’: In an equation for ‘unsafeCoerce’:
...@@ -14,3 +10,8 @@ T17267.hs:17:12: error: ...@@ -14,3 +10,8 @@ T17267.hs:17:12: error:
where where
oops :: (a ~ b => Thing a b) => (Thing a b => r) -> r oops :: (a ~ b => Thing a b) => (Thing a b => r) -> r
oops r = r oops r = r
Suggested fix:
Use -freduction-depth=0 to disable this check
(any upper bound you could choose might fail unpredictably with
minor updates to GHC, so disabling the check is recommended if
you're sure that type checking should terminate)
T17267a.hs:18:12: error: T17267a.hs:18:12: error: [GHC-40404]
• Reduction stack overflow; size = 201 • Reduction stack overflow; size = 201
When simplifying the following type: C a b When simplifying the following type: C a b
Use -freduction-depth=0 to disable this check
(any upper bound you could choose might fail unpredictably with
minor updates to GHC, so disabling the check is recommended if
you're sure that type checking should terminate)
• In the expression: op x • In the expression: op x
In an equation for ‘oops’: oops x = op x In an equation for ‘oops’: oops x = op x
In an equation for ‘uc’: In an equation for ‘uc’:
...@@ -14,3 +10,8 @@ T17267a.hs:18:12: error: ...@@ -14,3 +10,8 @@ T17267a.hs:18:12: error:
where where
oops :: (C a b => C a b) => a -> b oops :: (C a b => C a b) => a -> b
oops x = op x oops x = op x
Suggested fix:
Use -freduction-depth=0 to disable this check
(any upper bound you could choose might fail unpredictably with
minor updates to GHC, so disabling the check is recommended if
you're sure that type checking should terminate)
T17267b.hs:15:12: error: T17267b.hs:15:12: error: [GHC-40404]
• Reduction stack overflow; size = 201 • Reduction stack overflow; size = 201
When simplifying the following type: a ~ b When simplifying the following type: a ~ b
Use -freduction-depth=0 to disable this check
(any upper bound you could choose might fail unpredictably with
minor updates to GHC, so disabling the check is recommended if
you're sure that type checking should terminate)
• In the expression: x • In the expression: x
In an equation for ‘oops’: oops x = x In an equation for ‘oops’: oops x = x
In an equation for ‘uc’: In an equation for ‘uc’:
...@@ -14,3 +10,8 @@ T17267b.hs:15:12: error: ...@@ -14,3 +10,8 @@ T17267b.hs:15:12: error:
where where
oops :: (a ~ b => a ~ b) => a -> b oops :: (a ~ b => a ~ b) => a -> b
oops x = x oops x = x
Suggested fix:
Use -freduction-depth=0 to disable this check
(any upper bound you could choose might fail unpredictably with
minor updates to GHC, so disabling the check is recommended if
you're sure that type checking should terminate)
T17267c.hs:22:14: error: T17267c.hs:22:14: error: [GHC-40404]
• Reduction stack overflow; size = 201 • Reduction stack overflow; size = 201
When simplifying the following type: C a b When simplifying the following type: C a b
Use -freduction-depth=0 to disable this check
(any upper bound you could choose might fail unpredictably with
minor updates to GHC, so disabling the check is recommended if
you're sure that type checking should terminate)
• In the expression: r • In the expression: r
In an equation for ‘oops’: oops r = r In an equation for ‘oops’: oops r = r
In an equation for ‘unsafeCoerce’: In an equation for ‘unsafeCoerce’:
...@@ -14,3 +10,8 @@ T17267c.hs:22:14: error: ...@@ -14,3 +10,8 @@ T17267c.hs:22:14: error:
where where
oops :: (C a b => Thing a b) => (Thing a b => x) -> x oops :: (C a b => Thing a b) => (Thing a b => x) -> x
oops r = r oops r = r
Suggested fix:
Use -freduction-depth=0 to disable this check
(any upper bound you could choose might fail unpredictably with
minor updates to GHC, so disabling the check is recommended if
you're sure that type checking should terminate)
T17267e.hs:16:14: error: T17267e.hs:16:14: error: [GHC-40404]
• Reduction stack overflow; size = 201 • Reduction stack overflow; size = 201
When simplifying the following type: Show a When simplifying the following type: Show a
• In the expression: show
In an equation for ‘pseudoShow’: pseudoShow = show
Suggested fix:
Use -freduction-depth=0 to disable this check Use -freduction-depth=0 to disable this check
(any upper bound you could choose might fail unpredictably with (any upper bound you could choose might fail unpredictably with
minor updates to GHC, so disabling the check is recommended if minor updates to GHC, so disabling the check is recommended if
you're sure that type checking should terminate) you're sure that type checking should terminate)
• In the expression: show
In an equation for ‘pseudoShow’: pseudoShow = show
T17458.hs:32:32: error: T17458.hs:32:32: error: [GHC-40404]
• Reduction stack overflow; size = 201 • Reduction stack overflow; size = 201
When simplifying the following type: Typeable Void When simplifying the following type: Typeable Void
Use -freduction-depth=0 to disable this check
(any upper bound you could choose might fail unpredictably with
minor updates to GHC, so disabling the check is recommended if
you're sure that type checking should terminate)
• In the expression: eqT • In the expression: eqT
In the expression: In the expression:
case eqT of case eqT of
...@@ -16,3 +12,8 @@ T17458.hs:32:32: error: ...@@ -16,3 +12,8 @@ T17458.hs:32:32: error:
= case eqT of = case eqT of
Nothing -> False Nothing -> False
Just (Refl :: a :~: Void) -> True Just (Refl :: a :~: Void) -> True
Suggested fix:
Use -freduction-depth=0 to disable this check
(any upper bound you could choose might fail unpredictably with
minor updates to GHC, so disabling the check is recommended if
you're sure that type checking should terminate)
T15828.hs:9:3: error: T15828.hs:9:3: error: [GHC-95424]
• Type indexes must match class instance head • Type indexes must match class instance head
Expected: T (Maybe a) _ Expected: T (Maybe a) _
Actual: T (Maybe a1) b Actual: T (Maybe a1) b
......
T16385.hs:4:10: error: [GHC-56538] T16385.hs:4:10: error: [GHC-53946]
• Instance head is not headed by a class: c • Illegal head of an instance declaration: ‘c’.
Instance heads must be of the form
C ty_1 ... ty_n
where ‘C’ is a class.
• In the instance declaration for ‘c’ • In the instance declaration for ‘c’
T16385.hs:5:10: error: [GHC-56538] T16385.hs:5:10: error: [GHC-53946]
• Instance head is not headed by a class: c • Illegal head of an instance declaration: ‘c’.
Instance heads must be of the form
C ty_1 ... ty_n
where ‘C’ is a class.
• In the instance declaration for ‘c’ • In the instance declaration for ‘c’