[SR-11443] Property Wrapper overwrites type declaration #53844
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
macOS Mojave Version 10.14.6
Xcode 11 beta 7 (11M392r)
Apple Swift version 5.1 (swiftlang-1100.0.270.6 clang-1100.0.32.1)
Target: x86_64-apple-darwin18.7.0
Additional Detail from JIRA
md5: 58673a13bac0cd1a00f5a5960372cfe1
duplicates:
is duplicated by:
Issue Description:
UserDefaults Wrapper in the Property Wrapper example breaks the implicit type check with the following code:
This can be reproduced in the following simple case.
In this case, I think implicitlyOptional should be a compile error.
Similar to https://bugs.swift.org/browse/SR-11381 .
The text was updated successfully, but these errors were encountered: