I agree that it should be a bug and it's bit me a few times too. Usually, however, I don't find it to be a big deal in my workflow as I can see it in my cljsbuild auto output (on a successful build the only output is "compiling" and then the coloured success text so it's easy for me to see if it looks different) but it does mean that I either need to glance at it regularly or set up something to notify me.
Making it an error would definitely streamline things! Although I'm not sure what exactly should happen eg if using figwheel (ideally browser would display a prominent error notification somehow) On 26 Aug 2014 07:39, "Christian Johansen" <[email protected]> wrote: > Hi, > > Currently the Clojurescript compiler throws this warning when using an > undeclared var: > > WARNING: Use of undeclared Var my.ns/varname at line 66 src/my/ns.cljs > > It seems to me that this should be a compilation error. What is the > background for completing the compilation in the presence of this bug? It's > caused me many obscure bugs and frustrating debugging experiences. I know I > should heed the warning, but with `cljsbuild auto`, I don't look at the > compilation output every step of the way. > > Christian > > -- > 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 http://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 http://groups.google.com/group/clojurescript.
