aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/uncurry.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-03-15 17:10:24 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-03-18 16:06:33 +0100
commit1dbf020c43639b0c37e9005f2692871d39676ac7 (patch)
treeb1855130096b99917845a715344ba6a768ede1fc /tests/pos/uncurry.scala
parent76ea699ac1a76ee6048d7fe8239d0a1126581429 (diff)
downloaddotty-1dbf020c43639b0c37e9005f2692871d39676ac7.tar.gz
dotty-1dbf020c43639b0c37e9005f2692871d39676ac7.tar.bz2
dotty-1dbf020c43639b0c37e9005f2692871d39676ac7.zip
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
Diffstat (limited to 'tests/pos/uncurry.scala')
-rw-r--r--tests/pos/uncurry.scala6
1 files changed, 6 insertions, 0 deletions
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)
+}