File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -482,23 +482,26 @@ public struct Mirror {
482
482
displayStyle: DisplayStyle ? = nil ,
483
483
ancestorRepresentation: AncestorRepresentation = . generated
484
484
) where C. Element == Child {
485
- Builtin . unreachable ( )
485
+ // FIXME: Can't use Builtin.unreachable() due to https://github.com/apple/swift/issues/57622.
486
+ self . init ( reflecting: subject)
486
487
}
487
488
public init < Subject, C: Collection > (
488
489
_ subject: Subject ,
489
490
unlabeledChildren: C ,
490
491
displayStyle: DisplayStyle ? = nil ,
491
492
ancestorRepresentation: AncestorRepresentation = . generated
492
493
) {
493
- Builtin . unreachable ( )
494
+ // FIXME: Can't use Builtin.unreachable() due to https://github.com/apple/swift/issues/57622.
495
+ self . init ( reflecting: subject)
494
496
}
495
497
public init < Subject> (
496
498
_ subject: Subject ,
497
499
children: KeyValuePairs < String , Any > ,
498
500
displayStyle: DisplayStyle ? = nil ,
499
501
ancestorRepresentation: AncestorRepresentation = . generated
500
502
) {
501
- Builtin . unreachable ( )
503
+ // FIXME: Can't use Builtin.unreachable() due to https://github.com/apple/swift/issues/57622.
504
+ self . init ( reflecting: subject)
502
505
}
503
506
public let subjectType : Any . Type
504
507
public let children : Children
You can’t perform that action at this time.
0 commit comments