diff options
author | Martin Odersky <odersky@gmail.com> | 2017-02-23 17:14:10 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-02-23 17:14:10 +0100 |
commit | 4b494abf8bf113b738b013bf27448b4b8b61a7cc (patch) | |
tree | 0edc62e2176235f42174d3e5b03c3e776ad8fe6b /compiler/src/dotty | |
parent | c6a09827b2c871cf85bbd0b87c55acb8344d3b97 (diff) | |
download | dotty-4b494abf8bf113b738b013bf27448b4b8b61a7cc.tar.gz dotty-4b494abf8bf113b738b013bf27448b4b8b61a7cc.tar.bz2 dotty-4b494abf8bf113b738b013bf27448b4b8b61a7cc.zip |
Fix indentation
Diffstat (limited to 'compiler/src/dotty')
-rw-r--r-- | compiler/src/dotty/tools/dotc/typer/ErrorReporting.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/src/dotty/tools/dotc/typer/ErrorReporting.scala b/compiler/src/dotty/tools/dotc/typer/ErrorReporting.scala index 20946b530..0978c2c1e 100644 --- a/compiler/src/dotty/tools/dotc/typer/ErrorReporting.scala +++ b/compiler/src/dotty/tools/dotc/typer/ErrorReporting.scala @@ -40,12 +40,12 @@ object ErrorReporting { } } else msg - if (cycleSym.is(Implicit, butNot = Method) && cycleSym.owner.isTerm) - em"""cyclic reference involving implicit $cycleSym + if (cycleSym.is(Implicit, butNot = Method) && cycleSym.owner.isTerm) + em"""cyclic reference involving implicit $cycleSym |This happens when the right hand-side of $cycleSym's definition involves an implicit search. |To avoid the error, give $cycleSym an explicit type.""" - else - errorMsg(ex.show, ctx) + else + errorMsg(ex.show, ctx) } def wrongNumberOfTypeArgs(fntpe: Type, expectedArgs: List[TypeParamInfo], actual: List[untpd.Tree], pos: Position)(implicit ctx: Context) = |