From a52bd2c0b9d6715773edeb08651ee325f628370a Mon Sep 17 00:00:00 2001 From: Hubert Plociniczak Date: Wed, 26 Sep 2012 14:23:20 +0200 Subject: Added one more test for SI-6358 --- test/files/pos/t6358_2.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/files/pos/t6358_2.scala (limited to 'test/files/pos/t6358_2.scala') 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 + } +} -- cgit v1.2.3