Skip to content

Instantly share code, notes, and snippets.

@es-kumagai
Last active August 29, 2015 14:20
Show Gist options
  • Save es-kumagai/9660327c8b6da0eafc25 to your computer and use it in GitHub Desktop.
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
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))
@s4cha
Copy link

s4cha commented Jun 7, 2015

Having the same issue here, any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment