Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

SI-6126 Test case for varargs of tagged primitives.

This started working after the merge fe1110f. I didn't track
down precisely which commit was responsible beyond that.
  • Loading branch information...
commit 25c73645dab744025935e764b79943fb561a4b65 1 parent 5d65772
@retronym retronym authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 test/files/run/t6126.scala
8 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.
Something went wrong with that request. Please try again.