diff --git a/NEWS b/NEWS index ca1932d..b2a7106 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ Changes from Hy 0.9.4 [ Syntax Fixes ] + * Statements in the `fn' path early will not return anymore. (PT) * Added "not" as the inline "not" operator. It's advised to still use "not-in" or "is-not" rather then nesting. (JD) * `let' macro added (PT) diff --git a/tests/native_tests/language.hy b/tests/native_tests/language.hy index 6b00a3e..35abf96 100644 --- a/tests/native_tests/language.hy +++ b/tests/native_tests/language.hy @@ -445,7 +445,11 @@ [y 2]] (if true 2) - 1)))) + 1))) + (assert (= 1 (let [[x 1] [y 2]] + (pass) + (pass) + ((fn [] 1)))))) ; FEATURE: native hy-eval