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
Oct 31, 2018
· 1 comment
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
SR-75 Referencing a protocol function crashes the compiler
Issue Description:
The following example crashes both lldb-rpc-server and SourceKitService in Xcode 10.1 (crash report attached):
protocol Foo {
func x() -> Int
}
extension Foo {
func x() -> Int {
return 44
}
}
class Bar: Foo {
func x() -> Int {
let fun = Foo.x(self)
return (self as Foo).x()
}
}
The text was updated successfully, but these errors were encountered:
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.14.1, Xcode 10.1
Additional Detail from JIRA
md5: d13ef493771d77eb71c111a4bae47b80
duplicates:
Issue Description:
The following example crashes both lldb-rpc-server and SourceKitService in Xcode 10.1 (crash report attached):
The text was updated successfully, but these errors were encountered: