From 1dbf020c43639b0c37e9005f2692871d39676ac7 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sat, 15 Mar 2014 17:10:24 +0100 Subject: Refactored denotation transformers Many small and large changes. Added samplePhase to demonstrate functionality. To test functioning, run the compiler with args tests/pos/uncurry.scala -Ylog:sample,terminal --- tests/pos/uncurry.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/pos/uncurry.scala (limited to 'tests/pos/uncurry.scala') diff --git a/tests/pos/uncurry.scala b/tests/pos/uncurry.scala new file mode 100644 index 000000000..a11a0652d --- /dev/null +++ b/tests/pos/uncurry.scala @@ -0,0 +1,6 @@ +object UnCurryTest { + + def f(x: Int)(y: Int) = x + y + + f(1)(2) +} -- cgit v1.2.3