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
Copy file name to clipboardExpand all lines: docs/docs/reference/experimental/overview.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,17 @@ They are enabled by importing the feature or using the `-language` compiler flag
13
13
*`fewerBraces`: Enable support for using indentation for arguments.
14
14
*[`genericNumberLiterals`](./numeric-literals.md): Enable support for generic number literals.
15
15
*[`namedTypeArguments`](./named-typeargs.md): Enable support for named type arguments
16
+
*[`saferExceptions`](./canthrow.md): Enable support for checked exceptions.
16
17
17
18
### Experimental language imports
18
19
19
20
In general, experimental language features can be imported in an experimental scope (see [experimental definitions](../other-new-features/experimental-defs.md).
20
21
They can be imported at the top-level if all top-level definitions are @experimental.
22
+
23
+
### Experimental language features supported by special compiler options
24
+
25
+
Some experimental language features that are still in research and development can be enabled with special compiler options. These include
26
+
27
+
*`-Yexplicit-nulls` Enable support for tracking null references in the type system.
0 commit comments