There’s nothing to fix, basic or otherwise. Safari is following the specification. There’s even a clarifying note about exactly this:
> Because <number-token>s are always interpreted as <number>s or <integer>s, "unitless 0" <length>s aren’t supported in math functions. That is, width: calc(0 + 5px); is invalid, because it’s trying to add a <number> to a <length>, even though both width: 0; and width: 5px; are valid.
— https://www.w3.org/TR/css-values-4/#calc-type-checking
(This also appears in the latest Editor’s Draft.)