[Bro-Dev] switch/case type recognition
vallentin at icir.org
Wed Sep 12 03:20:16 PDT 2018
> A 'vector of any' also qualifies as an 'any', so while the error
> message of "duplicate case label" could possibly be improved, I think
> it's still correct in that it is meant to prevent an ambiguous case
Yeah, with that reasoning anything qualifies as "any", so adding "any"
should never show up in a "case type" statement. Probably a better way
to handle "any" is by just using the "default" case.
More information about the bro-dev