Given:
public class AVPlayer {
public init(playerItem: AVPlayerItem?) {
…
}
}
public class AVQueuePlayer: AVPlayer {
public override init(playerItem: AVPlayerItem?) {
…
}
}
The generated bridge is:
public class AVPlayer: BridgedFromKotlin {
public init(playerItem p_0: AVPlayerItem?) {
…
}
}
public class AVQueuePlayer: AVPlayer {
public init(playerItem p_0: AVPlayerItem?) {
…
}
}
which gives the compile error:
overriding declaration requires an 'override' keyword