summaryrefslogtreecommitdiff
path: root/test/pending/t7629-view-bounds-removal.check
blob: dc52105eaf949675af3035161c4392deddf861aa (plain) (blame)
1
2
3
4
5
6
7
8
9
t7629-view-bounds-removal.scala:2: error: View bounds have been removed. Use an implicit parameter instead.
Example: Instead of `def f[A <% Int](a: A)` use `def f[A](a: A)(implicit ev: A => Int)`.
  def f[A <% Int](a: A) = null
          ^
t7629-view-bounds-removal.scala:3: error: View bounds have been removed. Use an implicit parameter instead.
Example: Instead of `def f[A <% Int](a: A)` use `def f[A](a: A)(implicit ev: A => Int)`.
  def g[C, B <: C, A <% B : Numeric](a: A) = null
                     ^
two errors found