Skip to content

Commit f681adb

Browse files
committed
Merge remote-tracking branch 'origin/master' into master-rebranch
2 parents ed30b9f + e921b44 commit f681adb

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@propertyWrapper
2+
struct Printed<Value: Codable>: Codable {
3+
var wrappedValue: Value {
4+
didSet { print(wrappedValue) }
5+
}
6+
}
7+
8+
struct Foo: Codable {
9+
@Printed var bar: Bool = false
10+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// RUN: %target-swift-frontend -c -primary-file %s %S/Inputs/property_wrappers_codable_multifile_other.swift
2+
3+
func test(_ value: Foo = Foo()) {
4+
let _: Codable = value
5+
}

0 commit comments

Comments
 (0)