Comment
Comment by ajnin
Looks good, finally a language-supported way to remove thousands of unnecessary Exceptions and null-checks. But the nullness-narrowing automatic conversions feel wrong. From the proposal :
Surely at least the two first cases should yield a compiler error. The last case you're explicit so it's borderline but I'd rather see something like :
Like this no possibility of error.