I have opened a jira ticket for this issue:
http://dev.clojure.org/jira/browse/CLJS-1565

On Mon, 25 Jan 2016 at 16:09 Yehonathan Sharvit <[email protected]> wrote:

> I have an issue when requiring cljs.js and compiling in `:optimizations
> :whitespace`
> I get the following error in the browser: goog.require could not find:
> cljs.core$macros
>
> Any idea why it happens and how to solve it?
>
>
> On Thu, Jan 21, 2016 at 4:21 PM, Mike Fikes <[email protected]> wrote:
>
>> Hi Andray,
>>
>> I don’t know. I’ve always assumed eval-str treated its contents
>> essentially as a top-level form. Having said that, if you have evaluated
>> `def`s in your environment and maintain the analysis cache, then your
>> evaluated string will “see” those `def`s.
>>
>> - Mike
>>
>> > On Jan 21, 2016, at 8:03 AM, Andray Shotkin <[email protected]>
>> wrote:
>> >
>> > Mike,
>> > any idea how can i pass outer variables bindings into eval-str?
>> > i see :locals field in options but these locals are not forwarded into
>> env which is used during analyzing clojurescript form?
>> >
>> > Andray
>> >
>> > --
>> > Note that posts from new members are moderated - please be patient with
>> your first post.
>> > ---
>> > You received this message because you are subscribed to the Google
>> Groups "ClojureScript" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an email to [email protected].
>> > To post to this group, send email to [email protected].
>> > Visit this group at https://groups.google.com/group/clojurescript.
>>
>> --
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "ClojureScript" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/clojurescript/5ZUvk7RPB9I/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/clojurescript.
>>
>
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to