[SR-14884] @available(*, deprecated) does not affect Property Wrapper #57231
Labels
availability
The @available attribute and availability checking in general
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
property wrappers
Feature: property wrappers
swift 5.4
type checker
Area → compiler: Semantic analysis
Environment
Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)
Target: x86_64-apple-darwin20.5.0
Additional Detail from JIRA
md5: ccfb8e611ad9f91b67012c41168c82be
Issue Description:
Swift compiler does not warn accessing to deprecated property wrapper.
In the example below, the expected behavior should be that accessing to $value and _value also be reported.
The text was updated successfully, but these errors were encountered: