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 93e76a7 commit 454accfCopy full SHA for 454accf
compiler/src/dotty/tools/dotc/typer/Synthesizer.scala
@@ -828,6 +828,7 @@ object Synthesizer:
828
829
/** Tuple used to store the synthesis result with a list of errors. */
830
type TreeWithErrors = (Tree, List[String])
831
+
832
private inline def withNoErrors(inline tree: => Tree): TreeWithErrors =
833
try
834
(tree, List.empty)
0 commit comments