aboutsummaryrefslogtreecommitdiff
path: root/tests/pos
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2016-07-21 15:57:02 +0200
committerGitHub <noreply@github.com>2016-07-21 15:57:02 +0200
commit80a65f4b2512bdf1dc46144bea1c000d39319872 (patch)
tree3153a177e298d5416a0a187163a48d4ba6503154 /tests/pos
parent990663624bdaa93bd7db5f64be78f3ca26d59633 (diff)
parent9ccb47ae2e9ae34a0ebd6bafbf6f327b39fc8d4a (diff)
downloaddotty-80a65f4b2512bdf1dc46144bea1c000d39319872.tar.gz
dotty-80a65f4b2512bdf1dc46144bea1c000d39319872.tar.bz2
dotty-80a65f4b2512bdf1dc46144bea1c000d39319872.zip
Merge pull request #1395 from dotty-staging/fix-#1378
Fix #1378: Propagate more knowledge of result type into applications
Diffstat (limited to 'tests/pos')
-rw-r--r--tests/pos/i1378.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pos/i1378.scala b/tests/pos/i1378.scala
new file mode 100644
index 000000000..31475daf2
--- /dev/null
+++ b/tests/pos/i1378.scala
@@ -0,0 +1,3 @@
+object Test {
+ (1, x => 2): (Int, Int => Int)
+}