summaryrefslogtreecommitdiff
path: root/scalaParser/src/test/resources/test.scala
diff options
context:
space:
mode:
Diffstat (limited to 'scalaParser/src/test/resources/test.scala')
-rw-r--r--scalaParser/src/test/resources/test.scala11
1 files changed, 8 insertions, 3 deletions
diff --git a/scalaParser/src/test/resources/test.scala b/scalaParser/src/test/resources/test.scala
index 5267441..191933e 100644
--- a/scalaParser/src/test/resources/test.scala
+++ b/scalaParser/src/test/resources/test.scala
@@ -1,3 +1,8 @@
-trait T{
- s match { case S(_, r @ _*) => 1 }
-} \ No newline at end of file
+class A {
+ def fn1 = List apply 1
+ def fn2 = List apply[Int] 2
+
+ def g1: Char = "g1" toList 0
+ def g2: Char = "g2" apply 1
+
+ def h1 = List apply[List[Int]] (List(1), List(2)) mapConserve[List[Any]] (x => x) \ No newline at end of file