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
/Users/suyashsrijan/Desktop/test.swift:4:13: error: stored property cannot have covariant 'Self' type
static let linear = Self(name: .linear)
^
/Users/suyashsrijan/Desktop/test.swift:4:22: error: covariant 'Self' type cannot be referenced from a stored property initializer
static let linear = Self(name: .linear)
^
Environment
Swift 5.1
Xcode 11.2.1
Additional Detail from JIRA
md5: ed99908fd1190e41578a2c312462429c
Issue Description:
This compiles fine:
This crashes Swift:
The text was updated successfully, but these errors were encountered: