Mixed nullability in ternary operator fails
Submitted by Evan Nemerson
Link to original bug (#616897)
Description
When compiling with --enable-experimental-non-null
, the following line fails with an Incompatible expressions
error:
string? foo = true ? "Bar" : null;
Version: 0.8.x
Edited by Rico Tzschichholz