diff options
author | Paul Phillips <paulp@improving.org> | 2011-09-13 17:50:46 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-09-13 17:50:46 +0000 |
commit | acc4c04b0c29436d2328d0e31a26bf2be4b96117 (patch) | |
tree | cc86c5aef30ddc2257f4ac09a157c2c89fe8ca90 /test/files | |
parent | 3949410af713249a8d2c8a494eb2b6711a0805a0 (diff) | |
download | scala-acc4c04b0c29436d2328d0e31a26bf2be4b96117.tar.gz scala-acc4c04b0c29436d2328d0e31a26bf2be4b96117.tar.bz2 scala-acc4c04b0c29436d2328d0e31a26bf2be4b96117.zip |
Refine lub calculation.
When a reasonable lub cannot be arrived at by direct means, use the
bounds of the lub inputs to derive bounds for the lub rather than giving
up. Closes SI-4938, review by moors.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/t4938.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/t4938.scala b/test/files/pos/t4938.scala new file mode 100644 index 0000000000..6e41312851 --- /dev/null +++ b/test/files/pos/t4938.scala @@ -0,0 +1,4 @@ +class A { + import scala.collection.mutable._ + val xs = List(Set(), Seq()) +} |