summaryrefslogtreecommitdiff
path: root/test/files/run/t8610.check
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2014-09-02 16:33:48 +0200
committerLukas Rytz <lukas.rytz@gmail.com>2014-09-02 16:33:48 +0200
commitf196ee2ee7807f007d2397a4d6168800900ae7fa (patch)
tree475de2822a89d25217acc0b7ff0fbc7f3d798519 /test/files/run/t8610.check
parent61dbf4ac711094db38a4b2dfb853d88499c2b1a5 (diff)
parent01f2d279e84fda300176e83ee94c17c08ad1dc3f (diff)
downloadscala-f196ee2ee7807f007d2397a4d6168800900ae7fa.tar.gz
scala-f196ee2ee7807f007d2397a4d6168800900ae7fa.tar.bz2
scala-f196ee2ee7807f007d2397a4d6168800900ae7fa.zip
Merge commit '01f2d27' into merge/2.11-to-2.12-is-it-really-sept-2-already-where-was-summer
Diffstat (limited to 'test/files/run/t8610.check')
-rw-r--r--test/files/run/t8610.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/t8610.check b/test/files/run/t8610.check
new file mode 100644
index 0000000000..b3ab7a9cef
--- /dev/null
+++ b/test/files/run/t8610.check
@@ -0,0 +1,7 @@
+t8610.scala:6: warning: Adapting argument list by creating a 2-tuple: this may not be what you want.
+ signature: X.f(p: (Int, Int)): Int
+ given arguments: 3, 4
+ after adaptation: X.f((3, 4): (Int, Int))
+ def g = f(3, 4) // adapted
+ ^
+Hi, $name