Skip to content
Snippets Groups Projects
Unverified Commit 5248fdf7 authored by Zubin's avatar Zubin
Browse files

testsuite: Add regression test for #23861

Simon says this was fixed by

commit 8d686854
Author: sheaf <sam.derbyshire@gmail.com>
Date:   Fri Aug 4 15:28:45 2023 +0200

    Remove zonk in tcVTA
parent 2f6309a4
No related branches found
No related tags found
No related merge requests found
module M where
newtype GetDiscardingUnlift a = MkGetDiscardingUnlift
{ unGetDiscardingUnlift :: forall m. Either a m
}
build :: forall a. a -> GetDiscardingUnlift a
build w =
case build w of
MkGetDiscardingUnlift getDiscardingUnlift' ->
let getDiscardingUnlift'' :: forall m. Either a m
getDiscardingUnlift'' = getDiscardingUnlift' @m
in MkGetDiscardingUnlift getDiscardingUnlift''
......@@ -891,3 +891,4 @@ test('T18986b', normal, compile, [''])
test('T23413', normal, compile, [''])
test('TcIncompleteRecSel', normal, compile, ['-Wincomplete-record-selectors'])
test('InstanceWarnings', normal, multimod_compile, ['InstanceWarnings', ''])
test('T23861', normal, compile, [''])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment