javavscode
javavscode copied to clipboard
List.of Bug
var l=List.of("a","b "); l.add("rr");
No error hint when coding,but compile error,because List.of return immutableCollection.
Thanks @LongerFase for noticing this ! You are right that no hint is provided as of now we are working on it , though this fails only at runtime and not at compile time .