From 274ce619902b1e92ec22fcff30b965fbbece2ad3 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sun, 25 Sep 2011 17:09:04 +0000 Subject: Getting liftCode to work. --- test/files/pos/t532.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/files/pos/t532.scala (limited to 'test/files/pos/t532.scala') diff --git a/test/files/pos/t532.scala b/test/files/pos/t532.scala new file mode 100644 index 0000000000..32649b1629 --- /dev/null +++ b/test/files/pos/t532.scala @@ -0,0 +1,10 @@ +object Test extends App { + import scala.reflect._; + def titi: Unit = { + var truc = 0 + val tata: Code[()=>Unit] = () => { + truc = truc + 6 + } + () + } +} -- cgit v1.2.3