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 ecbd692 commit 5ef9263Copy full SHA for 5ef9263
compiler/src/dotty/tools/dotc/typer/RefChecks.scala
@@ -1614,7 +1614,7 @@ class RefChecks extends MiniPhase { thisPhase =>
1614
} catch {
1615
case ex: TypeError =>
1616
if (settings.debug) ex.printStackTrace()
1617
- unit.error(tree.pos, ex.toMssage)
+ unit.error(tree.pos, ex.toMessage)
1618
tree
1619
} finally {
1620
localTyper = savedLocalTyper
0 commit comments