This is currently accepted but really should be an error (at least, closure compiler recognizes the error): ```js function foo(x: ?number): string { switch(x) { case 2: return "foo"; case 3: return "bar"; case 3: return "baz"; } return "default string"; } ```
This is currently accepted but really should be an error (at least, closure compiler recognizes the error):