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
Seems to me there's no reason this shouldn't compile. Am I missing something?
protocolP {}
structQ : P { }
extensionP {
// Not implementing a requirement staticvarx: P { returnQ() }
}
funcf(_ : P) {}
f(.x) // error: static member 'x' cannot be used on protocol metatype 'P.Protocol'
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: 7980cf230b8fad159efd1c9f32b104c7
Issue Description:
Seems to me there's no reason this shouldn't compile. Am I missing something?
The text was updated successfully, but these errors were encountered: