diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-01-29 00:13:14 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-01-31 11:00:43 -0800 |
commit | 494ba94518c9b40b7bf600ec7b70561842375597 (patch) | |
tree | 43863709488478b68d8e319dd2f4f59bab295466 /test/files/run | |
parent | 71ea3e8278aad030cbe8c9093fe49790a4e419cb (diff) | |
download | scala-494ba94518c9b40b7bf600ec7b70561842375597.tar.gz scala-494ba94518c9b40b7bf600ec7b70561842375597.tar.bz2 scala-494ba94518c9b40b7bf600ec7b70561842375597.zip |
don't store subpats bound to underscore
also, tweak fix in place for SI-5158 to appease SI-6941
don't store mutable fields from scala.* as we can assume
these classes are well-behaved and do not mutate their
case class fields
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/t6288.check | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/test/files/run/t6288.check b/test/files/run/t6288.check index af6bd5d269..4895c2c007 100644 --- a/test/files/run/t6288.check +++ b/test/files/run/t6288.check @@ -11,10 +11,7 @@ [64]case5()[84]{ [84]<synthetic> val o7: [84]Option[Int] = [84][84]Case3.unapply([84]x1); [84]if ([84]o7.isEmpty.unary_!) - [84]{ - [90]val nr: [90]Int = [90]o7.get; - [97][97]matchEnd4([97]()) - } + [97][97]matchEnd4([97]()) else [84][84]case6() }; @@ -38,10 +35,7 @@ [195]<synthetic> val o7: [195]Option[List[Int]] = [195][195]Case4.unapplySeq([195]x1); [195]if ([195]o7.isEmpty.unary_!) [195]if ([195][195][195][195]o7.get.!=([195]null).&&([195][195][195][195]o7.get.lengthCompare([195]1).==([195]0))) - [195]{ - [201]val nr: [201]Int = [201][201]o7.get.apply([201]0); - [208][208]matchEnd4([208]()) - } + [208][208]matchEnd4([208]()) else [195][195]case6() else |