summaryrefslogblamecommitdiff
path: root/test/files/presentation/hyperlinks/src/NameDefaultTests.scala
blob: 340d223d2ea7b5a39d9137b591cd5b35e212a400 (plain) (tree)
1
2
3
4
5
6
7
8
9



                        
 
                                                           
 
                     
 






                                                   
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/*#*/)
  }
}