summaryrefslogtreecommitdiff
path: root/test/files/run/t5568.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-5568 Comment improvements for getClass on primitive intersection.James Iry2013-01-151-2/+0
| | | | | Based on code review here are a few comment cleanups and the removal of some dead test code.
* SI-5568 Fixes verify error from getClass on refinement of value typeJames Iry2013-01-151-0/+18
().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.