1
0
mirror of https://github.com/janet-lang/janet synced 2025-01-13 17:10:27 +00:00

Merge branch 'master' of github.com:janet-lang/janet

This commit is contained in:
Calvin Rose 2021-01-07 18:08:08 -06:00
commit 32e8ac912d

View File

@ -3222,10 +3222,9 @@
(use-2 evaluator (tuple/slice source 1)) (use-2 evaluator (tuple/slice source 1))
# Import-like form # Import-like form
(importers head) (importers head)
(do (let [[l c] (tuple/sourcemap source)
(let [[l c] (tuple/sourcemap source) newtup (tuple/setmap (tuple ;source :evaluator evaluator) l c)]
newtup (tuple/setmap (tuple ;source :evaluator evaluator) l c)] ((compile newtup env where))))))
((compile newtup env where)))))))
(defn flycheck (defn flycheck
``Check a file for errors without running the file. Found errors will be printed to stderr ``Check a file for errors without running the file. Found errors will be printed to stderr