Null object: Difference between revisions
m
→{{header|Ecstasy}}
Line 750:
}
// if (String test ?= s){} // <-- compiler error: The expression type is not nullable
s2 = s; // at this point, s is known to be a non-null String
console.print($"{s=}, {s2=}, {s==s2=}");
|