diff options
author | Seth Tisue <seth@tisue.net> | 2016-09-28 20:55:33 -0700 |
---|---|---|
committer | Seth Tisue <seth@tisue.net> | 2016-09-28 21:07:29 -0700 |
commit | 3bce35e5ce36ca912762375da27e94275aead023 (patch) | |
tree | 8b36c894efdddadae19e4f4b248b9e9a8177bf0b /test/files/run/t1323.scala | |
parent | 5757e047a70504991a176aeb2fd8b829d9e9b093 (diff) | |
download | scala-3bce35e5ce36ca912762375da27e94275aead023.tar.gz scala-3bce35e5ce36ca912762375da27e94275aead023.tar.bz2 scala-3bce35e5ce36ca912762375da27e94275aead023.zip |
don't deprecate Either.left and Either.right yet
for two reasons:
* to facilitate warning-free cross-compilation between Scala 2.11
and 2.12
* because it's not clear that .swap is a good replacement for .left
Either.right seems almost certain to be deprecated in 2.13.
Either.left's future is uncertain; see discussion (and links to
additional discussions) at https://github.com/scala/scala/pull/5135
Diffstat (limited to 'test/files/run/t1323.scala')
0 files changed, 0 insertions, 0 deletions