Overview
| Artifact ID: | 05d5ce5b5e6223f9d24d2d45cb5b104429fb7e17 |
|---|---|
| Ticket: | 475397ffffffffffffffffffffffffffffffffff
[switch] accepts illegal arguments |
| User & Date: | dgp on 2001-10-27 03:51:46 |
Changes
- icomment:
Logged In: YES user_id=80530 Note also switch a {a {} default -} vs switch b {a {} default -} and switch a {a {} b -} vs. switch b {a {} b -} The common thread is that errors aren't caught until an attempt to evaluate them is made. Finally, note the inconsistency of switch a and switch a {} The man page for switch say both should raise an error. I'd be happier if both were successful no-ops. - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"