Why in Swift is this legal...
assert( false, "Unexpected diagnosis: \(diagnosis)" );
whereas this is not?
let assertString = "Unexpected diagnosis: \(diagnosis)"
assert( false, assertString );
In the second snippet, I get the error...
Cannot invoke 'assert' with an argument list of type '(BooleanLiteralConvertible, String)
Surely, the second parameter is a string in both cases.