diff options
Diffstat (limited to 'test/pending/pos')
-rw-r--r-- | test/pending/pos/t0756.scala | 8 | ||||
-rw-r--r-- | test/pending/pos/t0774/unrelated.scala | 9 | ||||
-rw-r--r-- | test/pending/pos/t0805.scala | 9 |
3 files changed, 26 insertions, 0 deletions
diff --git a/test/pending/pos/t0756.scala b/test/pending/pos/t0756.scala new file mode 100644 index 0000000000..a778bd63d0 --- /dev/null +++ b/test/pending/pos/t0756.scala @@ -0,0 +1,8 @@ +object Test { + for { + n <- Some(42) + + _ + m <- Some(24) + } yield n +} diff --git a/test/pending/pos/t0774/unrelated.scala b/test/pending/pos/t0774/unrelated.scala new file mode 100644 index 0000000000..1efdb2505e --- /dev/null +++ b/test/pending/pos/t0774/unrelated.scala @@ -0,0 +1,9 @@ +object Outer { + import Inner._ + + deathname + + object Inner { + def deathname: Int = 1 + } +} diff --git a/test/pending/pos/t0805.scala b/test/pending/pos/t0805.scala new file mode 100644 index 0000000000..565a2a6527 --- /dev/null +++ b/test/pending/pos/t0805.scala @@ -0,0 +1,9 @@ +package fr.up5.mi.noel.scala +object Test { + def make(t: Test) : Test = TestList(t.args.toList) +} +case class TestList[T](elements: List[T])(implicit f: T => Test) + +class Test { + val args: Array[Test] +} |