Skip to content

Commit 5b589fe

Browse files
committed
Fix the try catch.
1 parent a0441a1 commit 5b589fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/analyzer.wisp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@
137137

138138
;; Try
139139
body (if handler-form
140-
(analyze-block env (butlast body-form))
141-
(analyze-block env body-form))]
140+
(analyze-block (sub-env env) (butlast body-form))
141+
(analyze-block (sub-env env) body-form))]
142142
{:op :try
143143
:form form
144144
:body body

0 commit comments

Comments
 (0)