Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed Sep 4, 2021
1 parent 94fcda1 commit 1786621
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions compiler/src/dotty/tools/dotc/core/Annotations.scala
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ object Annotations {
/** The tree evaluation has finished. */
def isEvaluated: Boolean = true

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

/** Does this annotation refer to a parameter of `tl`?
* Overridden in ConcreteAnnotation
*/
/** Does this annotation refer to a parameter of `tl`? */
def refersToParamOf(tl: TermLambda)(using Context): Boolean =
val args = arguments
if args.isEmpty then false
Expand Down

0 comments on commit 1786621

Please sign in to comment.