aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2014-03-20 11:34:31 +0100
committerodersky <odersky@gmail.com>2014-03-20 11:34:31 +0100
commit2df29a28c8e0b2e36a341f5f969b00aee727b188 (patch)
treeea7fb78ef00bbf65643f7f248849ede756548573 /tests
parente23b5a25baf491672fd2f0cee8e6fb5dc7b5a5ca (diff)
parent09d02bd3670b947da147aec40835822d894b17b0 (diff)
downloaddotty-2df29a28c8e0b2e36a341f5f969b00aee727b188.tar.gz
dotty-2df29a28c8e0b2e36a341f5f969b00aee727b188.tar.bz2
dotty-2df29a28c8e0b2e36a341f5f969b00aee727b188.zip
Merge pull request #81 from DarkDimius/integration/lazy
Allow MiniPhase to be DenotTransformer & LazyVals
Diffstat (limited to 'tests')
-rw-r--r--tests/pos/curried.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos/curried.scala b/tests/pos/curried.scala
new file mode 100644
index 000000000..a11a0652d
--- /dev/null
+++ b/tests/pos/curried.scala
@@ -0,0 +1,6 @@
+object UnCurryTest {
+
+ def f(x: Int)(y: Int) = x + y
+
+ f(1)(2)
+}