summaryrefslogtreecommitdiff
path: root/test/files/presentation/hyperlinks/src/NameDefaultTests.scala
blob: b218040fe372aeab45301f450fe6a6a21eaddfd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class NameDefaults {
  val someString = "abc"
  val someInt = 42
 
  def foo(x: String, y: Int)(implicit logger: Int): Int = y
  
  implicit val l = 42
  
  def bar {
    println()
    val someOtherInt = 10

    foo(y = someOtherInt/*#*/, x = someString/*#*/)
  }
}