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
swift-ci opened this issue
Apr 16, 2018
· 2 comments
Labels
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
macOS 10.13.4, Xcode 9.3 with default and Apr 15, 2018 (master) toolchains.
Additional Detail from JIRA
Votes
0
Component/s
Compiler
Labels
Bug, CompilerCrash
Assignee
None
Priority
Medium
md5: 5f0d9a1c31aa90a97efa94caa7178d10
Issue Description:
Please, see the following example:
@objc(TTCategoryBase)classTTCategoryBase:NSManagedObject{/// Backing of the category type.@NSManagedfileprivatevarcategoryTypeRaw:String}/// Category middle-class with generics.classTTCategory<T:RawRepresentable>:TTCategoryBasewhere T.RawValue ==String{/// Category type.varcategoryType:T{returnT.init(rawValue:self.categoryTypeRaw)!
}}@objc(TTMessageCategory)finalclassTTMessageCategory:TTCategory<TTMessageCategory.CategoryType>{enumCategoryType:String{case news
case programmeChanges ="programme_changes"}}
Additionally, with the master April 15, 2018 build, SourceKit crashes with Assertion failed: (isSatisfied(request)) (attached).
The text was updated successfully, but these errors were encountered:
Same assertion failure with a near-master compiler:
1. While type-checking 'TTMessageCategory' at <stdin>:16:7
2. While validating 'TTMessageCategory' at <stdin>:16:7
3. While resolving type TTCategory<TTMessageCategory.CategoryType> at [<stdin>:16:32 - line:16:73] RangeText="TTCategory<TTMessageCategory.CategoryType>"
4. While resolving type TTMessageCategory.CategoryType at [<stdin>:16:43 - line:16:61] RangeText="TTMessageCategory.C"
5. While validating 'CategoryType' at <stdin>:17:2
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
macOS 10.13.4, Xcode 9.3 with default and Apr 15, 2018 (master) toolchains.
Additional Detail from JIRA
md5: 5f0d9a1c31aa90a97efa94caa7178d10
Issue Description:
Please, see the following example:
Additionally, with the master April 15, 2018 build, SourceKit crashes with
Assertion failed: (isSatisfied(request))
(attached).The text was updated successfully, but these errors were encountered: