aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/functions1.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-12-15 12:26:04 +0100
committerMartin Odersky <odersky@gmail.com>2013-12-15 12:26:04 +0100
commit99393624e3bf001a6c20c7615ac88ef4201a93f8 (patch)
tree1f3a8800364fcfb1001b08a335acdfe8fa288c01 /tests/pos/functions1.scala
parent01db9a68e5e68f08c8236c23c905009789d51587 (diff)
downloaddotty-99393624e3bf001a6c20c7615ac88ef4201a93f8.tar.gz
dotty-99393624e3bf001a6c20c7615ac88ef4201a93f8.tar.bz2
dotty-99393624e3bf001a6c20c7615ac88ef4201a93f8.zip
Fixes related to SAM types.
1. Changes to SAMType extractor 2. Self names are no longer members of enclosing class 3. SAM-Type closures now print with their result type. 4. refactoring newSkolemSingleon ==> narrow
Diffstat (limited to 'tests/pos/functions1.scala')
-rw-r--r--tests/pos/functions1.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/pos/functions1.scala b/tests/pos/functions1.scala
index 99709bc88..52ea3c3f9 100644
--- a/tests/pos/functions1.scala
+++ b/tests/pos/functions1.scala
@@ -10,7 +10,7 @@ object Functions {
val xf2: String => Int = x.foo(_)
val x2: String => Int = x.foo
val x3 = x.foo _
- /*
+
abstract class Spore[T, U] {
def run(x: T): U
}
@@ -29,5 +29,4 @@ object Functions {
}
val z: Spore[String, String] = x => x + x
val z2: Spore2[String, String] = x => x + x
- */
}