SerenityOS / jakt

The Jakt Programming Language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bad C++ generated when matching on result of NoneCoalescing expression

awesomekling opened this issue · comments

Simplified repro:

fn boog() {
    let x: String? = None
    match (x ?? "") {
        else => {
        }
    }
}