We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e09d2d commit f40c498Copy full SHA for f40c498
src/dotty/tools/dotc/typer/Typer.scala
@@ -963,7 +963,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
963
val packageContext =
964
if (pkg is Package) ctx.fresh.setOwner(pkg.moduleClass).setTree(tree)
965
else {
966
- ctx.error(d"$pkg is not a packge", tree.pos)
+ ctx.error(d"$pkg is not a package", tree.pos)
967
ctx
968
}
969
val stats1 = typedStats(tree.stats, pkg.moduleClass)(packageContext)
0 commit comments