Closed LightAndLight closed 1 year ago
bug.ipso
#! /usr/bin/env ipso bad : () bad = (\(Ok _) -> ()) (Ok ()) main : IO () main = println <| debug bad
$ ./bug.ipso ()
$ ./bug.ipso thread 'main' panicked at 'un-desugared pattern: Spanned { pos: 39, item: Variant { name: "Ok", arg: Spanned { pos: 43, item: Wildcard } } }', src/type_inference/mod.rs:576:44 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Program
bug.ipso
Expected output
Actual outout