Skip to content

Commit afab822

Browse files
authored
Merge pull request #3993 from aslesarenko/fix-docs
some typos in ScalaDoc comments
2 parents be8c3ba + 449339b commit afab822

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

compiler/src/dotty/tools/dotc/ast/Trees.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ object Trees {
161161
case _ => NoType
162162
}
163163

164-
/** The denotation referred tno by this tree.
164+
/** The denotation referred to by this tree.
165165
* Defined for `DenotingTree`s and `ProxyTree`s, NoDenotation for other
166166
* kinds of trees
167167
*/

compiler/src/dotty/tools/dotc/core/Names.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ object Names {
288288
}
289289
}
290290

291-
/** A simple name is essentiall an interned string */
291+
/** A simple name is essentially an interned string */
292292
final class SimpleName(val start: Int, val length: Int, @sharable private[Names] var next: SimpleName) extends TermName {
293293
// `next` is @sharable because it is only modified in the synchronized block of termName.
294294

compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class SymbolLoaders {
210210
Stats.record("package scopes")
211211

212212
/** The scope of a package. This is different from a normal scope
213-
* in three aspects:
213+
* in two aspects:
214214
*
215215
* 1. Names of scope entries are kept in mangled form.
216216
* 2. Some function types in the `scala` package are synthesized.

compiler/src/dotty/tools/dotc/core/Symbols.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ object Symbols {
720720
/** Makes all denotation operations available on symbols */
721721
implicit def toDenot(sym: Symbol)(implicit ctx: Context): SymDenotation = sym.denot
722722

723-
/** Makes all class denotations available on class symbols */
723+
/** Makes all class denotation operations available on class symbols */
724724
implicit def toClassDenot(cls: ClassSymbol)(implicit ctx: Context): ClassDenotation = cls.classDenot
725725

726726
/** The Definitions object */

0 commit comments

Comments
 (0)