[SR-1529] Compiler crash - overriding an optional property with non-optional can crash the compiler Created: 15 May 2016  Updated: 17 May 2017  Resolved: 17 May 2017

Status: Closed
Project: Swift
Component/s: Compiler

Type: Bug Priority: Medium
Reporter: Matt Brandt Assignee: Slava Pestov
Resolution: Done Votes: 0
Labels: CompilerCrash

Attachments: Zip Archive crasher.zip    
Issue Links:
is duplicated by SR-1980 Emit multiple vtable entries for over... Resolved
Radar URL: rdar://problem/32254285


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.

Comment by Slava Pestov [ 26 Mar 2017 ]


Comment by Myke Olson [ 17 May 2017 ]

Swift Sync System create

Generated at Wed Feb 21 09:05:01 CST 2018 using JIRA 7.3.4#73015-sha1:a262b3457b3605f12635df4b0a0c3dc71d631a1e.