diff options
Diffstat (limited to 'test/files/presentation/t8085/src/nodescala/package.scala')
-rw-r--r-- | test/files/presentation/t8085/src/nodescala/package.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/presentation/t8085/src/nodescala/package.scala b/test/files/presentation/t8085/src/nodescala/package.scala new file mode 100644 index 0000000000..26fb9f08e4 --- /dev/null +++ b/test/files/presentation/t8085/src/nodescala/package.scala @@ -0,0 +1,7 @@ +import scala.Some // <-- if you move the import *inside* the package object, then it all works fine!! + +package object nodescala { + implicit class StringOps(val f: String) { + def rich = 0 + } +} |