Permalink
Browse files

SI-8011 Test case for recently fixed value class bug

The improvements to symbol substitution in cb37548 made this
one work.
  • Loading branch information...
1 parent 7a1a160 commit 05620ad4e158297c7f12e9f703d19e379ed084ca @retronym retronym committed Nov 26, 2013
Showing with 8 additions and 0 deletions.
  1. +8 −0 test/files/pos/t8011.scala
@@ -0,0 +1,8 @@
+class ThingOps1(val x: String) extends AnyVal {
+ def fn[A]: Any = {
+ new X[A] { def foo(a: A) = a }
+ 0
+ }
+}
+
+trait X[B] { def foo(a: B): Any }

0 comments on commit 05620ad

Please sign in to comment.