mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-12-29 19:20:46 +08:00
Emit diagnostic for MismatchedDelimiterError
This commit is contained in:
parent
e2bc1028e2
commit
2b5171fe92
1 changed files with 1 additions and 0 deletions
|
@ -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)")
|
||||
|
|
Loading…
Reference in a new issue