Carp/test-for-errors/trick_resolution.carp
2018-09-21 15:17:12 +02:00

9 lines
255 B
Plaintext

(Project.config "file-path-print-length" "short")
;; This shouldn't resolve!
(definterface blurgh (Fn [a] Bool))
(defmodule A (defn blurgh [x] (Int.= x 1)))
(defmodule B (defn blurgh [x] (Float.= x 1.0f)))
(defn f [x] (blurgh x))
(defn g [] (f "hello"))