summaryrefslogtreecommitdiff
path: root/test/files/neg/t4851.check
diff options
context:
space:
mode:
authorDale Wijnand <dale.wijnand@gmail.com>2016-07-13 15:35:31 +0100
committerDale Wijnand <dale.wijnand@gmail.com>2016-07-15 08:41:58 +0100
commit26758054f80081a2fec32ed1c7d3fc92efeacb31 (patch)
tree474dd6566f8a8337c1d405aebade9da3807a668d /test/files/neg/t4851.check
parent3c43a7bc389eba0d7d52ef0d0cdb19812c4a8a0f (diff)
downloadscala-26758054f80081a2fec32ed1c7d3fc92efeacb31.tar.gz
scala-26758054f80081a2fec32ed1c7d3fc92efeacb31.tar.bz2
scala-26758054f80081a2fec32ed1c7d3fc92efeacb31.zip
Deprecated and rename Some#x to Some#value
Diffstat (limited to 'test/files/neg/t4851.check')
-rw-r--r--test/files/neg/t4851.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/t4851.check b/test/files/neg/t4851.check
index ac0854f810..721923e0ba 100644
--- a/test/files/neg/t4851.check
+++ b/test/files/neg/t4851.check
@@ -17,13 +17,13 @@ S.scala:4: warning: Adapting argument list by creating a 5-tuple: this may not b
val x3 = new J(1, 2, 3, 4, 5)
^
S.scala:6: warning: Adapting argument list by creating a 3-tuple: this may not be what you want.
- signature: Some.apply[A](x: A): Some[A]
+ signature: Some.apply[A](value: A): Some[A]
given arguments: 1, 2, 3
after adaptation: Some((1, 2, 3): (Int, Int, Int))
val y1 = Some(1, 2, 3)
^
S.scala:7: warning: Adapting argument list by creating a 3-tuple: this may not be what you want.
- signature: Some(x: A): Some[A]
+ signature: Some(value: A): Some[A]
given arguments: 1, 2, 3
after adaptation: new Some((1, 2, 3): (Int, Int, Int))
val y2 = new Some(1, 2, 3)