[swift-evolution] Testing enum cases with associated values

Andy Chou acchou2 at gmail.com
Tue Jan 17 22:53:04 CST 2017


> if request == .failure  { ... }

Typo. It should read

if result == .failure { ... }



More information about the swift-evolution mailing list