Avatar
swiftbot BOT 5/7/2018 4:34 AM
Author icon
omochimetaru
let a = false let b = true switch (a, b) { case (true, true): break case (true, false): break case (false, true): break }
Version:
swift-4.1.1-RELEASE
Output:
Error:
/usercode/main.swift:4:1: error: switch must be exhaustive switch (a, b) { ^ /usercode/main.swift:4:1: note: add missing case: '(false, false)' switch (a, b) { ^