We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77795aa commit a5bc503Copy full SHA for a5bc503
compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -2090,7 +2090,7 @@ class Typer extends Namer
2090
val tparams = completer.completerTypeParams(sym)
2091
if tparams.nonEmpty then
2092
// 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
+ // type parameters of the enclosing method or class. Thus annotations can see
2094
// these type parameters. See i12953.scala for a test case.
2095
val dummyOwner = newLocalDummy(sym.owner)
2096
adjusted = adjusted.fresh.setOwner(dummyOwner).setScope(newScopeWith(tparams*))
0 commit comments