David P. Baker

Results 143 comments of David P. Baker

Ah, but `List` is covered by the _other_ way in which a narrowing conversion is checked: ["All of the type arguments of T are unbounded wildcards"](https://docs.oracle.com/javase/specs/jls/se23/html/jls-5.html#jls-5.1.6.2). Why allow something in...

Does this mean that within `@NullMarked`, implementations can in fact assume that the array isn't going to be `null` (when coming from null-checked code)? That's actually pretty nice.