Simplifying switch labels

Brian Goetz brian.goetz at oracle.com
Fri Jun 3 13:04:25 UTC 2022


> I wonder how we would try to explain 'case Integer x, null, Double x'... (Does 'x' get bound to 'null'? How?)

Your suggestion to always put the null first probably helps.


More information about the amber-spec-experts mailing list