Skip to contentSkip to conversation

case label types

DISCUSSION Morten Welinder 1 participant 1 message Mar 16, 2006 Sparse checker

lore
Share & tools
lore
#0 lore raw
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.