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
Copy file name to clipboardExpand all lines: docs/docs/reference/dropped-features/package-objects.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,5 +43,5 @@ in a source file `src.scala`, it could be invoked from the command line using a
43
43
44
44
**Note 3:** The notion of `private` is independent of whether a definition is wrapped or not. A `private` toplevel definition is always visible from everywhere in the enclosing package.
45
45
46
-
**Note 4:** If several wrapper objects contain toplevel definitions with the same name,
47
-
only the definition that is compiled last is retained. As a consequence, it is impossible to have overloaded toplevel definitions in different files, as the alternatives in the last-compiled file always replace the alternatives compiled earlier.
46
+
**Note 4:** If several toplevel definitions are overloaded variants with the same name,
0 commit comments