Skip to content

Commit 609eaf7

Browse files
authored
Merge pull request #71146 from xedin/disable-one-swiftui-test
[Tests] NFC: Remove one of SwiftUI test-cases because its overly SDK …
2 parents 43afa11 + da14b97 commit 609eaf7

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

validation-test/Sema/SwiftUI/builder_requirement_errors_should_not_shadow_errors_in_code.swift

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -139,31 +139,6 @@ do {
139139
}
140140
}
141141

142-
// rdar://119008852
143-
do {
144-
struct LazyPageView: View {
145-
@State var currentOffset = 0
146-
@State private var tabViewSelection = 0
147-
let minIndex: Int?
148-
let maxIndex: Int?
149-
let contentGen: (Int) -> any View
150-
151-
var body: some View {
152-
TabView(selection: $tabViewSelection) {
153-
Group {
154-
if minIndex == nil || currentOffset - 1 >= minIndex! {
155-
// expected-error@-1 {{type 'any View' cannot conform to 'View'}}
156-
// expected-note@-2 {{only concrete types such as structs, enums and classes can conform to protocols}}
157-
// expected-note@-3 {{required by static method 'buildIf' where 'Content' = 'any View'}}
158-
contentGen(currentOffset - 1)
159-
}
160-
}
161-
contentGen(currentOffset)
162-
}
163-
}
164-
}
165-
}
166-
167142
// rdar://118374670
168143
do {
169144
struct MissingWrapperInnerView: View {

0 commit comments

Comments
 (0)