[SR-11209] Conditional projected property #53608
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
property wrappers
Feature: property wrappers
Environment
Apple Swift version 5.1 (swiftlang-1100.0.257.2 clang-1100.0.31.3)
Target: x86_64-apple-darwin19.0.0
Additional Detail from JIRA
md5: 0a404a46a1f17b44ccbac70cb9f79037
Issue Description:
Related discussion: https://forums.swift.org/t/conditional-projected-property/27152
This code should compile and behave as expected:
Because something like this does already work:
The text was updated successfully, but these errors were encountered: