Null variable in arithmetic operations can be compiled in non-null mode
Consider the following code
void main () {
int? x = null;
x = x + 1;
}
It can be compiled even with --enable-experimental-non-null
, and running it leads to segmentation fault. Maybe a check for this case in the strict non-null mode?