Skip to content

Commit a5bc503

Browse files
committed
Fix typo
1 parent 77795aa commit a5bc503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/typer/Typer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2090,7 +2090,7 @@ class Typer extends Namer
20902090
val tparams = completer.completerTypeParams(sym)
20912091
if tparams.nonEmpty then
20922092
// Create a new local context with a dummy owner and a scope containing the
2093-
// type parameters of the enclosing method or class. This annotations can see
2093+
// type parameters of the enclosing method or class. Thus annotations can see
20942094
// these type parameters. See i12953.scala for a test case.
20952095
val dummyOwner = newLocalDummy(sym.owner)
20962096
adjusted = adjusted.fresh.setOwner(dummyOwner).setScope(newScopeWith(tparams*))

0 commit comments

Comments
 (0)