blob: 340d223d2ea7b5a39d9137b591cd5b35e212a400 (
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/*#*/)
}
}
|