unison/unison-src/errors/abort-ability-checks-against-pure.u
2021-08-24 11:33:27 -07:00

10 lines
204 B
Plaintext

--Abort
structural ability Abort where
Abort : forall a . () -> {Abort} a
bork = u -> 1 + (Abort.Abort ())
(bork : () -> {} Nat)
-- failing to fail in commit 2819c206acf80f926c6d970a4ffd47c961fa4502