qupa-project / uniview-lang

View once immutability enabling the safeties of immutable code, while enjoying near procedural performance
https://uniview.qupa.org
MIT License
2 stars 0 forks source link

Unary operations not applying to function results #60

Closed AjaniBilby closed 1 year ago

AjaniBilby commented 2 years ago

This program will always exit code 1 instead of code 0

fn main(): int {
    if (!ReturnsTrue()) {
        return 1;
    }
    return 0;
}
AjaniBilby commented 1 year ago

This appears to have been fixed as part of #70