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 fb01667 + d470eaa commit 997ace4Copy full SHA for 997ace4
validation-test/compiler_crashers_2_fixed/sr13589.swift
@@ -0,0 +1,19 @@
1
+// RUN: %target-swift-emit-silgen %s
2
+
3
+// https://github.com/apple/swift/issues/56024
4
5
+public var UNIMPLEMENTED: Never { fatalError("UNIMPLEMENTED") }
6
7
+public func UNIMPLEMENTED(
8
+ function: String = #function,
9
+ file: StaticString = #file,
10
+ line: UInt = #line
11
+) -> Never {
12
+ fatalError("UNIMPLEMENTED ← \(function)", file: file, line: line)
13
+}
14
15
+public struct Test {
16
+ public func foo() throws -> UnkeyedDecodingContainer {
17
+ UNIMPLEMENTED()
18
+ }
19
0 commit comments