Emit diagnostic for MismatchedDelimiterError

This commit is contained in:
Jonatan Kłosko 2024-01-25 16:26:19 +08:00
parent e2bc1028e2
commit 2b5171fe92

View file

@ -818,6 +818,7 @@ defmodule Livebook.Runtime.Evaluator do
defp extra_diagnostic?(%SyntaxError{}), do: true
defp extra_diagnostic?(%TokenMissingError{}), do: true
defp extra_diagnostic?(%MismatchedDelimiterError{}), do: true
defp extra_diagnostic?(%CompileError{description: description}) do
not String.contains?(description, "(errors have been logged)")