Skip to content

Fix typos #8996

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NOTICE.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ major authors were omitted by oversight.
Adriaan Moors, Paul Phillips and others.

* dotty.tools.dottydoc: The Dottydoc documentation utility ships some
third-party Javascript and CSS libraries which are located under
third-party JavaScript and CSS libraries which are located under
dotty-doc/resources/css/, dotty-doc/resources/js/, docs/css/ and
docs/js/. Please refer to the license header of the concerned files for
details.
Expand Down
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/io/AbstractFile.scala
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ abstract class AbstractFile extends Iterable[AbstractFile] {
private def fileOrSubdirectoryNamed(name: String, isDir: Boolean): AbstractFile =
lookupName(name, isDir) match {
case null =>
// the optional exception may be thrown for symlinks, notably /tmp on MacOS.
// the optional exception may be thrown for symlinks, notably /tmp on macOS.
// isDirectory tests for existing directory. The default behavior is hypothetical isDirectory(jpath, FOLLOW_LINKS).
try Files.createDirectories(jpath)
catch { case _: FileAlreadyExistsException if Files.isDirectory(jpath) => }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Releases are available for download on the _Releases_
section of the Dotty repository:
[https://github.com/lampepfl/dotty/releases](https://github.com/lampepfl/dotty/releases)

For MacOs users, we also provide a [homebrew](https://brew.sh/) package that can be installed by
For macOS users, we also provide a [homebrew](https://brew.sh/) package that can be installed by
running:

```shell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Releases are available for download on the _Releases_
section of the Dotty repository:
[https://github.com/lampepfl/dotty/releases](https://github.com/lampepfl/dotty/releases)

For MacOs users, we also provide a [homebrew](https://brew.sh/) package that can be installed by
For macOS users, we also provide a [homebrew](https://brew.sh/) package that can be installed by
running:

```shell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Releases are available for download on the _Releases_
section of the Dotty repository:
[https://github.com/lampepfl/dotty/releases](https://github.com/lampepfl/dotty/releases)

For MacOs users, we also provide a [homebrew](https://brew.sh/) package that can be installed by
For macOS users, we also provide a [homebrew](https://brew.sh/) package that can be installed by
running:

```shell
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/contributing/debug-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: Tests for Debuggability
- JDB
- expect

Both are usually pre-installed on Mac OS and linux distributions.
Both are usually pre-installed on macOS and linux distributions.

## Debug Manually with JDB

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/reference/contextual/multiversal-equality.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,4 @@ work under `-language:strictEquality`, since otherwise the universal `Eq[Any]` i


More on multiversal equality is found in a [blog post](http://www.scala-lang.org/blog/2016/05/06/multiversal-equality.html)
and a [Github issue](https://github.com/lampepfl/dotty/issues/1247).
and a [GitHub issue](https://github.com/lampepfl/dotty/issues/1247).