Details
-
Type:
Defect
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Take for example this code:
(ns foo
(:require [views.bar :as bar]
[model.bar :as bar]))
;; this is meant to use views.bar
(bar/update-view)
The call to update-view fails with a "Cannot call method call of undefined", which is quite confusing if you have a big list of requires at the beginning. The expected behavior would be a compile-time error.
fixed, http://github.com/clojure/clojurescript/commit/7be30517f9204098bd193baa6c8241f8016f2eed