summaryrefslogtreecommitdiff
path: root/test/files/run/t5568.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-5568 Fixes verify error from getClass on refinement of value typeJames Iry2013-01-151-0/+9
().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.