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-09 21:49:40 +0200 |
commit | 63c90af33290c2df38e70982c8c0151df1b106a9 (patch) | |
tree | a203eb143b6582ca5187beb2e18ecd11779fdaed /test/files | |
parent | 981424b376e8e66253c2ec863ca1222e41d8b374 (diff) | |
download | scala-63c90af33290c2df38e70982c8c0151df1b106a9.tar.gz scala-63c90af33290c2df38e70982c8c0151df1b106a9.tar.bz2 scala-63c90af33290c2df38e70982c8c0151df1b106a9.zip |
Added one more test for SI-6358
Diffstat (limited to 'test/files')
-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 + } +} |