diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-05-16 23:46:07 +0300 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-09-06 09:23:04 +1000 |
commit | f3d97117bbd2cca9d0cb7d58eb5a62429cfe5147 (patch) | |
tree | 4000415a7f6816d7906ea4a980ffa555b18306e1 /test/files/run/lub-visibility.check | |
parent | 21644611b3c676210d312eca1e0169d21070b50e (diff) | |
download | scala-f3d97117bbd2cca9d0cb7d58eb5a62429cfe5147.tar.gz scala-f3d97117bbd2cca9d0cb7d58eb5a62429cfe5147.tar.bz2 scala-f3d97117bbd2cca9d0cb7d58eb5a62429cfe5147.zip |
Prefer scala.Serializable to j.io.Serializable
The former extends the latter, and exists as a platorm agnostic
serialization marker trait. It is of less value now that we
have jettisoned the MSIL backend, but while it still exists
we ought ought to use it.
I achieved this by replacing wildcard import of `java.io._`
with selective imports, leaving `Serializable` to bind to
`scala.Serializable`.
Diffstat (limited to 'test/files/run/lub-visibility.check')
-rw-r--r-- | test/files/run/lub-visibility.check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/lub-visibility.check b/test/files/run/lub-visibility.check index 70734966f0..135cb3cb76 100644 --- a/test/files/run/lub-visibility.check +++ b/test/files/run/lub-visibility.check @@ -6,6 +6,6 @@ scala> // should infer List[scala.collection.immutable.Seq[Nothing]] scala> // but reverted that for SI-5534. scala> val x = List(List(), Vector()) -x: List[scala.collection.immutable.Seq[Nothing] with scala.collection.AbstractSeq[Nothing] with java.io.Serializable] = List(List(), Vector()) +x: List[scala.collection.immutable.Seq[Nothing] with scala.collection.AbstractSeq[Nothing] with Serializable] = List(List(), Vector()) scala> :quit |