commit | 4e9ead62662c908c82469b0e2d5f773dc4e238a3 | [log] [tgz] |
---|---|---|
author | alexcom <a.kravec84@gmail.com> | Tue Sep 25 18:12:41 2018 +0300 |
committer | alexcom <a.kravec84@gmail.com> | Tue Sep 25 18:12:41 2018 +0300 |
tree | 357675772f4fb979bf28910fb73a9c666222e0ac | |
parent | 307622669584abe699b66abc44aeed09b53466ed [diff] [blame] |
Add note regarding fallthrough in type switch
diff --git a/Switch.md b/Switch.md index 39445a8..5bbebc5 100644 --- a/Switch.md +++ b/Switch.md
@@ -173,6 +173,8 @@ 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.