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.
2 parents 504584c + 874d0fb commit d7254b9Copy full SHA for d7254b9
validation-test/Sema/SwiftUI/rdar88256059.swift
@@ -0,0 +1,15 @@
1
+// RUN: %target-typecheck-verify-swift -target %target-cpu-apple-macosx10.15 -swift-version 5
2
+// REQUIRES: objc_interop
3
+// REQUIRES: OS=macosx
4
+
5
+import SwiftUI
6
7
+struct MyView: View {
8
+ var data: [Transaction]
9
10
+ var body: some View {
11
+ Table(self.data) {
12
+ // expected-error@-1 {{cannot infer return type of empty closure}} {{23-23=<#result#>}}
13
+ }
14
15
+}
0 commit comments