diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-01-18 10:39:14 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-01-18 10:39:14 -0800 |
commit | 0beca4b2f039fb21222cef29c1b7b5a012df5e61 (patch) | |
tree | a79814df4fcf045f0862489a6f33531a0984796c /test/files/presentation/t8085b/src/p1/nodescala/package.scala | |
parent | 9bc68766aa17b3509de1bac0e330ea80b6955cdf (diff) | |
parent | eca51c403066f20e6b82ba55bf6794d165b0a9ab (diff) | |
download | scala-0beca4b2f039fb21222cef29c1b7b5a012df5e61.tar.gz scala-0beca4b2f039fb21222cef29c1b7b5a012df5e61.tar.bz2 scala-0beca4b2f039fb21222cef29c1b7b5a012df5e61.zip |
Merge pull request #3383 from adriaanm/merge-2.10.x
Merge 2.10.x
Diffstat (limited to 'test/files/presentation/t8085b/src/p1/nodescala/package.scala')
-rw-r--r-- | test/files/presentation/t8085b/src/p1/nodescala/package.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/presentation/t8085b/src/p1/nodescala/package.scala b/test/files/presentation/t8085b/src/p1/nodescala/package.scala new file mode 100644 index 0000000000..cc383f1bab --- /dev/null +++ b/test/files/presentation/t8085b/src/p1/nodescala/package.scala @@ -0,0 +1,9 @@ +import scala.Some // <-- if you move the import *inside* the package object, then it all works fine!! + +package p1 { + package object nodescala { + implicit class StringOps(val f: String) { + def rich = 0 + } + } +} |