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 849689e commit e8c92c3Copy full SHA for e8c92c3
validation-test/Sema/type_checker_perf/fast/issue43386_array_of_ranges.swift.gyb
@@ -0,0 +1,12 @@
1
+// RUN: %scale-test --begin 1 --end 15 --step 1 --select NumLeafScopes %s -Xfrontend=-solver-expression-time-threshold=1 -Xfrontend=-verify
2
+// REQUIRES: asserts, no_asan
3
+
4
+// https://github.com/apple/swift/issues/43386
5
6
+// expected-error@+1 {{heterogeneous collection literal could only be inferred to '[Any]'; add explicit type annotation if this is intentional}}
7
+let _ = [
8
+%for i in range(0, N):
9
+ 0...1,
10
+ 0..<1,
11
+%end
12
+]
0 commit comments