[SR-10285] Subclass of a class that conforms to a protocol and extends NSObject is not instantiate correctly #52685
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
swift 5.0
Environment
Xcode Version 10.2 (10E125)
macOS Mojave 10.14.4 (18E226)
Additional Detail from JIRA
md5: 09d4b39f35911f43b25fc7ed84660b4a
is duplicated by:
Issue Description:
Hi, I have this following code
The result of
myMethod
is an instance ofClassA
and notClassB
as expected. This code worked compiled with Xcode 10.1, but now it doesn't. Any advice? ThanksThe text was updated successfully, but these errors were encountered: