Skip to content

Commit d1072f0

Browse files
committed
Remove source files in _scala3-reference/
1 parent c247790 commit d1072f0

File tree

145 files changed

+64
-13935
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+64
-13935
lines changed

_config.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ collections:
4545
getting-started:
4646
output: true
4747
permalink: /:collection/:path.html
48-
scala3-reference: # not really a collection, but this is the only way I found to be able to generate the navigation bar on the right
49-
output: true
5048
ja: # Japanese translations
5149
output: true
5250
permalink: /:collection/:path.html
@@ -152,16 +150,6 @@ defaults:
152150
overview-name: "Scaladoc"
153151
layout: multipage-overview
154152
permalink: "/scala3/guides/scaladoc/:title.html"
155-
-
156-
scope:
157-
path: "_scala3-reference"
158-
values:
159-
scala3: true
160-
partof: scala3-reference
161-
type: section
162-
overview-name: "Scala 3 Language Reference"
163-
layout: multipage-overview
164-
permalink: "/scala3/reference/:path.html"
165153
-
166154
scope:
167155
path: "scala3"
@@ -172,7 +160,7 @@ defaults:
172160
highlighter: rouge
173161
permalink: /:categories/:title.html:output_ext
174162
baseurl:
175-
scala3ref: "/scala3/reference"
163+
scala3ref: "https://docs.scala-lang.org/scala3/reference"
176164
exclude: ["vendor"]
177165
plugins:
178166
- jekyll-redirect-from

_data/scala3-doc-nav-header.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- title: Guides
1818
url: '/scala3/guides.html'
1919
- title: Language Specification
20-
url: "/scala3/reference/overview.html"
20+
url: "https://docs.scala-lang.org/scala3/reference"
2121
- title: Scala Library API
2222
url: "https://scala-lang.org/api/3.x/"
2323
- title: Contributing Guide

_ja/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ scala3-sections:
4040
- title: "Language Reference"
4141
description: "Scala 3 の言語仕様"
4242
icon: "fa fa-book"
43-
link: /scala3/reference/overview.html
43+
link: https://docs.scala-lang.org/scala3/reference
4444

4545
scala2-sections:
4646

_ja/scala3/contribute-to-docs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ Scala 3 コンパイラとライブラリへの貢献と内部に関する包括
5353
- [Issues](https://github.com/scala/docs.scala-lang/issues)
5454

5555
## Scala 3 Language Reference
56-
The [Dotty reference](/scala3/reference/overview.html) は Scala 3 になる予定である。これにはさまざまな言語仕様に関する公式のプレゼンテーションや技術的情報が含まれている。
56+
The [Dotty reference]({{ site.scala3ref }}/overview.html) は Scala 3 になる予定である。これにはさまざまな言語仕様に関する公式のプレゼンテーションや技術的情報が含まれている。
5757

58-
- [Sources](https://github.com/lampepfl/dotty/tree/master/docs/docs/reference)
58+
- [Sources](https://github.com/lampepfl/dotty/tree/main/docs/_docs)
5959
- [Issues](https://github.com/lampepfl/dotty/issues)
6060

6161

_ja/scala3/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ sections:
4040
- title: "Language Reference"
4141
description: "Scala 3 の言語仕様"
4242
icon: "fa fa-book"
43-
link: /scala3/reference/overview.html
43+
link: https://docs.scala-lang.org/scala3/reference
4444
---

_overviews/FAQ/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ and a [summary with practical differences](https://tpolecat.github.io/2014/06/09
216216

217217
Note that in **Scala 3** the differences are fewer;
218218
for example, they will be able to
219-
[accept implicit parameters](/scala3/reference/contextual/context-functions.html)
220-
as well as [type parameters](/scala3/reference/new-types/polymorphic-function-types.html).
219+
[accept implicit parameters]({{ site.scala3ref }}/contextual/context-functions.html)
220+
as well as [type parameters]({{ site.scala3ref }}/new-types/polymorphic-function-types.html).
221221

222222
Nevertheless, it is still recommended to use methods most of the time,
223223
unless you absolutely need a function. And, thanks to

_overviews/contribute/add-guides.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,4 +257,4 @@ above. Here is an example using the various modifiers.
257257
[why-contribute]: {% link contribute.md %}
258258
[home]: {% link index.md %}
259259
[overviews-index]: {% link _overviews/index.md %}
260-
[scala-3-reference]: https://docs.scala-lang.org/scala3/reference/overview.html
260+
[scala-3-reference]: {{ site.scala3ref }}

_overviews/scala3-book/why-scala-3.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -427,10 +427,10 @@ Hopefully you’ll discover more great Scala features as you use the language.
427427
[java]: {% link _overviews/scala3-book/interacting-with-java.md %}
428428
[given]: {% link _overviews/scala3-book/ca-given-using-clauses.md %}
429429
[contextual]: {% link _overviews/scala3-book/ca-contextual-abstractions-intro.md %}
430-
[reference]: {{ site.scala3ref }}/overview.html
431-
[dropped]: https://docs.scala-lang.org/scala3/reference/dropped-features.html
432-
[changed]: https://docs.scala-lang.org/scala3/reference/changed-features.html
433-
[added]: https://docs.scala-lang.org/scala3/reference/other-new-features.html
430+
[reference]: {{ site.scala3ref }}
431+
[dropped]: {{ site.scala3ref }}/dropped-features.html
432+
[changed]: {{ site.scala3ref }}/changed-features.html
433+
[added]:{{ site.scala3ref }}/other-new-features.html
434434

435435
[union-types]: {% link _overviews/scala3-book/types-union.md %}
436436
[opaque-types]: {% link _overviews/scala3-book/types-opaque-types.md %}

_overviews/scala3-contribution/arch-lifecycle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ tools // contains helpers and the `scala` generic runner
8888
[dotty.tools]: https://github.com/lampepfl/dotty/tree/master/compiler/src/dotty/tools
8989
[ScalaSettings]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala
9090
[phase-categories]: {% link _overviews/scala3-contribution/arch-phases.md %}#phase-categories
91-
[syntax]: {% link _scala3-reference/syntax.md %}
91+
[syntax]: {{ site.scala3ref }}/syntax.html
9292
[Main]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/Main.scala
9393
[Driver]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/Driver.scala
9494
[Compiler]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/Compiler.scala

_overviews/scala3-contribution/arch-phases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ These map the transformed trees to Java classfiles or SJSIR files.
110110
[patternMatcher]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/transform/PatternMatcher.scala
111111
[erasure]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/transform/Erasure.scala
112112
[Mirror]: https://github.com/lampepfl/dotty/blob/master/library/src/scala/deriving/Mirror.scala
113-
[PCP]: {% link _scala3-reference/metaprogramming/macros.md %}#the-phase-consistency-principle
113+
[PCP]: {{ site.scala3ref }}/metaprogramming/macros.html#the-phase-consistency-principle

_overviews/scala3-contribution/contribution-intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on [GitHub](https://github.com/scala/docs.scala-lang/tree/main/_overviews/scala3
2222

2323
`dotc` is built with Scala 3, fully utilising its [new features](/scala3/new-in-scala3.html).
2424
It is recommended that you first have some familiarity with Scala 3
25-
to get the most out of this guide. You can learn more in the [language reference](/scala3/reference/overview.html).
25+
to get the most out of this guide. You can learn more in the [language reference]({{ site.scala3ref}}).
2626

2727
Many code snippets in this guide make use of shell commands (a line beginning with `$`), and in this case
2828
a `bash` compatible shell is assumed. You may have to look up how to translate commands to your shell.

_overviews/scala3-macros/other-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ num: 9
99
* [Migration status][migration-status]
1010

1111
## Dotty documentation
12-
- [Dotty Documentation](/scala3/reference/metaprogramming.html)
12+
- [Dotty Documentation]({{ site.scala3ref }}/metaprogramming.html)
1313
- [Macros: The Plan For Scala 3](https://www.scala-lang.org/blog/2018/04/30/in-a-nutshell.html)
1414
- [Examples](https://github.com/lampepfl/dotty-macro-examples) - a repository with small, self-contained examples of various tasks done with Dotty macros.
1515

_overviews/scala3-macros/tutorial/inline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ def powerCode(x: Expr[Double], n: Expr[Int])(using Quotes): Expr[Double] = ...
499499
```
500500

501501

502-
[soft-modifier]: {% link _scala3-reference/soft-modifier.md %}
502+
[soft-modifier]: {{ site.scala3ref }}/soft-modifier.html
503503

504504
[contributing]: {% link scala3/contribute-to-docs.md %}
505505
[best-practices]: {% link _overviews/scala3-macros/best-practices.md %}

_overviews/scala3-migration/compatibility-classpath.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -63,30 +63,30 @@ The second piece of good news is that the Scala 2.13 TASTy reader, which enables
6363
### Supported Features
6464

6565
The TASTy reader supports all the traditional language features as well as the following brand-new features:
66-
- [Enumerations]({% link _scala3-reference/enums/enums.md %})
67-
- [Intersection Types]({% link _scala3-reference/new-types/intersection-types.md %})
68-
- [Opaque Type Aliases]({% link _scala3-reference/other-new-features/opaques.md %})
69-
- [Type Lambdas]({% link _scala3-reference/new-types/type-lambdas.md %})
70-
- [Contextual Abstractions]({% link _scala3-reference/contextual.md %}) (new syntax)
71-
- [Open Classes]({% link _scala3-reference/other-new-features/open-classes.md %}) (and inheritance of super traits)
72-
- [Export Clauses]({% link _scala3-reference/other-new-features/export.md %})
66+
- [Enumerations]({{ site.scala3ref }}/enums/enums.html)
67+
- [Intersection Types]({{ site.scala3ref }}/new-types/intersection-types.html)
68+
- [Opaque Type Aliases]({{ site.scala3ref }}/other-new-features/opaques.html)
69+
- [Type Lambdas]({{ site.scala3ref }}/new-types/type-lambdas.html)
70+
- [Contextual Abstractions]({{ site.scala3ref }}/contextual.html) (new syntax)
71+
- [Open Classes]({{ site.scala3ref }}/other-new-features/open-classes.html) (and inheritance of super traits)
72+
- [Export Clauses]({{ site.scala3ref }}/other-new-features/export.html)
7373

7474
We have limited support on:
75-
- [Top-Level Definitions]({% link _scala3-reference/dropped-features/package-objects.md %})
76-
- [Extension Methods]({% link _scala3-reference/contextual/extension-methods.md %})
75+
- [Top-Level Definitions]({{ site.scala3ref }}/dropped-features/package-objects.html)
76+
- [Extension Methods]({{ site.scala3ref }}/contextual/extension-methods.html)
7777

7878
More exotic features are not supported:
79-
- [Context Functions]({% link _scala3-reference/contextual/context-functions.md %})
80-
- [Polymorphic Function Types]({% link _scala3-reference/new-types/polymorphic-function-types.md %})
81-
- [Trait Parameters]({% link _scala3-reference/other-new-features/trait-parameters.md %})
79+
- [Context Functions]({{ site.scala3ref }}/contextual/context-functions.html)
80+
- [Polymorphic Function Types]({{ site.scala3ref }}/new-types/polymorphic-function-types.html)
81+
- [Trait Parameters]({{ site.scala3ref }}/other-new-features/trait-parameters.html)
8282
- `@static` Annotation
8383
- `@alpha` Annotation
84-
- [Functions and Tuples larger than 22 parameters]({% link _scala3-reference/dropped-features/limit22.md %})
85-
- [Match Types]({% link _scala3-reference/new-types/match-types.md %})
86-
- [Union Types]({% link _scala3-reference/new-types/union-types.md %})
87-
- [Multiversal Equality]({% link _scala3-reference/contextual/multiversal-equality.md %}) (unless explicit)
88-
- [Inline]({% link _scala3-reference/metaprogramming/inline.md %}) (including Scala 3 macros)
89-
- [Kind Polymorphism]({% link _scala3-reference/other-new-features/kind-polymorphism.md %}) (the `scala.AnyKind` upper bound)
84+
- [Functions and Tuples larger than 22 parameters]({{ site.scala3ref }}/dropped-features/limit22.html)
85+
- [Match Types]({{ site.scala3ref }}/new-types/match-types.html)
86+
- [Union Types]({{ site.scala3ref }}/new-types/union-types.html)
87+
- [Multiversal Equality]({{ site.scala3ref }}/contextual/multiversal-equality.html) (unless explicit)
88+
- [Inline]({{ site.scala3ref }}/metaprogramming/inline.html) (including Scala 3 macros)
89+
- [Kind Polymorphism]({{ site.scala3ref }}/other-new-features/kind-polymorphism.html) (the `scala.AnyKind` upper bound)
9090

9191
### A Scala 2.13 module can depend on a Scala 3 artifact
9292

_overviews/scala3-migration/compatibility-metaprogramming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Before getting deep into reimplementing a macro you should ask yourself:
5656
- Can I use `inline` and the `scala.compiletime` operations to reimplement my logic?
5757
- Can I use the simpler and safer expression based macros?
5858
- Do I really need to access the AST?
59-
- Can I use a [match type](/scala3/reference/new-types/match-types.html) as return type?
59+
- Can I use a [match type]({{ site.scala3ref }}/new-types/match-types.html) as return type?
6060

6161
You can learn all the new metaprogramming concepts by reading the [Macro Tutorial][scala3-macros].
6262

_overviews/scala3-migration/incompat-contextual-abstractions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ previous-page: incompat-dropped-features
77
next-page: incompat-other-changes
88
---
99

10-
The redesign of [contextual abstractions]({% link _scala3-reference/contextual.md %}) brings some incompatibilities.
10+
The redesign of [contextual abstractions]({{ site.scala3ref }}/contextual.html) brings some incompatibilities.
1111

1212
|Incompatibility|Scala 2.13|Scala 3 Migration Rewrite|Scalafix Rule|Runtime Incompatibiltiy|
1313
|--- |--- |--- |--- |--- |

_overviews/scala3-migration/incompat-dropped-features.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ You are recommended, as a second step, to replace every use of `Symbol` with a p
4747

4848
## `do`-`while` construct
4949

50-
The `do` keyword has acquired a different meaning in the [New Control Syntax]({% link _scala3-reference/other-new-features/control-syntax.md %}).
50+
The `do` keyword has acquired a different meaning in the [New Control Syntax]({{ site.scala3ref }}/other-new-features/control-syntax.html).
5151

5252
To avoid confusion, the traditional `do <body> while (<cond>)` construct is dropped.
5353
It is recommended to use the equivalent `while ({ <body>; <cond> }) ()` that can be cross-compiled, or the new Scala 3 syntax `while { <body>; <cond> } do ()`.
@@ -94,11 +94,11 @@ object Hello {
9494
+println(Hello.message())
9595
{% endhighlight %}
9696

97-
Auto-application is covered in detail in [this page](/scala3/reference/dropped-features/auto-apply.html) of the Scala 3 reference documentation.
97+
Auto-application is covered in detail in [this page]({{ site.scala3ref }}/dropped-features/auto-apply.html) of the Scala 3 reference documentation.
9898

9999
## Value eta-expansion
100100

101-
Scala 3 introduces [Automatic Eta-Expansion](/scala3/reference/changed-features/eta-expansion-spec.html) which will deprecate the method to value syntax `m _`.
101+
Scala 3 introduces [Automatic Eta-Expansion]({{ site.scala3ref }}/changed-features/eta-expansion-spec.html) which will deprecate the method to value syntax `m _`.
102102
Furthermore Scala 3 does not allow eta-expansion of values to nullary functions anymore.
103103

104104
Thus, this piece of code is invalid in Scala 3:
@@ -138,7 +138,7 @@ This rewrite can be applied by the `fix.scala213.Any2StringAdd` Scalafix rule in
138138
## Early Initializer
139139

140140
Early initializers are deprecated in Scala 2.13 and dropped in Scala 3.
141-
They were rarely used, and mostly to compensate for the lack of [Trait parameters](/scala3/reference/other-new-features/trait-parameters.html) which are now supported in Scala 3.
141+
They were rarely used, and mostly to compensate for the lack of [Trait parameters]({{ site.scala3ref }}/other-new-features/trait-parameters.html) which are now supported in Scala 3.
142142

143143
That is why the following piece of code does not compile anymore.
144144

@@ -198,7 +198,7 @@ class Fizz private (val name: String) extends Bar {
198198

199199
## Existential Type
200200

201-
Existential type is a [dropped feature](/scala3/reference/dropped-features/existential-types.html), which makes the following code invalid.
201+
Existential type is a [dropped feature]({{ site.scala3ref }}/dropped-features/existential-types.html), which makes the following code invalid.
202202

203203
```scala
204204
def foo: List[Class[T]] forSome { type T } // Error: Existential types are no longer supported

_overviews/scala3-migration/incompat-other-changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ fooCtr.tupled((2, false))
151151
In Scala, case classes have an auto-generated extractor method, called `unapply` in their companion object.
152152
Its signature has changed between Scala 2.13 and Scala 3.
153153

154-
The new signature is option-less (see the new [Pattern Matching](/scala3/reference/changed-features/pattern-matching.html) reference), which causes an incompatibility when `unapply` is called explicitly.
154+
The new signature is option-less (see the new [Pattern Matching]({{ site.scala3ref }}/changed-features/pattern-matching.html) reference), which causes an incompatibility when `unapply` is called explicitly.
155155

156156
Note that this problem does not affect user-defined extractors, whose signature stays the same across Scala versions.
157157

_overviews/scala3-migration/incompat-type-inference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class Child extends Parent {
6565

6666
## Reflective Type
6767

68-
Scala 2 reflective calls are dropped and replaced by the broader [Programmatic Structural Types](/scala3/reference/changed-features/structural-types.html).
68+
Scala 2 reflective calls are dropped and replaced by the broader [Programmatic Structural Types]({{ site.scala3ref }}/changed-features/structural-types.html).
6969

7070
Scala 3 can imitate Scala 2 reflective calls by making `scala.reflect.Selectable.reflectiveSelectable` available wherever `scala.language.reflectiveCalls` is imported.
7171
However the Scala 3 compiler does not infer structural types by default, and thus fails at compiling:

_overviews/scala3-migration/incompatibility-table.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Some features are dropped to simplify the language.
5959

6060
### Contextual Abstractions
6161

62-
The redesign of [contextual abstractions]({% link _scala3-reference/contextual.md %}) brings some well defined incompatibilities.
62+
The redesign of [contextual abstractions]({{ site.scala3ref }}/contextual.html) brings some well defined incompatibilities.
6363

6464
|Incompatibility|Scala 2.13|Scala 3 Migration Rewrite|Scalafix Rule|Runtime Incompatibility|
6565
|--- |--- |--- |--- |--- |
@@ -69,7 +69,7 @@ The redesign of [contextual abstractions]({% link _scala3-reference/contextual.m
6969
|[Ambiguous conversion on `A` and `=> A`](incompat-contextual-abstractions.html#ambiguous-conversion-on-a-and--a)|||||
7070

7171
Furthermore we have changed the implicit resolution rules so that they are more useful and less surprising.
72-
The new rules are described [here](/scala3/reference/changed-features/implicit-resolution.html).
72+
The new rules are described [here]({{ site.scala3ref }}/changed-features/implicit-resolution.html).
7373

7474
Because of these changes, the Scala 3 compiler could possibly fail at resolving some implicit parameters of existing Scala 2.13 code.
7575

_overviews/scala3-migration/plugin-kind-projector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ type MyLambda[F[_], A] = EitherT[F, Int, A]
100100
MyLambda
101101
```
102102

103-
Alternatively you may use Scala 3's [Native Type Lambdas](https://docs.scala-lang.org/scala3/reference/new-types/type-lambdas.html) if you do not need to cross-compile:
103+
Alternatively you may use Scala 3's [Native Type Lambdas]({{ site.scala3ref }}/new-types/type-lambdas.html) if you do not need to cross-compile:
104104

105105
```scala
106106
[F[_], A] =>> EitherT[F, Int, A]

_overviews/scala3-migration/tooling-syntax-rewriting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Both are optional so that the Scala 2 code style is still perfectly valid in Sca
1313
The new syntax for control structures makes it possible to write the condition of an `if`-expression, the condition of a `while`-loop or the generators of a `for`-expression without enclosing parentheses.
1414

1515
The significant indentation syntax makes braces `{...}` not needed in many occurences: class and method bodies, `if`-expressions, `match`-expressions and more.
16-
You can find a complete description in the [Optional Braces](https://docs.scala-lang.org/scala3/reference/other-new-features/indentation.html) page of the Scala 3 reference website.
16+
You can find a complete description in the [Optional Braces]({{ site.scala3ref }}/other-new-features/indentation.html) page of the Scala 3 reference website.
1717

1818
Converting existing Scala code to the new syntax by hand is tedious and error-prone.
1919
In this chapter we show how you can use the compiler to rewrite your code automatically from the classic Scala 2 style to the new style, or conversely.

_overviews/scala3-scaladoc/settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ compile - Enables snippet checking.
160160
nocompile - Disables snippet checking.
161161
fail - Enables snippet checking, asserts that snippet doesn't compile.
162162

163-
The fail flag comes in handy for snippets that present that some action would eventually fail during compilation, e. g. [Opaques page]({% link _scala3-reference/other-new-features/opaques.md %})
163+
The fail flag comes in handy for snippets that present that some action would eventually fail during compilation, e. g. [Opaques page]({{ site.scala3ref }}/other-new-features/opaques.html)
164164

165165
Example usage:
166166

_scala3-reference/changed-features.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)