summaryrefslogtreecommitdiff
path: root/test/files/presentation/t8085/src/nodescala/package.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/presentation/t8085/src/nodescala/package.scala')
-rw-r--r--test/files/presentation/t8085/src/nodescala/package.scala7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/files/presentation/t8085/src/nodescala/package.scala b/test/files/presentation/t8085/src/nodescala/package.scala
index 6e9d4b729a..26fb9f08e4 100644
--- a/test/files/presentation/t8085/src/nodescala/package.scala
+++ b/test/files/presentation/t8085/src/nodescala/package.scala
@@ -1,8 +1,7 @@
-import scala.concurrent.Future // <-- if you move the import *inside* the package object, then it all works fine!!
+import scala.Some // <-- if you move the import *inside* the package object, then it all works fine!!
package object nodescala {
- implicit class FutureCompanionOps[T](val f: Future.type) extends AnyVal {
- def always[T](value: T): Future[T] = Promise[T].success(value).future
+ implicit class StringOps(val f: String) {
+ def rich = 0
}
}
-