From 2f62761e379404edc77fdfd36d52584a9d633c43 Mon Sep 17 00:00:00 2001 From: XeroOl Date: Fri, 22 Mar 2024 12:29:40 -0500 Subject: [PATCH] unknown module in (include) doesn't propagate errors --- src/fennel-ls/compiler.fnl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fennel-ls/compiler.fnl b/src/fennel-ls/compiler.fnl index a7e9fb8..5af6fc0 100644 --- a/src/fennel-ls/compiler.fnl +++ b/src/fennel-ls/compiler.fnl @@ -240,6 +240,7 @@ identifiers are declared / referenced in which places." (= 1 (msg:find "expected whitespace before opening delimiter")) (= 1 (msg:find "malformed multisym")) (= 1 (msg:find "expected at least one pattern/body pair")) + (= 1 (msg:find "module not found")) (when (and (sequence? ?ast) (= 1 (% (length ?ast ) 2)) (= 1 (msg:find "expected even number of name/value bindings")))