Skip to content

Commit

Permalink
fix #9482: add pos test
Browse files Browse the repository at this point in the history
  • Loading branch information
bishabosha committed Jul 22, 2021
1 parent c8c76b5 commit 7bf1f60
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/pos/i9482.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import scala.reflect.OptManifest

object Ref {
def make[A: OptManifest]: Ref[A] = ???
}
trait Ref[A]

trait Foo[A] {
val bar = Ref.make[Int]
val baz: Ref[A] = Ref.make
}

0 comments on commit 7bf1f60

Please sign in to comment.