Created
June 18, 2015 15:53
-
-
Save Ben-G/4a7eeb0588d2b636f422 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//: Playground - noun: a place where people can play | |
/* | |
Compiler Error: | |
candidate exactly matches | |
func doSomething() { | |
^ | |
*/ | |
struct A:B,C { | |
} | |
protocol B { | |
func doSomething() | |
} | |
protocol C { | |
func doSomething() | |
} | |
extension B { | |
func doSomething() { | |
} | |
} | |
extension C { | |
func doSomething() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment