You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They can be accessed inside `Copier` as well as from outside:
41
41
42
-
```scala
42
+
```scala sc-compile-with:Model.scala
43
43
valcopier=newCopier
44
44
copier.print(copier.scan())
45
45
```
46
46
47
47
An export clause has the same format as an import clause. Its general form is:
48
48
49
-
```scala
49
+
```scala sc:nocompile
50
50
exportpath . { sel_1, ..., sel_n }
51
51
```
52
52
@@ -86,9 +86,9 @@ referring to private values in the qualifier path
86
86
are marked by the compiler as "stable" and their result types are the singleton types of the aliased definitions. This means that they can be used as parts of stable identifier paths, even though they are technically methods. For instance, the following is OK:
87
87
```scala
88
88
classC { typeT }
89
-
objectO { valc:C=... }
89
+
objectO { valc:C=??? }
90
90
exportO.c
91
-
deff: c.T=...
91
+
deff: c.T=???
92
92
```
93
93
94
94
@@ -98,7 +98,7 @@ def f: c.T = ...
98
98
1. If an export clause contains a wildcard or given selector, it is forbidden for its qualifier path to refer to a package. This is because it is not yet known how to safely track wildcard dependencies to a package for the purposes of incremental compilation.
99
99
100
100
1. Simple renaming exports like
101
-
```scala
101
+
```scala sc:nocompile
102
102
exportstatusasstat
103
103
```
104
104
are not supported yet. They would run afoul of the restriction that the
0 commit comments