Skip to content

Instantly share code, notes, and snippets.

@hamishknight
Created October 20, 2016 20:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hamishknight/59a198309ea99da3cce287cc62145ee3 to your computer and use it in GitHub Desktop.
Save hamishknight/59a198309ea99da3cce287cc62145ee3 to your computer and use it in GitHub Desktop.
struct Bar {
init<T : LosslessStringConvertible>(_ f: T) {}
init<T>(anything: T) {}
}
let b = Bar(UnicodeScalar(4))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment