DuplicateCase occurs when a type or expression switch has duplicate cases. Example: func printInt(i int) { switch i { case 1: println("one") case 1: println("One") } }