We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 426bbf7 commit aabf4a2Copy full SHA for aabf4a2
tests/run/exports.scala
@@ -0,0 +1,28 @@
1
+object Test extends App {
2
+
3
+ case class Config()
4
5
+ class Printer {
6
+ def print() = println("printing")
7
+ implied config for Config()
8
+ }
9
10
+ class Scanner {
11
+ def scan() = println("scanning")
12
13
+ object Scanner extends Scanner
14
15
+ object Copier {
16
+ val printer = new Printer
17
+ export printer._
18
+ export implied printer._
19
+ export Scanner.{scan => scanIt, _}
20
21
+ val config2 = the[Config]
22
23
24
+ Copier.print()
25
+ Copier.scanIt()
26
+ Copier.config
27
+ Copier.config2
28
+}
0 commit comments