From 2b5171fe92b65f78c031691be3638f28ac5d7fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Thu, 25 Jan 2024 16:26:19 +0800 Subject: [PATCH] Emit diagnostic for MismatchedDelimiterError --- lib/livebook/runtime/evaluator.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/livebook/runtime/evaluator.ex b/lib/livebook/runtime/evaluator.ex index 3313ba8ca..e154b7552 100644 --- a/lib/livebook/runtime/evaluator.ex +++ b/lib/livebook/runtime/evaluator.ex @@ -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)")