- Proposal: SE-NNNN
- Author: Alejandro Alonso
- Review Manager: TBD
- Status: Awaiting Review
- Implementation: apple/swift#25263
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sil_stage canonical | |
import Builtin | |
import Swift | |
import SwiftShims | |
func x() | |
// main | |
sil @main : $@convention(c) (Int32, UnsafeMutablePointer<Optional<UnsafeMutablePointer<Int8>>>) -> Int32 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sil_stage canonical | |
import Builtin | |
import Swift | |
import SwiftShims | |
func x() | |
// main | |
sil @main : $@convention(c) (Int32, UnsafeMutablePointer<Optional<UnsafeMutablePointer<Int8>>>) -> Int32 { |
- Proposal: SE-NNNN
- Author: Alejandro Alonso
- Review Manager: TBD
- Status: Awaiting review
- Implementation: apple/swift#28555
- Previous Review: SE-0262 Demangle Function, Returned for Revision
- Proposal: SE-NNNN
- Author: Alejandro Alonso
- Review Manager: TBD
- Status: Awaiting review
- Implementation Equatable: apple/swift#28833
- Implementation Comparable: Coming Soon
- Implementation Hashable: Coming Soon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension KeyPathObject: CustomStringConvertible { | |
public var description: String { | |
let components = self.components | |
assert(heapObject.metadata.kind == .class, | |
"KeyPath class object that's not a class?") | |
let classMetadata = heapObject.metadata as! ClassMetadata | |
assert(classMetadata.genericTypes.count == 2, | |
"KeyPath type without 2 generic types? Root and Leaf?") | |
let root = classMetadata.genericTypes[0] |
- Proposal: SE-NNNN
- Author: Karoy Lorentey, Alejandro Alonso
- Review Manager: TBD
- Bug: SR-9144
- Implementation: swiftlang/swift#68857
- Version: 2023-09-18
- Status: Awaiting review
OlderNewer