diff options
author | Hubert Plociniczak <hubert.plociniczak@gmail.com> | 2012-09-26 14:23:20 +0200 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@gmail.com> | 2012-10-18 09:45:04 +0200 |
commit | a52bd2c0b9d6715773edeb08651ee325f628370a (patch) | |
tree | 5a9672014b355482707309a3133d802b5e613556 /test | |
parent | 4c86dbbc49266684f66b8731d998b5a3ed508f21 (diff) | |
download | scala-a52bd2c0b9d6715773edeb08651ee325f628370a.tar.gz scala-a52bd2c0b9d6715773edeb08651ee325f628370a.tar.bz2 scala-a52bd2c0b9d6715773edeb08651ee325f628370a.zip |
Added one more test for SI-6358
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/t6358_2.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t6358_2.scala b/test/files/pos/t6358_2.scala new file mode 100644 index 0000000000..7c2beb60d0 --- /dev/null +++ b/test/files/pos/t6358_2.scala @@ -0,0 +1,6 @@ +class Y[T](val i: Option[T]) extends AnyVal { + def q: List[T] = { + lazy val e: List[T] = i.toList + e + } +} |