summaryrefslogtreecommitdiff
path: root/test/files/presentation/hyperlinks/src/NameDefaultTests.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/presentation/hyperlinks/src/NameDefaultTests.scala')
-rw-r--r--test/files/presentation/hyperlinks/src/NameDefaultTests.scala16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/files/presentation/hyperlinks/src/NameDefaultTests.scala b/test/files/presentation/hyperlinks/src/NameDefaultTests.scala
new file mode 100644
index 0000000000..b218040fe3
--- /dev/null
+++ b/test/files/presentation/hyperlinks/src/NameDefaultTests.scala
@@ -0,0 +1,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/*#*/)
+ }
+}