Skip to content

Instantly share code, notes, and snippets.

@ezura
Created February 5, 2018 03:59
Show Gist options
  • Save ezura/3248d4623fb97985aaa7c049f81651e2 to your computer and use it in GitHub Desktop.
Save ezura/3248d4623fb97985aaa7c049f81651e2 to your computer and use it in GitHub Desktop.
enum N {
case never(Never)
}
func f(_ v: N) {
switch v {
case .never(let naver):
print(naver)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment