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:
parent
dd2595c53f
commit
f206b476d1
@ -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})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user