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 0b0959a commit f226f6cCopy full SHA for f226f6c
test/Interpreter/moveonly_generics_casting.swift
@@ -47,8 +47,7 @@ func main() {
47
// CHECK: hello
48
attemptCall(Cat<Noncopyable, Ordinary>())
49
50
- // FIXME: this should succeeed!!
51
- // CHECK: failed to cast (test_radar124171788)
+ // CHECK: cast succeeded
52
test_radar124171788(.nothing)
53
}
54
@@ -58,8 +57,8 @@ enum Maybe<Wrapped: ~Copyable>: ~Copyable {
58
57
case nothing
59
60
extension Maybe: Copyable {}
61
-extension Maybe: CustomStringConvertible {
62
- var description: String {
+extension Maybe: CustomDebugStringConvertible {
+ var debugDescription: String {
63
"cast succeeded"
64
65
0 commit comments