12 lines
348 B
Plaintext
12 lines
348 B
Plaintext
;;;; A dyn type mismatch is a trap, with no struct behind it: what it refused
|
|
;;;; is the sentence the runtime wrote, which the break loop carries to the
|
|
;;;; editor in place of fields.
|
|
(import agent "vendor:agent")
|
|
|
|
(defn add [x dyn y dyn] dyn (+ x y))
|
|
|
|
(defn main [] i32
|
|
(agent/start "/tmp/flan-dev-trap-dyn-fallback.sock")
|
|
(add 3 "hi")
|
|
0)
|