[SR-11072] Use of unimplemented initializer 'init(style:)' for class #53464
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Environment
Xcode 11 beta 2 and Xcode 11 beta 3
Additional Detail from JIRA
md5: 3b9e785a47170186bc85fa1a309f2d7f
Issue Description:
As seen in: https://stackoverflow.com/questions/56828037/use-of-unimplemented-initializer-initstyle-for-class-with-xcode-11-beta-2. Not sure if it's a Swift bug, or Xcode, but something is definitely going wrong. I copy paste the question from above link here:
I get the error
> Use of unimplemented initializer 'init(style🙂' for class
{{> }}
> Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
I did not get this error on every previous Xcode I have worked with. I should not get this error, because I am using my own designated initializer. The error can be reproduced by running this git repo: https://github.com/Jasperav/EasyCrash. The relevant code is:
What have been changed with Xcode 11 beta 2? Is this a bug or should I change my code?
https://i.stack.imgur.com/JJeKt.png
The text was updated successfully, but these errors were encountered: