You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// compile with "-import-objc-header objc.h"
class Sub: Base<NSObject> {
override subscript(key: NSObject) -> Any { return self }
}
test.swift:2:12: error: subscript does not override any subscript from its superclass
override subscript(key: NSObject) -> Any { return self }
^
__ObjC.Base:3:10: note: potential overridden subscript 'subscript' here
open subscript(key: Element) -> Any { get }
^
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: 6295c499685dffc82f4eacac86f5bafb
Issue Description:
The text was updated successfully, but these errors were encountered: