Skip to content

Commit d921598

Browse files
committed
Fix typos
1 parent 8434e57 commit d921598

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ object Annotations {
4848
/** The tree evaluation has finished. */
4949
def isEvaluated: Boolean = true
5050

51-
/** Normally, map type map over all tree nodes of this annotation, but can
51+
/** Normally, type map over all tree nodes of this annotation, but can
5252
* be overridden. Returns EmptyAnnotation if type type map produces a range
5353
* type, since ranges cannot be types of trees.
5454
*/
@@ -67,9 +67,7 @@ object Annotations {
6767
else if diff.exists then derivedAnnotation(tm.mapOver(tree))
6868
else this
6969

70-
/** Does this annotation refer to a parameter of `tl`?
71-
* Overridden in ConcreteAnnotation
72-
*/
70+
/** Does this annotation refer to a parameter of `tl`? */
7371
def refersToParamOf(tl: TermLambda)(using Context): Boolean =
7472
val args = arguments
7573
if args.isEmpty then false

0 commit comments

Comments
 (0)