case label types
Quoted 3 lines
I assume that in general we _do_ want the case/switch statements to have the same test as if you tested for equality explicitly.
I think so.
- case labels [vs the switch value and vs each other]
switch (42) {
case A1: ...;
case b1: ...;
}- comparisons: =, <, ...
- (foo ? e1 : e2)
- function calls?
M.