Skip to content

Commit 2ec9d83

Browse files
smarterodersky
andauthored
Update compiler/src/dotty/tools/dotc/typer/Synthesizer.scala
Co-authored-by: odersky <odersky@gmail.com>
1 parent 454accf commit 2ec9d83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,7 @@ object Synthesizer:
835835
catch
836836
case tp: TypeError =>
837837
withErrors(tp.getMessage)
838+
838839
private def withErrors(errors: String*): TreeWithErrors = (EmptyTree, errors.toList)
839840

840841
private val EmptyTreeNoError: TreeWithErrors = withNoErrors(EmptyTree)

0 commit comments

Comments
 (0)