fix Issue 12211 - Assignment expression is not an lvalue
Give users some guidance on how to handle missing default cases.
Merge pull request #3287 from schuetzm/non_final_switch_hint

Give users some guidance on how to handle missing default cases.
Merge pull request #3306 from 9rnsr/fix12211

Issue 12211 - Assignment expression is not an lvalue