aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/pos/i2192.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pos/i2192.scala b/tests/pos/i2192.scala
new file mode 100644
index 000000000..2e85e366e
--- /dev/null
+++ b/tests/pos/i2192.scala
@@ -0,0 +1,7 @@
+object Test {
+ def foo(x: Int): Int = x
+
+ Some(foo): Option[Int => Int]
+ // missing arguments for method foo
+ // follow this method with `_' if you want to treat it as a partially applied function
+}