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
Xcode 9.4.1 Swift version 4.1.2 (swiftlang-902.0.54 clang-902.0.39.2) and Xcode 10.0 GM (Swift version 4.2 (swiftlang-1000.11.37.1 clang-1000.11.45.1) on mac 10.13.6
Additional Detail from JIRA
Votes
0
Component/s
Compiler
Labels
Bug
Assignee
None
Priority
Medium
md5: eddb8fbacb12de4d44e8f1efd4b3473b
is duplicated by:
SR-9160 Nested enums, passed as generic to superclass, cannot conform to RawRepresentable (or inline conform to any other protocol)
Issue Description:
This code causes the compiler to hang in an infinite loop:
import Foundation
classBase<P>{}finalclassDerived:Base<Derived.Inner>{enumInner:Hashable{}}
Interestingly enough, removing `Hashable` makes a difference, this code compiles without a problem:
import Foundation
classBase<P>{}finalclassDerived:Base<Derived.Inner>{enumInner{}}
The text was updated successfully, but these errors were encountered:
Environment
Xcode 9.4.1 Swift version 4.1.2 (swiftlang-902.0.54 clang-902.0.39.2) and Xcode 10.0 GM (Swift version 4.2 (swiftlang-1000.11.37.1 clang-1000.11.45.1) on mac 10.13.6
Additional Detail from JIRA
md5: eddb8fbacb12de4d44e8f1efd4b3473b
is duplicated by:
Issue Description:
This code causes the compiler to hang in an infinite loop:
Interestingly enough, removing `Hashable` makes a difference, this code compiles without a problem:
The text was updated successfully, but these errors were encountered: