Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion liquid-fixpoint
2 changes: 1 addition & 1 deletion src/Language/Haskell/Liquid/Constraint/ToFixpoint.hs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fixConfig tgt cfg = def
, FC.ginteractive = ginteractive cfg
, FC.noslice = noslice cfg
, FC.rewriteAxioms = Config.allowPLE cfg
, FC.etaElim = not (exactDC cfg) && extensionality cfg -- SEE: https://github.com/ucsd-progsys/liquidhaskell/issues/1601
, FC.etaElim = not (exactDC cfg) -- && extensionality cfg -- SEE: https://github.com/ucsd-progsys/liquidhaskell/issues/1601
, FC.extensionality = extensionality cfg
}

Expand Down
15 changes: 15 additions & 0 deletions tests/neg/T1601.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{-@ LIQUID "--reflect" @-}
{-@ LIQUID "--ple" @-}
{-@ reflect g @-}
g :: b -> c -> c
g y z = z
{-@ reflect f @-}
f :: a -> b -> b
f x y = g (g x y) y

k :: a -> b -> b
k _ b = b

{-@ fgeq :: x:a -> {f x == g x} @-}
fgeq :: a -> b -> ()
fgeq _ _ = ()
1 change: 0 additions & 1 deletion tests/pos/T1560.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{-@ LIQUID "--ple" @-}
{-@ LIQUID "--reflection" @-}
{-@ LIQUID "--extensionality" @-}

module T1560 where

Expand Down
1 change: 0 additions & 1 deletion tests/pos/T1560B.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{-@ LIQUID "--ple" @-}
{-@ LIQUID "--reflection" @-}
{-@ LIQUID "--extensionality" @-}

module T1560 where

Expand Down