Silver gives a syntax error for an empty switch case with (). Granted, using break is probably a more elegant solution, but () is still valid Swift.
Can you show what you mean exactly?
switch compiler {
case "Silver":
print("syntax error")
case "Xcode":
print("compiles happily")
default:
()
}
Ah. I had never seen that. I’ll look into it.
Thanks, logged as bugs://80563
bugs://80563 got closed with status fixed.