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 8d65fb3 + ea18b4b commit ec5bee8Copy full SHA for ec5bee8
validation-test/compiler_crashers_2_fixed/issue-74545.swift
@@ -0,0 +1,11 @@
1
+// RUN: %target-typecheck-verify-swift -target %target-swift-5.7-abi-triple
2
+
3
+// https://github.com/swiftlang/swift/issues/74545
4
5
+func Map<Source, Destination>(_ transform: @escaping (Source) -> Destination) -> any Sequence<Destination> {
6
+ return []
7
+}
8
9
+for i in Map({$0 + 1}) {
10
+ print(i)
11
0 commit comments