File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
library/src/scala/runtime/stdLibPatches Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,18 @@ object language:
9696 * @see [[https://dotty.epfl.ch/docs/reference/experimental/into-modifier ]]
9797 */
9898 @ 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
100111
101112 /** Was needed to add support for relaxed imports of extension methods.
102113 * 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