Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-1529] Compiler crash - overriding an optional property with non-optional can crash the compiler #44138

swift-ci opened this issue May 15, 2016 · 2 comments


Copy link

swift-ci commented May 15, 2016

Previous ID SR-1529
Radar rdar://problem/32254285
Original Reporter mkbrandt (JIRA User)
Type Bug
Status Closed
Resolution Done

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, CompilerCrash
Assignee @slavapestov
Priority Medium

md5: 3ea915b13d3b06d53f136fd589d81506

is duplicated by:

  • SR-1980 Emit multiple vtable entries for overrides that change calling convention

Issue Description:

See enclosed project:

The property "rect" is declared optional in one file, and non-optional in an override in a subclass. This causes the compiler to crash. I realize this is not legal, but it took me a while to track it down since the compiler crashes before showing the error.

Copy link

slavapestov commented Mar 26, 2017


Copy link
Collaborator Author

swift-ci commented May 17, 2017

Comment by Myke Olson (JIRA)

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants