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
All experimental language features can be found under the `scala.language.experimental` package.
10
+
They are enabled by importing the feature or using the `-language` compiler flag.
11
+
12
+
*[`erasedDefinitions`](./erased-defs.md): Enable support for `erased` modifier.
13
+
*`fewerBraces`: Enable support for using indentation for arguments.
14
+
*[`genericNumberLiterals`](../changed-features/numeric-literals.md): Enable support for generic number literals.
15
+
*[`namedTypeArguments`](../changed-features/named-typeargs.md): Enable support for named type arguments
16
+
17
+
### Experimental language imports
18
+
19
+
In general, experimental language features can be imported in an experimental scope (see [experimental definitions](../other-new-features/experimental-defs.md).
20
+
They can be imported at the top-level if all top-level definitions are @experimental.
0 commit comments