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
swift-ci opened this issue
Nov 16, 2018
· 1 comment
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
I tried creating a minimal repro without any dependencies, but I couldn't. The project is pretty small though.
It began segfaulting when I changed `SQLiteModel.ID` to an optional and tried using the wrapped type of the optional in function bodies within the `Database` extension.
Code completion suggested `.WrappedType`, which I don't believe exists on Optional (edit: It does on OptionalType), but I selected it anyway, and that's when it segfaulted. It's definitely got something to do with the usage of WrappedType. The bug is fixed as soon as all instances of WrappedType are removed, and then as soon as one is brought back, it starts segfaulting again.
The text was updated successfully, but these errors were encountered:
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
Environment
Swift 4.2.1
Xcode 10.1
Additional Detail from JIRA
md5: 8e62418a529c60dcf8c60dc1bc80b86f
Issue Description:
You can find a repro under the `bugrepro` branch here
https://github.com/twof/iOSSQLiteTest/tree/bugrepro
I tried creating a minimal repro without any dependencies, but I couldn't. The project is pretty small though.
It began segfaulting when I changed `SQLiteModel.ID` to an optional and tried using the wrapped type of the optional in function bodies within the `Database` extension.
Code completion suggested `.WrappedType`, which I don't believe exists on Optional (edit: It does on OptionalType), but I selected it anyway, and that's when it segfaulted. It's definitely got something to do with the usage of WrappedType. The bug is fixed as soon as all instances of WrappedType are removed, and then as soon as one is brought back, it starts segfaulting again.
The text was updated successfully, but these errors were encountered: