diff options
author | Lukas Rytz <lukas.rytz@typesafe.com> | 2016-03-04 08:07:06 +0100 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@typesafe.com> | 2016-03-04 08:07:06 +0100 |
commit | f302963b988a1705a198a5d2f7864842041be193 (patch) | |
tree | 9f34715e57f643184cf987fbb871f92eee66f391 /test/files/run/t9546c.scala | |
parent | 861e4766da5a2271ae66d5d5fd054f6fe01ac7b9 (diff) | |
parent | f08282946647ec4049af965024b4638a4a55f5fd (diff) | |
download | scala-f302963b988a1705a198a5d2f7864842041be193.tar.gz scala-f302963b988a1705a198a5d2f7864842041be193.tar.bz2 scala-f302963b988a1705a198a5d2f7864842041be193.zip |
Merge pull request #5002 from retronym/ticket/9546
SI-9546 Fix regression in rewrite of case apply to constructor call
Diffstat (limited to 'test/files/run/t9546c.scala')
-rw-r--r-- | test/files/run/t9546c.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/run/t9546c.scala b/test/files/run/t9546c.scala new file mode 100644 index 0000000000..ea6a5a36b4 --- /dev/null +++ b/test/files/run/t9546c.scala @@ -0,0 +1,13 @@ +package foo { + case class Opt[A] private[foo](val get: A) + object Opt { + def mkOpt = Opt("") + } +} + +object Test { + def main(args: Array[String]): Unit = { + foo.Opt.mkOpt + } +} + |