From 6e8ca801e53abdac645a19a3643c42558bce262a Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sun, 9 Apr 2017 19:06:28 +0200 Subject: Fix #2188: Do cbn transform also on Selects These can arise as a result of an explicit outer transform. --- tests/pos/i2188.scala | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/pos/i2188.scala (limited to 'tests') diff --git a/tests/pos/i2188.scala b/tests/pos/i2188.scala new file mode 100644 index 000000000..4129977ac --- /dev/null +++ b/tests/pos/i2188.scala @@ -0,0 +1,5 @@ +class Fill(elem: => Int) { + class Iter { + def next(): Int = elem + } +} -- cgit v1.2.3