[SR-6846] Swift 4.1 compiler crash with optimization #49395
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
regression
swift 4.1
Attachment: Download
Environment
Xcode 9.3 beta 1
Additional Detail from JIRA
md5: 873214da148fa7b83fe538e0de08098c
is blocked by:
Issue Description:
Swift 4.1 compiler will crash the project using Carthage module.
set optimization for speed [-O]
import Carthage module
Subclassing Carthage module's class
override the method and change return type to internal type.
I add sample project.
That includes APIKit added by Carthage and MySession class in AppDelegate.swift is problematic class.
The text was updated successfully, but these errors were encountered: