File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
library/src/scala/runtime/stdLibPatches Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,17 @@ object language:
9191 @ compileTimeOnly(" `into` can only be used at compile time in import statements" )
9292 object into
9393
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+
94105 /** Was needed to add support for relaxed imports of extension methods.
95106 * The language import is no longer needed as this is now a standard feature since SIP was accepted.
96107 * @see [[http://dotty.epfl.ch/docs/reference/contextual/extension-methods ]]
You can’t perform that action at this time.
0 commit comments