We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cc2dda commit b22ed2dCopy full SHA for b22ed2d
Tests/ExistentialContainerTests/ExistentialContainerTests.swift
@@ -28,8 +28,7 @@ struct ExistentialContainerTests {
28
func testSwiftUIAnyViewSE0335() async throws {
29
let text = Text("")
30
let anyText: Any = text
31
- let anyView: AnyView? = (anyText as? (any View))?.__eraseToAnyViewSE0335()
32
- #expect(anyView != nil)
+ #expect(AnyView(anySE0335: anyText) != nil)
33
}
34
#endif
35
0 commit comments