summaryrefslogtreecommitdiff
path: root/lib/jline.jar.desired.sha1
diff options
context:
space:
mode:
authorGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2012-02-01 15:16:14 +0100
committerGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2012-02-01 15:16:14 +0100
commit18d6a9f5054bf7f1c76e48c3eb8da0fb96ccdccb (patch)
treed79df17d9dd470822a3ec8f7d572d239ea839b2a /lib/jline.jar.desired.sha1
parent37bcff7956451cd74d08899e0e49c8b569d3a882 (diff)
downloadscala-18d6a9f5054bf7f1c76e48c3eb8da0fb96ccdccb.tar.gz
scala-18d6a9f5054bf7f1c76e48c3eb8da0fb96ccdccb.tar.bz2
scala-18d6a9f5054bf7f1c76e48c3eb8da0fb96ccdccb.zip
Fixed handling of empty keys in emitSWITCH.
The problem of emitSWITCH not handling empty keys popped up when I tried to implement unfolding of pattern alternatives in genicode instead of in typers/explicitouter. This change makes perfect sense in isolation as bytecode allows LOOKUPSWITCHes that have only default case. I actually verified that this kind of bytecode is generated by javac when one has switch statement with only default case defined. Review by @paulp or @dragos.
Diffstat (limited to 'lib/jline.jar.desired.sha1')
0 files changed, 0 insertions, 0 deletions