Last active
August 29, 2015 14:20
-
-
Save es-kumagai/9660327c8b6da0eafc25 to your computer and use it in GitHub Desktop.
Segmentation fault: 11 in Swift 1.2 in Xcode 6.3.1
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
protocol Protocol { | |
init() | |
} | |
struct Struct : Protocol, Printable { | |
init() { | |
} | |
var description:String { | |
return "Instance" | |
} | |
} | |
func create(type:Protocol.Type) -> Protocol { | |
return type() | |
} | |
println(create(Struct.self)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Having the same issue here, any updates?