lean4-htt/tests/lean/run/LiftMethodIssue.lean
Leonardo de Moura 1f359b9844 chore: remove unnecessary workaround
It is not needed anymore after we fixed the `app` parser
2020-02-03 20:25:09 -08:00

9 lines
199 B
Text

new_frontend
def tst : IO (Option Nat) := do
x? : Option Nat ← pure none;
pure x?
def tst2 (x : Nat) : IO (Option Nat) := do
x? : Option Nat ← pure x;
if x?.isNone then pure (x+1) else pure x?