mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert the property wrappers part of dd51251014.
Every part of the qualified lookup stack needs to synthesize property
wrapper members, otherwise we'll be subject to the relativistic effects
of semantic lookups in different files. Besides, Codable was the main
source of cycles and circularity under the old scheme.
Resolves rdar://59531889
11 lines
371 B
Swift
11 lines
371 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend %s -verify -O -primary-file %s %S/Inputs/property_wrappers_multi_file_2.swift -c -o %t/use.o
|
|
// RUN: %target-swift-frontend %s -verify -O -primary-file %S/Inputs/property_wrappers_multi_file_2.swift %s -c -o %t/def.o
|
|
|
|
final class Subclass: BaseClass {
|
|
override init() {
|
|
super.init()
|
|
$value = 42
|
|
}
|
|
}
|