Message311418
I think it is better to not add the default case in switch statements. If once we will add a new binary or unary operator, but forgot to update ast_unparse.c the compiler will immediately warn about this if there are no default cases. But if there is a default case the compiler will be silent. |
|
Date |
User |
Action |
Args |
2018-02-01 10:34:39 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, christian.heimes, lukasz.langa, matrixise |
2018-02-01 10:34:39 | serhiy.storchaka | set | messageid: <1517481279.95.0.467229070634.issue32711@psf.upfronthosting.co.za> |
2018-02-01 10:34:39 | serhiy.storchaka | link | issue32711 messages |
2018-02-01 10:34:39 | serhiy.storchaka | create | |
|