Skip to content

Commit 82aad8b

Browse files
Rename master branch to main in the documentation
1 parent 5718291 commit 82aad8b

22 files changed

+32
-32
lines changed

docs/blog/_posts/2019-06-11-16th-dotty-milestone-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ enum B(val gravity: Double) extends java.lang.Enum[B] {
156156
}
157157
```
158158

159-
For more information please check the [test case](https://github.com/lampepfl/dotty/tree/master/tests/run/enum-java) and
159+
For more information please check the [test case](https://github.com/lampepfl/dotty/tree/main/tests/run/enum-java) and
160160
also the relevant PRs [#6602](https://github.com/lampepfl/dotty/pull/6602) and
161161
[#6629](https://github.com/lampepfl/dotty/pull/6629).
162162

docs/blog/_posts/2019-12-20-21th-dotty-milestone-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ It means that we can now put the Scala 3 compiler under heavy load, getting it
4848
ready for industrial strength applications. At the moment we have 23
4949
projects on our community projects and we expect this number to go up!
5050

51-
> https://github.com/lampepfl/dotty/tree/master/community-build/community-projects
51+
> https://github.com/lampepfl/dotty/tree/main/community-build/community-projects
5252
5353
This project contains tests to build and test a corpus of open sources Scala 2.x
5454
projects against Scala 3.

docs/blog/_posts/2020-04-29-24th-dotty-milestone-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ We are looking forward to having you join the team of contributors.
134134

135135
Dotty now has a set of widely-used community libraries that are built against every nightly Dotty
136136
snapshot. Currently, this includes shapeless, ScalaPB, algebra, scalatest, scopt and squants.
137-
Join our [community build](https://github.com/lampepfl/dotty/tree/master/community-build)
137+
Join our [community build](https://github.com/lampepfl/dotty/tree/main/community-build)
138138
to make sure that our regression suite includes your library.
139139

140140
[Scastie]: https://scastie.scala-lang.org/?target=dotty

docs/blog/_posts/2020-06-22-25th-dotty-milestone-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ We are looking forward to having you join the team of contributors.
9898

9999
Dotty now has a set of widely-used community libraries that are built against every nightly Dotty
100100
snapshot. Currently, this includes shapeless, ScalaPB, algebra, scalatest, scopt and squants.
101-
Join our [community build](https://github.com/lampepfl/dotty/tree/master/community-build)
101+
Join our [community build](https://github.com/lampepfl/dotty/tree/main/community-build)
102102
to make sure that our regression suite includes your library.
103103

104104
[Scastie]: https://scastie.scala-lang.org/?target=dotty

docs/blog/_posts/2020-07-27-26th-dotty-milestone-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ We are looking forward to having you join the team of contributors.
128128

129129
Dotty now has a set of widely-used community libraries that are built against every nightly Dotty
130130
snapshot. Currently, this includes shapeless, ScalaPB, algebra, scalatest, scopt and squants.
131-
Join our [community build](https://github.com/lampepfl/dotty/tree/master/community-build)
131+
Join our [community build](https://github.com/lampepfl/dotty/tree/main/community-build)
132132
to make sure that our regression suite includes your library.
133133

134134
[Scastie]: https://scastie.scala-lang.org/?target=dotty

docs/blog/_posts/2020-08-31-27th-dotty-milestone-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ We are looking forward to having you join the team of contributors.
109109

110110
Dotty now has a set of widely-used community libraries that are built against every nightly Dotty
111111
snapshot. Currently, this includes shapeless, ScalaPB, algebra, scalatest, scopt and squants.
112-
Join our [community build](https://github.com/lampepfl/dotty/tree/master/community-build)
112+
Join our [community build](https://github.com/lampepfl/dotty/tree/main/community-build)
113113
to make sure that our regression suite includes your library.
114114

115115
[Scastie]: https://scastie.scala-lang.org/?target=dotty

docs/blog/_posts/2020-11-09-scala3-m1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ We are looking forward to having you join the team of contributors.
199199

200200
Dotty now has a set of widely-used community libraries that are built against every nightly Dotty
201201
snapshot. Currently, this includes shapeless, ScalaPB, algebra, scalatest, scopt and squants.
202-
Join our [community build](https://github.com/lampepfl/dotty/tree/master/community-build)
202+
Join our [community build](https://github.com/lampepfl/dotty/tree/main/community-build)
203203
to make sure that our regression suite includes your library.
204204

205205
[Scastie]: https://scastie.scala-lang.org/?target=dotty

docs/blog/_posts/2020-12-18-scala3-m3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ We are looking forward to having you join the team of contributors.
231231

232232
## Library authors: Join our community build
233233

234-
Scala 3 is regularly tested against a sample of libraries known as the "community build". You can add your library to the [community build](https://github.com/lampepfl/dotty/tree/master/community-build) by submitting a PR.
234+
Scala 3 is regularly tested against a sample of libraries known as the "community build". You can add your library to the [community build](https://github.com/lampepfl/dotty/tree/main/community-build) by submitting a PR.
235235

236236
[Scastie]: https://scastie.scala-lang.org/?target=dotty
237237

docs/blog/_posts/2021-03-31-scala3-rc2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ We are looking forward to having you join the team of contributors.
116116

117117
Dotty now has a set of widely-used community libraries that are built against every nightly Dotty
118118
snapshot. Currently, this includes shapeless, ScalaPB, algebra, scalatest, scopt and squants.
119-
Join our [community build](https://github.com/lampepfl/dotty/tree/master/community-build)
119+
Join our [community build](https://github.com/lampepfl/dotty/tree/main/community-build)
120120
to make sure that our regression suite includes your library.
121121

122122
[Scastie]: https://scastie.scala-lang.org/?target=dotty

docs/blog/_posts/2021-04-21-scala3-rc3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ We are looking forward to having you join the team of contributors.
4949

5050
Dotty now has a set of widely-used community libraries that are built against every nightly Dotty
5151
snapshot. Currently, this includes shapeless, ScalaPB, algebra, scalatest, scopt and squants.
52-
Join our [community build](https://github.com/lampepfl/dotty/tree/master/community-build)
52+
Join our [community build](https://github.com/lampepfl/dotty/tree/main/community-build)
5353
to make sure that our regression suite includes your library.
5454

5555
[Scastie]: https://scastie.scala-lang.org/?target=dotty

docs/blog/_posts/2021-06-07-scala3.0.1-rc1-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ According to `git shortlog -sn --no-merges 3.0.0-RC2..3.0.1-RC1`† these are:
147147
## Library authors: Join our community build
148148

149149
Scala 3 now has a set of widely-used community libraries that are built against every nightly Scala 3 snapshot.
150-
Join our [community build](https://github.com/lampepfl/dotty/tree/master/community-build)
150+
Join our [community build](https://github.com/lampepfl/dotty/tree/main/community-build)
151151
to make sure that our regression suite includes your library.
152152

153153
[Scastie]: https://scastie.scala-lang.org/?target=dotty

docs/blog/_posts/2021-06-25-scala301-rc2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ According to `git shortlog -sn --no-merges 3.0.1-RC1..3.0.1-RC2` these are:
2929
## Library authors: Join our community build
3030

3131
Scala 3 now has a set of widely-used community libraries that are built against every nightly Scala 3 snapshot.
32-
Join our [community build](https://github.com/lampepfl/dotty/tree/master/community-build)
32+
Join our [community build](https://github.com/lampepfl/dotty/tree/main/community-build)
3333
to make sure that our regression suite includes your library.
3434

3535
[Scastie]: https://scastie.scala-lang.org/?target=dotty

docs/docs/contributing/debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ val YshowVarBounds = BooleanSetting("-Yshow-var-bounds" , "Print type varia
164164
val YtestPickler = BooleanSetting("-Ytest-pickler" , "self-test for pickling functionality; should be used with -Ystop-after:pickler")
165165
```
166166

167-
They are defined in [ScalaSettings.scala](https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala). E.g. `YprintPos` is defined as:
167+
They are defined in [ScalaSettings.scala](https://github.com/lampepfl/dotty/blob/main/compiler/src/dotty/tools/dotc/config/ScalaSettings.scala). E.g. `YprintPos` is defined as:
168168

169169
```scala
170170
val YprintPos: Setting[Boolean] = BooleanSetting("-Yprint-pos", "show tree positions.")

docs/docs/contributing/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ $ sbt
8989
For more information, see `scaladoc/README.md`.
9090

9191
Before contributing to Dotty, we invite you to consult the
92-
[Dotty Developer Guidelines](https://github.com/lampepfl/dotty/blob/master/CONTRIBUTING.md).
92+
[Dotty Developer Guidelines](https://github.com/lampepfl/dotty/blob/main/CONTRIBUTING.md).
9393

9494

9595
Community

docs/docs/internals/overall-structure.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,10 @@ Phases fall into four categories:
233233
* Code generators: These map the transformed trees to Java classfiles or
234234
.sjsir files.
235235

236-
[dotty.tools]: https://github.com/lampepfl/dotty/tree/master/compiler/src/dotty/tools
237-
[dotc]: https://github.com/lampepfl/dotty/tree/master/compiler/src/dotty/tools/dotc
238-
[Main]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/Main.scala
239-
[Driver]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/Driver.scala
240-
[Compiler]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/Compiler.scala
241-
[Run]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/Run.scala
242-
[Context]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/core/Contexts.scala
236+
[dotty.tools]: https://github.com/lampepfl/dotty/tree/main/compiler/src/dotty/tools
237+
[dotc]: https://github.com/lampepfl/dotty/tree/main/compiler/src/dotty/tools/dotc
238+
[Main]: https://github.com/lampepfl/dotty/blob/main/compiler/src/dotty/tools/dotc/Main.scala
239+
[Driver]: https://github.com/lampepfl/dotty/blob/main/compiler/src/dotty/tools/dotc/Driver.scala
240+
[Compiler]: https://github.com/lampepfl/dotty/blob/main/compiler/src/dotty/tools/dotc/Compiler.scala
241+
[Run]: https://github.com/lampepfl/dotty/blob/main/compiler/src/dotty/tools/dotc/Run.scala
242+
[Context]: https://github.com/lampepfl/dotty/blob/main/compiler/src/dotty/tools/dotc/core/Contexts.scala

docs/docs/internals/type-system.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ TODO
132132
## Type inference via constraint solving ##
133133
TODO
134134

135-
[1]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/core/Types.scala
135+
[1]: https://github.com/lampepfl/dotty/blob/main/compiler/src/dotty/tools/dotc/core/Types.scala
136136
[2]: https://github.com/samuelgruetter/dotty/blob/classdiagrampdf/dotty-types.pdf
137137
[3]: https://github.com/samuelgruetter/scaladiagrams/tree/print-descendants
138-
[4]: https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/core/TypeComparer.scala
139-
[5]: https://github.com/lampepfl/dotty/blob/master/tests/pos/refinedSubtyping.scala
138+
[4]: https://github.com/lampepfl/dotty/blob/main/compiler/src/dotty/tools/dotc/core/TypeComparer.scala
139+
[5]: https://github.com/lampepfl/dotty/blob/main/tests/pos/refinedSubtyping.scala

docs/docs/reference/changed-features/structural-types-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RefineStat ::= ‘val’ VarDcl | ‘def’ DefDcl | ‘type’ {nl} TypeDcl
1616
## Implementation of Structural Types
1717

1818
The standard library defines a universal marker trait
19-
[`scala.Selectable`](https://github.com/lampepfl/dotty/blob/master/library/src/scala/Selectable.scala):
19+
[`scala.Selectable`](https://github.com/lampepfl/dotty/blob/main/library/src/scala/Selectable.scala):
2020

2121
```scala
2222
trait Selectable extends Any

docs/docs/reference/contextual/multiversal-equality.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ the program will still typecheck, since values of all types can be compared with
2525
But it will probably give unexpected results and fail at runtime.
2626

2727
Multiversal equality is an opt-in way to make universal equality safer.
28-
It uses a binary type class [`scala.CanEqual`](https://github.com/lampepfl/dotty/blob/master/library/src/scala/CanEqual.scala)
28+
It uses a binary type class [`scala.CanEqual`](https://github.com/lampepfl/dotty/blob/main/library/src/scala/CanEqual.scala)
2929
to indicate that values of two given types can be compared with each other.
3030
The example above would not typecheck if `S` or `T` was a class
3131
that derives `CanEqual`, e.g.
@@ -70,7 +70,7 @@ given CanEqual[A, B] = CanEqual.derived
7070
given CanEqual[B, A] = CanEqual.derived
7171
```
7272

73-
The [`scala.CanEqual`](https://github.com/lampepfl/dotty/blob/master/library/src/scala/CanEqual.scala)
73+
The [`scala.CanEqual`](https://github.com/lampepfl/dotty/blob/main/library/src/scala/CanEqual.scala)
7474
object defines a number of `CanEqual` given instances that together
7575
define a rule book for what standard types can be compared (more details below).
7676

docs/docs/reference/enums/enums.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ scala> Color.Red.compareTo(Color.Green)
152152
val res15: Int = -1
153153
```
154154

155-
For a more in-depth example of using Scala 3 enums from Java, see [this test](https://github.com/lampepfl/dotty/tree/master/tests/run/enum-java). In the test, the enums are defined in the `MainScala.scala` file and used from a Java source, `Test.java`.
155+
For a more in-depth example of using Scala 3 enums from Java, see [this test](https://github.com/lampepfl/dotty/tree/main/tests/run/enum-java). In the test, the enums are defined in the `MainScala.scala` file and used from a Java source, `Test.java`.
156156

157157
### Implementation
158158

docs/docs/reference/experimental/explicit-nulls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ When dealing with local mutable variables, there are two questions:
426426
x = null
427427
```
428428

429-
See [more examples](https://github.com/lampepfl/dotty/blob/master/tests/explicit-nulls/neg/flow-varref-in-closure.scala).
429+
See [more examples](https://github.com/lampepfl/dotty/blob/main/tests/explicit-nulls/neg/flow-varref-in-closure.scala).
430430

431431
Currently, we are unable to track paths with a mutable variable prefix.
432432
For example, `x.a` if `x` is mutable.

docs/docs/reference/new-types/dependent-function-types-spec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ same way that other functions do, see
4646
The example below defines a trait `C` and the two dependent function types
4747
`DF` and `IDF` and prints the results of the respective function applications:
4848

49-
[depfuntype.scala]: https://github.com/lampepfl/dotty/blob/master/tests/pos/depfuntype.scala
49+
[depfuntype.scala]: https://github.com/lampepfl/dotty/blob/main/tests/pos/depfuntype.scala
5050

5151
```scala
5252
trait C { type M; val m: M }
@@ -70,7 +70,7 @@ type IDF = (x: C) ?=> x.M
7070

7171
In the following example the depend type `f.Eff` refers to the effect type `CanThrow`:
7272

73-
[eff-dependent.scala]: https://github.com/lampepfl/dotty/blob/master/tests/run/eff-dependent.scala
73+
[eff-dependent.scala]: https://github.com/lampepfl/dotty/blob/main/tests/run/eff-dependent.scala
7474

7575
```scala
7676
trait Effect

docs/docs/reference/new-types/intersection-types-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ glb(A, _) = A // use first
9898
In the above, `|T|` means the erased type of `T`, `JArray` refers to
9999
the type of Java Array.
100100

101-
See also: [`TypeErasure#erasedGlb`](https://github.com/lampepfl/dotty/blob/master/compiler/src/dotty/tools/dotc/core/TypeErasure.scala#L289).
101+
See also: [`TypeErasure#erasedGlb`](https://github.com/lampepfl/dotty/blob/main/compiler/src/dotty/tools/dotc/core/TypeErasure.scala#L289).
102102

103103
## Relationship with Compound Type (`with`)
104104

0 commit comments

Comments
 (0)