aboutsummaryrefslogblamecommitdiff
path: root/tests/run/t8197b.scala
blob: a9012ddf9de4099e31e68f705438a5211d7ab063 (plain) (tree)
1
2
3
4
5
6
7
8







                                                          
object O {
  def foo[T](t: T) = 0
  def foo(s: String)(implicit i: DummyImplicit = null) = 1
}

object Test extends dotty.runtime.LegacyApp {
  assert(O.foo("") == 1)
}