Skip to content

Commit e7eb743

Browse files
committed
Fixed some tests after rebase
1 parent d474d76 commit e7eb743

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

test/SIL/Serialization/keypath.sil

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,17 @@ public struct External<T> {
4949
init()
5050
}
5151

52-
struct T {
53-
var x: (Int, Int)
54-
var y: (a: Int, b: Int, c: Int)
55-
let z: (Int, Int)
56-
let w: (Int, C)
52+
public struct T {
53+
public var x: (Int, Int)
54+
public var y: (a: Int, b: Int, c: Int)
55+
public let z: (Int, Int)
56+
public let w: (Int, C)
5757
}
5858

59-
struct GenT<A, B> {
60-
var x: (A, B)
61-
let y: (a: A, b: B)
62-
let z: (e0: External<A>, e1: External<B>)
59+
public struct GenT<A, B> {
60+
public var x: (A, B)
61+
public let y: (a: A, b: B)
62+
public let z: (e0: External<A>, e1: External<B>)
6363
}
6464

6565
// CHECK-LABEL: sil shared [serialized] [ossa] @stored_properties

test/SILGen/keypaths.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ func identity<T>(_: T) {
402402
let _: WritableKeyPath<String, String> = \String.self
403403
}
404404

405-
// CHECK-LABEL: sil hidden @{{.*}}tuples
405+
// CHECK-LABEL: sil hidden [ossa] @{{.*}}tuples
406406
func tuples(_: T) {
407407
// CHECK: keypath $WritableKeyPath<T, Int>, (root $T; stored_property #T.a : $(Int, String); tuple_element #0 : $Int)
408408
let _: WritableKeyPath<T, Int> = \T.a.0
@@ -423,7 +423,7 @@ func tuples(_: T) {
423423
let _: KeyPath<T, String> = \T.c.x.y
424424
}
425425

426-
// CHECK-LABEL: sil hidden @{{.*}}tuples_generic
426+
// CHECK-LABEL: sil hidden [ossa] @{{.*}}tuples_generic
427427
func tuples_generic<T, U, V>(_: T, _: U, _: V) {
428428
typealias TUC = (T, U, C<V>)
429429

0 commit comments

Comments
 (0)