You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enum UserField {
case id(Int)
case username(String)
case vision(Int, Int)
case height(feet: Int, inches: Int)
}
Then the following switch should be generated:
switch value {
case .id(let value):
break
case .username(let username):
break
case .vision(let value1, let value2):
break
case .height(let feet, let inches):
break
}
The text was updated successfully, but these errors were encountered:
Say I have the following enum
Then the following switch should be generated:
The text was updated successfully, but these errors were encountered: