I wish this was the default behaviour in the language… destructuring and nullability don’t play well together.
a
Andrew O'Hara
04/09/2024, 3:07 AM
It's a problem I've encountered a handful of times that's prevented me from structuring functions the way I wanted. Maybe someday it will be addressed.