diff options
author | James Iry <jamesiry@gmail.com> | 2013-01-14 11:24:11 -0800 |
---|---|---|
committer | James Iry <jamesiry@gmail.com> | 2013-01-15 10:48:22 -0800 |
commit | 765386ff970af8d53aaa66a42b030e83043d471d (patch) | |
tree | 9c3d9cff76fc2e989890e9a88a829dc8596657ee /test/files/run/t3989.scala | |
parent | 621f7a56c21686ebbd39b8ffe9282f917fe1f128 (diff) | |
download | scala-765386ff970af8d53aaa66a42b030e83043d471d.tar.gz scala-765386ff970af8d53aaa66a42b030e83043d471d.tar.bz2 scala-765386ff970af8d53aaa66a42b030e83043d471d.zip |
SI-5568 Fixes verify error from getClass on refinement of value type
().asInstanceOf[AnyRef with Unit].getClass and
5.asInstanceOf[AnyRef with Int].getClass would cause a verify
error. Going the other way, i.e. [Unit with AnyRef] or [Int with AnyRef]
worked fine. This commit fixes it that both directions work out to
BoxedUnit or java.lang.Integer.
Diffstat (limited to 'test/files/run/t3989.scala')
0 files changed, 0 insertions, 0 deletions