Community
Participate
Working Groups
When switching on an expression that evaluates to a long, double, or float, an error results. This is correct. It would be nice if Quick Fix treats the target type as int, and provided the same suggestions as for assigning to an int. Example: long l; switch(l) {} //Quick Fix: Add cast to 'int' //Quick Fix: Change type of 'l' to 'int'
Moving to UI