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