In the examples that doesn't, you're implicitly returning the last expression (here some literals). The compiler analyzes every path and stumbles because the except clause doesn't return anything. Granted the error is not very helpful.
- "fall-through" and default values giuliano
- "fall-through" and default values planetis