Can we unlock non-optional constants / variables in comma separated conditional statements?

Nah, the if let shorthand itself is the problem. Otherwise this monster bike shed wouldn't exist. They never should have allowed taking the case and ? out of the expression. People would intuitively know how to deal with what your thread is about if we always had to use the full form.

if
  case let array? = optionalArray,
  case let reversedArray: [Int] = array.reversed(),
  case let foo? = someFooFunction(reversedArray),
  case let bar? = someBarFunction(reversedArray)
{
10 Likes