Skip to content

Commit 5ef9263

Browse files
committed
Fix typo in modified (commented-out) code
1 parent ecbd692 commit 5ef9263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,7 @@ class RefChecks extends MiniPhase { thisPhase =>
16141614
} catch {
16151615
case ex: TypeError =>
16161616
if (settings.debug) ex.printStackTrace()
1617-
unit.error(tree.pos, ex.toMssage)
1617+
unit.error(tree.pos, ex.toMessage)
16181618
tree
16191619
} finally {
16201620
localTyper = savedLocalTyper

0 commit comments

Comments
 (0)