Skip to content

Commit 0d09c44

Browse files
committed
Fix typos
1 parent 1f73ba1 commit 0d09c44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ trait Checking {
638638
*
639639
* The standard library relies on this idiom.
640640
*/
641-
def checkTraitInheritance(parent: Symbol, cls: ClassSymbol, pos: Position)(implicit ctx: Context): Unit = {
641+
def checkTraitInheritance(parent: Symbol, cls: ClassSymbol, pos: Position)(implicit ctx: Context): Unit =
642642
parent match {
643643
case parent: ClassSymbol if parent is Trait =>
644644
val psuper = parent.superClass
@@ -653,7 +653,7 @@ trait Checking {
653653

654654
/** Check that case classes are not inherited by case classes.
655655
*/
656-
def checkCaseInheritance(parent: Symbol, caseCls: ClassSymbol, pos: Position)(implicit ctx: Context): Unit = {
656+
def checkCaseInheritance(parent: Symbol, caseCls: ClassSymbol, pos: Position)(implicit ctx: Context): Unit =
657657
parent match {
658658
case parent: ClassSymbol =>
659659
if (parent is Case)

0 commit comments

Comments
 (0)