From 76d5b193137d2b2af7ad67355d511feed7dc25b6 Mon Sep 17 00:00:00 2001 From: Jon Pretty Date: Mon, 6 May 2024 09:45:30 +0200 Subject: [PATCH] Correct typo in error message from `trasparent` to `transparent` --- compiler/src/dotty/tools/dotc/ast/Desugar.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/dotty/tools/dotc/ast/Desugar.scala b/compiler/src/dotty/tools/dotc/ast/Desugar.scala index 03505075121a..fa154ac82cf2 100644 --- a/compiler/src/dotty/tools/dotc/ast/Desugar.scala +++ b/compiler/src/dotty/tools/dotc/ast/Desugar.scala @@ -889,7 +889,7 @@ object desugar { } } if mods.isAllOf(Given | Inline | Transparent) then - report.error("inline given instances cannot be trasparent", cdef) + report.error("inline given instances cannot be transparent", cdef) val classMods = if mods.is(Given) then mods &~ (Inline | Transparent) | Synthetic else mods cpy.TypeDef(cdef: TypeDef)( name = className,