I'm trying to put a static method on a protocol and I'm wondering why this isn't possible:
protocol Proto { }
extension Proto {
static func action() {
print("Here!")
}
}
Proto.action()/*
^~~~~ ~~~~~~
error: static member 'action' cannot be used on protocol metatype 'Proto.Protocol'*/