summaryrefslogtreecommitdiff
path: root/test/files/neg/t5801.scala
blob: d452222ac89ad6977b45851f7a2c09661a1ed276 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import scala.sth

object Test extends App {
  def foo(a: Int)(implicit b: sth.Sth): Unit = {}
  foo(1)

  def bar(x: Int)(implicit y: Int): sth.Sth = null
  bar(1)

  def meh(x: Int)(implicit a: sth.Sth, b: Int): Unit = {}
  meh(1)

  def meh2(x: Int)(implicit b: Int, a: sth.Sth): Unit = {}
  meh2(1)
}