[SR-1989] Crash at runtime when a class contains a struct having no property #44598
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
run-time crash
Bug → crash: Swift code crashed during execution
Attachment: Download
Environment
XCode 7.3
Swift 2.2
OSX 10.11.5
Additional Detail from JIRA
md5: ed0695e8b1c6dbc373767f6e3c77cd48
duplicates:
Issue Description:
Description
I get a crash (bad memory access) at runtime when allocating a
class
containing astruct
having no property.Crash reproduced by several colleagues having the same config as mine.
Playgrounds are not affected by the crash.
Test case
Paste this in the main.swift of an XCode 7.3 OSX Command Line Tool project :
The text was updated successfully, but these errors were encountered: