and easy enough, when I tried to compile it to a mac target, I get an error:
'Foo' is only available in macOS 13.0 or newer
with a fix-it to add #available. This is pretty much what I expect.
However, when I tried the same code with deprecated: 13.0 and obsoleted: 13.0, there is no error/warning. I set the platforms on Package.swift to platforms: [.macOS(.v10_14)], so it's well out-of-range.
Is it expected to not produce any warning? What does the compiler pick up on when figuring out if something needs to be behind #available?