Skip to content

Commit f40c498

Browse files
committed
Fix error message in typer
1 parent 5e09d2d commit f40c498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
963963
val packageContext =
964964
if (pkg is Package) ctx.fresh.setOwner(pkg.moduleClass).setTree(tree)
965965
else {
966-
ctx.error(d"$pkg is not a packge", tree.pos)
966+
ctx.error(d"$pkg is not a package", tree.pos)
967967
ctx
968968
}
969969
val stats1 = typedStats(tree.stats, pkg.moduleClass)(packageContext)

0 commit comments

Comments
 (0)