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

Activity

Show:
Ambrose Bonnaire-Sergeant
March 25, 2013, 9:05 AM
Completed

Assignee

Ambrose Bonnaire-Sergeant

Reporter

Mike Anderson

Labels

None

Approval

None

Patch

None

Affects versions

Priority

Minor
Configure