Skip to content

Commit

Permalink
SI-6126 Test case for varargs of tagged primitives.
Browse files Browse the repository at this point in the history
This started working after the merge fe1110f. I didn't track
down precisely which commit was responsible beyond that.
  • Loading branch information
retronym committed Jan 13, 2013
1 parent 5d65772 commit 25c7364
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/files/run/t6126.scala
@@ -0,0 +1,8 @@
trait LogLevelType
object Test {
type LogLevel = Int with LogLevelType
final val ErrorLevel = 1.asInstanceOf[Int with LogLevelType]
def main(args: Array[String]) {
List(ErrorLevel, ErrorLevel)
}
}

0 comments on commit 25c7364

Please sign in to comment.