-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
feature:jextractIssues related to jextract-swiftIssues related to jextract-swift
Description
Reproduction
Found while running #486 on Alamofire. I think the gist of the issue is the following:
public protocol DownloadResponseSerializerProtocol {
associatedtype SerializedObject
}
public struct URLResponseSerializer: DownloadResponseSerializerProtocol {
public typealias SerializedObject = String
}
extension DownloadResponseSerializerProtocol where Self == URLResponseSerializer {
public var url: URLResponseSerializer { fatalError("...") }
}
this code as of 5764bc2a1b706056121109dc0ab14fd3d771cbc5 fails the Swift bridge compilation with:
error: property 'url' requires the types 'Self' and 'URLResponseSerializer' be equivalent
16 | @_cdecl("swiftjava_MySwiftLibrary_DownloadResponseSerializerProtocol_url$get")
17 | public func swiftjava_MySwiftLibrary_DownloadResponseSerializerProtocol_url$get(_ self: UnsafeRawPointer, _ _result: UnsafeMutableRawPointer) {
18 | _result.assumingMemoryBound(to: URLResponseSerializer.self).initialize(to: self.assumingMemoryBound(to: DownloadResponseSerializerProtocol.self).pointee.url)
| `- error: property 'url' requires the types 'Self' and 'URLResponseSerializer' be equivalent
Metadata
Metadata
Assignees
Labels
feature:jextractIssues related to jextract-swiftIssues related to jextract-swift