flan/test/programs/dev-load-errors.flan

9 lines
291 B
Plaintext

;;;; A file loaded into a session with two forms that do not compile: [bad]
;;;; returns a string where it says i64, and [good] calls [bad], so it goes
;;;; when [bad] does. [fine] is the form that has to arrive anyway.
(defn good [] i64 (bad))
(defn bad [] i64 "x")
(defn fine [] i64 42)