Add note regarding fallthrough in type switch

alexcom 2018-09-25 18:12:41 +03:00
parent 3076226695
commit 4e9ead6266

@ -173,6 +173,8 @@ default:
error()
}
```
Note: `fallthrough` does not work in type switch.
## Multiple cases
If you want to use multiple values in the same case, use a comma-separated list.