Last active
August 29, 2015 14:25
-
-
Save radex/2115c7d39420d1387e1a to your computer and use it in GitHub Desktop.
Swift crash: double subscript declaration
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
class Foo { | |
subscript(key: String) -> String { | |
get { a } | |
set { b } | |
} | |
subscript(key: String) -> String { | |
get { a } | |
set { b } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment