Skip to content

Commit 1afccfa

Browse files
Update compiler/src/dotty/tools/dotc/typer/Synthesizer.scala
Co-authored-by: Guillaume Martres <smarter@ubuntu.com>
1 parent 712cf58 commit 1afccfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ class Synthesizer(typer: Typer)(using @constructorOnly c: Context):
223223
val actual = formal.lookupRefined(name)
224224
if actual.exists && !(expected =:= actual)
225225
then report.error(
226-
em"$name missmatch, expected: $expected, found: $actual.", ctx.source.atSpan(span))
226+
em"$name mismatch, expected: $expected, found: $actual.", ctx.source.atSpan(span))
227227

228228
private def mkMirroredMonoType(mirroredType: HKTypeLambda)(using Context): Type =
229229
val monoMap = new TypeMap:

0 commit comments

Comments
 (0)