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
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
If you happen to have the full crash log around (from Console.app), can you attach that too? It's got slightly different information than what gets dumped to the shell.
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
Attachment: Download
Environment
Apple Swift version 5.0 (swiftlang-1001.0.69.5 clang-1001.0.46.3)
Target: x86_64-apple-darwin18.5.0
Xcode 10.2
Additional Detail from JIRA
md5: 55769c758994de715dcfb7bd27e38747
Issue Description:
When trying to build a project that extends a public class that lives in another module I get a compiler segfault.
Steps to reproduce
**1. Download attached project
2. Navigate to TILApp directory
3. Run
swift build
Expected Results
Code compiles successfully (I'm pretty sure this should compile) or show compiler error message
Actual results
Segmentation Fault: 11
See attached seg-fault.txt output
Notes
**In
TILApp/Sources/TILApp/Models/TILToken.swift
, if you replaceimport TILCore
with the following it compiles successfully:final class TILToken: Codable {
{{}}{{ var id: UUID?}}
{{ var token: String}}
{{ var userID: UUID}}
{{ init(token: String, userID: UUID) {}}{{
self.token = token}}
{{ self.userID = userID}}{{
}}}
{{}}}
This is a package protected version of the code that lives in TILCore - making the code above public causes the same seg fault.
The text was updated successfully, but these errors were encountered: