diff options
author | Stefan Zeiger <szeiger@novocode.com> | 2016-07-18 12:10:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-18 12:10:53 +0200 |
commit | c901ad6c66ddcaafdd7600027afc330595bcecbb (patch) | |
tree | 99a37b6ab0fb1b56df2e29715831c6bc4e676f7c /test/files/neg/t4851.check | |
parent | fbdbfbef1dcab55225fc59d699346878aeed1f6d (diff) | |
parent | 26758054f80081a2fec32ed1c7d3fc92efeacb31 (diff) | |
download | scala-c901ad6c66ddcaafdd7600027afc330595bcecbb.tar.gz scala-c901ad6c66ddcaafdd7600027afc330595bcecbb.tar.bz2 scala-c901ad6c66ddcaafdd7600027afc330595bcecbb.zip |
Merge pull request #5275 from dwijnand/somex
Deprecated and rename Some#x to Some#value
Diffstat (limited to 'test/files/neg/t4851.check')
-rw-r--r-- | test/files/neg/t4851.check | 4 |
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) |