Skip to content

Commit 4b494ab

Browse files
committed
Fix indentation
1 parent c6a0982 commit 4b494ab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ object ErrorReporting {
4040
}
4141
} else msg
4242

43-
if (cycleSym.is(Implicit, butNot = Method) && cycleSym.owner.isTerm)
44-
em"""cyclic reference involving implicit $cycleSym
43+
if (cycleSym.is(Implicit, butNot = Method) && cycleSym.owner.isTerm)
44+
em"""cyclic reference involving implicit $cycleSym
4545
|This happens when the right hand-side of $cycleSym's definition involves an implicit search.
4646
|To avoid the error, give $cycleSym an explicit type."""
47-
else
48-
errorMsg(ex.show, ctx)
47+
else
48+
errorMsg(ex.show, ctx)
4949
}
5050

5151
def wrongNumberOfTypeArgs(fntpe: Type, expectedArgs: List[TypeParamInfo], actual: List[untpd.Tree], pos: Position)(implicit ctx: Context) =

0 commit comments

Comments
 (0)