Skip to content

Commit 4c4ed28

Browse files
Update test StackCompiler.hs to make it work with GHC > 9.12
Thanks to @AlecsFerra for the fix.
1 parent afe6971 commit 4c4ed28

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/ple/pos/StackCompiler.hs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ module StackCompiler where
1111
import Prelude hiding ((.))
1212
import Language.Haskell.Liquid.ProofCombinators
1313

14-
{-@ reflect id @-}
14+
{-@ assume reflect id as myid @-}
1515
{-@ reflect $ @-}
1616
{-@ infix $ @-}
1717

18+
{-@ reflect myid @-}
19+
myid :: a -> a
20+
myid x = x
21+
1822
{-@ reflect . @-}
1923
{-@ infix . @-}
2024
infixr 9 .

0 commit comments

Comments
 (0)