Why is @available property wrapper allowed but stored property isn't?

It's actually a bug fixed on the main branch. Conditionally-available property wrappers are not allowed for the same reason as conditionally-available stored properties.

1 Like