diff options
author | Prashant Sharma <scrapcodes@gmail.com> | 2015-06-10 10:38:54 +0530 |
---|---|---|
committer | Prashant Sharma <scrapcodes@gmail.com> | 2015-06-10 11:51:45 +0530 |
commit | 39a5e1aed93f7b1483802a0248295229d711e072 (patch) | |
tree | dc036c74edb9b096060a2696d9fab2239a7f3fb4 /test/files/run/t7747-repl.scala | |
parent | db114aa44efe63763a883dcf07d667fe7d744ff6 (diff) | |
download | scala-39a5e1aed93f7b1483802a0248295229d711e072.tar.gz scala-39a5e1aed93f7b1483802a0248295229d711e072.tar.bz2 scala-39a5e1aed93f7b1483802a0248295229d711e072.zip |
SI-7747 More tests and logic according to our conclusions on #4522.
Diffstat (limited to 'test/files/run/t7747-repl.scala')
-rw-r--r-- | test/files/run/t7747-repl.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/t7747-repl.scala b/test/files/run/t7747-repl.scala index a681eb8851..141c2d9844 100644 --- a/test/files/run/t7747-repl.scala +++ b/test/files/run/t7747-repl.scala @@ -65,6 +65,10 @@ object Test extends ReplTest { |case class PuppyPups() |case class Bingo() |List(BippyBups(), PuppyPups(), Bingo()) // show + |case class Sum(exp: String, exp2: String) + |val a = Sum("A", "B") + |def b(a: Sum): String = a match { case Sum(_, _) => "Found Sum" } + |b(a) |:power |intp.lastRequest |""".stripMargin |