aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i480.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-04-17 10:52:15 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-17 21:30:43 +0200
commit6bcc3187a81ec1f2078709a1a9249ec57a393aad (patch)
tree6262c18f4d065c9186c7ee246578c082ad48773e /tests/pos/i480.scala
parente0a0c39a2578eca9927fa4c435ce14654422a825 (diff)
downloaddotty-6bcc3187a81ec1f2078709a1a9249ec57a393aad.tar.gz
dotty-6bcc3187a81ec1f2078709a1a9249ec57a393aad.tar.bz2
dotty-6bcc3187a81ec1f2078709a1a9249ec57a393aad.zip
Improve documentation and minimze test
Documentation around markFree and narrowLiftedOwner was added. i480 was minimzed and dependencies on dotc were removed. (+1 squashed commit) Squashed commits: [1a84054] Test cases for #480
Diffstat (limited to 'tests/pos/i480.scala')
-rw-r--r--tests/pos/i480.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pos/i480.scala b/tests/pos/i480.scala
new file mode 100644
index 000000000..8c2bb057c
--- /dev/null
+++ b/tests/pos/i480.scala
@@ -0,0 +1,4 @@
+object O {
+ val x: Function1[String, String] = a => a
+ val x2: Function1[String, String] = a => "1"
+}