Created
February 16, 2019 12:51
-
-
Save keremvatandas/9d59183172201e650522e137bfa4650f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| protocol P { | |
| associatedtype T | |
| func test(x: T) -> T | |
| } | |
| class Example : P { | |
| func test(x: Example) -> Example | |
| { | |
| return x | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment