Skip to content

Instantly share code, notes, and snippets.

@paulofaria
Created October 28, 2016 17:42
Show Gist options
  • Save paulofaria/9d3fa7617711b0dcde951e51e81d5ec9 to your computer and use it in GitHub Desktop.
Save paulofaria/9d3fa7617711b0dcde951e51e81d5ec9 to your computer and use it in GitHub Desktop.
protocol A {
static var a: String { get }
}
extension A {
static var a: String {
return "a"
}
}
print(A.a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment