Skip to content

Commit 1469cee

Browse files
oderskyXavientois
authored andcommitted
Reorganize side bar and overview page
1 parent 5808c20 commit 1469cee

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

docs/docs/reference/experimental/overview.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: doc-page
3-
title: "Experimental language features"
3+
title: "Overview"
44
movedTo: https://docs.scala-lang.org/scala3/reference/experimental/overview.html
55
---
66

@@ -15,13 +15,14 @@ They are enabled by importing the feature or using the `-language` compiler flag
1515
* [`namedTypeArguments`](./named-typeargs.md): Enable support for named type arguments
1616
* [`saferExceptions`](./canthrow.md): Enable support for checked exceptions.
1717

18+
### Experimental language imports
19+
20+
In general, experimental language features can be imported in an experimental scope (see [experimental definitions](../other-new-features/experimental-defs.md).
21+
They can be imported at the top-level if all top-level definitions are @experimental.
22+
1823
### Experimental language features supported by special compiler options
1924

2025
Some experimental language features that are still in research and development can be enabled with special compiler options. These include
2126

2227
* `-Yexplicit-nulls` Enable support for tracking null references in the type system.
2328

24-
### Experimental language imports
25-
26-
In general, experimental language features can be imported in an experimental scope (see [experimental definitions](../other-new-features/experimental-defs.md).
27-
They can be imported at the top-level if all top-level definitions are @experimental.

docs/sidebar.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@ sidebar:
114114
- page: docs/reference/experimental/overview.md
115115
- page: docs/reference/experimental/canthrow.md
116116
- page: docs/reference/experimental/erased-defs.md
117-
- page: docs/reference/experimental/erased-defs-spec.md
118117
- page: docs/reference/experimental/named-typeargs.md
119-
- page: docs/reference/experimental/named-typeargs-spec.md
120118
- page: docs/reference/experimental/numeric-literals.md
121119
- page: docs/reference/syntax.md
122120
- title: Language Versions

0 commit comments

Comments
 (0)