We're updating the issue view to help you get more done. 

Missing :require of clojure.main?

Description

Affects version 0.1.8 (but version isn't listed as a valid version in JIRA)

clojure.core.typed refers to clojure.main/repl (line 725 in master)

However clojure.main is not required by the clojure.core.typed namespace, so you get an error if clojure.main has not already been loaded. This can happen in various circumstances, e.g. running "mvn test"

Code to reproduce / fix:

(ns some.namespace
(:require [clojure.main]) ;; this line is needed to avoid an error
(:require [clojure.core.typed :refer [ann inst cf fn> pfn> check-ns ann-form]]))

Environment

None

Status

Assignee

Ambrose BS

Reporter

Mike Anderson

Labels

None

Approval

None

Patch

None

Affects versions

0.2

Priority

Minor