Last active
August 29, 2015 14:07
-
-
Save johnwalker/b43315af11bb9dc4a197 to your computer and use it in GitHub Desktop.
Fails for me on typed-clojure 2.7.69, 2.7.70
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns experimental-clojure.core | |
(:require [clojure.core.typed :as t])) | |
(t/ann add-two (t/IFn [Number -> Number])) | |
(defn add-two [n] | |
(+ 2 n)) | |
;; (t/cf add-two) | |
;; (t/check-ns) |
It was a maven bug. Works for 2.7.71+
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This worked in 2.7.68, but in 2.7.69 and 2.7.70, evaluating (t/check-ns) yields the following exception: