scala/scala — pull request #402 by adriaanm (2012-04-14 17:35:26+00:00)
Title: work around optimizer bug SI-5672

the optimizer generates wrong bytecode for switches in arguments
virtpatmat happily emits a switch for a one-case switch, whereas -Xoldpatmat did not
this is not the focus of this test, hence the temporary workaround

for reals, this time, I have no idea why it keeps shifting around like that
(this works on all the machines I tested it on, not just my desktop at home)