{-@ LIQUID "--expect-any-error" @-} module T1657A where {-@ data I Bool> = I Int @-} data I = I Int {-@ getI :: forall Bool>. { bloop :: Int |- {v: Int | v = bloop} <: {v:Int | v > 1984} } I @-} getI :: I getI = undefined -- { {v: (Int

) | True} <: {v:Int | v > 1984} } {-@ pleaseFail :: I<{\_ -> True}> @-} pleaseFail :: I pleaseFail = getI