Skip to content

Commit 8d13cbb

Browse files
authored
Merge pull request #15349 from dotty-staging/fix-stable-links-docs
fix nightlyOf links in docs
2 parents 7535a06 + 11e169c commit 8d13cbb

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: index
33
title: "Enums"
4-
nightlyOf: https://docs.scala-lang.org/scala3/reference/enums.html
4+
nightlyOf: https://docs.scala-lang.org/scala3/reference/enums/index.html
55
---
66

77
This chapter documents enums in Scala 3.

docs/_docs/reference/language-versions/binary-compatibility.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: doc-page
33
title: "Binary Compatibility"
4+
nightlyOf: https://docs.scala-lang.org/scala3/reference/language-versions/binary-compatibility.html
45
---
56

67
In Scala 2 different minor versions of the compiler were free to change the way how they encode different language features in JVM bytecode so each bump of the compiler's minor version resulted in breaking binary compatibility and if a project had any Scala dependencies they all needed to be (cross-)compiled to the same minor Scala version that was used in that project itself. On the contrary, Scala 3 has a stable encoding into JVM bytecode.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: index
33
title: "Language Versions"
4+
nightlyOf: https://docs.scala-lang.org/scala3/reference/language-versions/index.html
45
---
56

67
Additional information on interoperability and migration between Scala 2 and 3 can be found [here](https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html).

docs/_docs/reference/language-versions/source-compatibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: doc-page
33
title: "Source Compatibility"
4-
nightlyOf: https://docs.scala-lang.org/scala3/reference/language-versions.html
4+
nightlyOf: https://docs.scala-lang.org/scala3/reference/language-versions/source-compatibility.html
55
---
66

77
Scala 3 does NOT guarantee source compatibility between different minor language versions (e.g. some syntax valid in 3.x might get deprecated and then phased out in 3.y for y > x). There are also some syntax structures that were valid in Scala 2 but are not anymore in Scala 3. However the compiler provides a possibility to specify the desired version of syntax used in a particular file or globally for a run of the compiler to make migration between versions easier.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: index
33
title: "New Types"
4-
nightlyOf: https://docs.scala-lang.org/scala3/reference/new-types.html
4+
nightlyOf: https://docs.scala-lang.org/scala3/reference/new-types/index.html
55
---
66

77
This chapter documents the new types introduced in Scala 3.

0 commit comments

Comments
 (0)