File tree 1 file changed +12
-1
lines changed
library/src/scala/runtime/stdLibPatches
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,18 @@ object language:
96
96
* @see [[https://dotty.epfl.ch/docs/reference/experimental/into-modifier ]]
97
97
*/
98
98
@ compileTimeOnly(" `namedTuples` can only be used at compile time in import statements" )
99
- object namedTuples
99
+ object namedTupleas
100
+
101
+ /** Experimental support for new features for better modularity, including
102
+ * - better tracking of dependencies through classes
103
+ * - better usability of context bounds
104
+ * - better syntax and conventions for type classes
105
+ * - ability to merge exported types in intersections
106
+ *
107
+ * @see [[https://dotty.epfl.ch/docs/reference/experimental/modularity ]]
108
+ */
109
+ @ compileTimeOnly(" `modularity` can only be used at compile time in import statements" )
110
+ object modularity
100
111
101
112
/** Was needed to add support for relaxed imports of extension methods.
102
113
* The language import is no longer needed as this is now a standard feature since SIP was accepted.
You can’t perform that action at this time.
0 commit comments