diff options
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/names-defaults.check | 1 | ||||
-rw-r--r-- | test/files/run/names-defaults.scala | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/names-defaults.check b/test/files/run/names-defaults.check index 5c2290acf9..e9381760ce 100644 --- a/test/files/run/names-defaults.check +++ b/test/files/run/names-defaults.check @@ -96,6 +96,7 @@ test5 4 test5 5 +10: 2 slkdfj1 1 lskfdjlk diff --git a/test/files/run/names-defaults.scala b/test/files/run/names-defaults.scala index 0e5a268e62..162c0bc43e 100644 --- a/test/files/run/names-defaults.scala +++ b/test/files/run/names-defaults.scala @@ -177,6 +177,7 @@ object Test extends Application { println(argName) // should be 4 test5 { argName = 5 } println(argName) // should be 5 + val a = test1(a = 10, b = "2") // local values a and b exist, but not ambiuous since they're val's // dependent types and copy method |