1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 19:19:53 +00:00

Fix #550 - add varfn to safe forms for flycheck.

This commit is contained in:
Calvin Rose 2021-01-06 17:31:08 -06:00
parent dd2595c53f
commit f206b476d1

View File

@ -3172,7 +3172,7 @@
(defn- is-safe-def [x] (no-side-effects (last x)))
(def- safe-forms {'defn true 'defn- true 'defmacro true 'defmacro- true
(def- safe-forms {'defn true 'varfn true 'defn- true 'defmacro true 'defmacro- true
'def is-safe-def 'var is-safe-def 'def- is-safe-def 'var- is-safe-def
'defglobal is-safe-def 'varglobal is-safe-def})