We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 454accf commit 2ec9d83Copy full SHA for 2ec9d83
compiler/src/dotty/tools/dotc/typer/Synthesizer.scala
@@ -835,6 +835,7 @@ object Synthesizer:
835
catch
836
case tp: TypeError =>
837
withErrors(tp.getMessage)
838
+
839
private def withErrors(errors: String*): TreeWithErrors = (EmptyTree, errors.toList)
840
841
private val EmptyTreeNoError: TreeWithErrors = withNoErrors(EmptyTree)
0 commit comments