summaryrefslogtreecommitdiff
path: root/scalaParser/src/test/resources/test.scala
diff options
context:
space:
mode:
authorLi Haoyi <haoyi@dropbox.com>2014-11-28 05:53:12 -0800
committerLi Haoyi <haoyi@dropbox.com>2014-11-28 05:53:12 -0800
commit097b5f24938bfb59471da7415be6523a7dfa03f9 (patch)
tree7c35807ee3b3d65a26c3ce6503af53e38e6cb1f6 /scalaParser/src/test/resources/test.scala
parentc2b5d4125f2b868399828281fb8e53e35be6e0f6 (diff)
downloadhands-on-scala-js-097b5f24938bfb59471da7415be6523a7dfa03f9.tar.gz
hands-on-scala-js-097b5f24938bfb59471da7415be6523a7dfa03f9.tar.bz2
hands-on-scala-js-097b5f24938bfb59471da7415be6523a7dfa03f9.zip
Down to js.Function...
Diffstat (limited to 'scalaParser/src/test/resources/test.scala')
-rw-r--r--scalaParser/src/test/resources/test.scala13
1 files changed, 10 insertions, 3 deletions
diff --git a/scalaParser/src/test/resources/test.scala b/scalaParser/src/test/resources/test.scala
index 55e43c2..32bac45 100644
--- a/scalaParser/src/test/resources/test.scala
+++ b/scalaParser/src/test/resources/test.scala
@@ -1,3 +1,10 @@
-class A {
- null: T forSome { type T <: V }
-} \ No newline at end of file
+object K{
+
+ def newBuilder =
+ new B
+
+ @inline def a = 1
+
+
+}
+