Hi, On 17 Dez., 15:27, Randall R Schulz <rsch...@sonic.net> wrote: > user=> (macroexpand '(dcmfail)) > (new BufferedWriter (FileWriter. "stand-back")) > > I'm guessing it works for you 'cause in the macro expansion context you > have an import in effect. I (use ...) the module bearing the failing > macro definition (and Java class imports) but don't have an > (import ...) in force for those Java classes in the expansion context.
Yes. I think this is the problem. `(SomeClass. ...) should be syntax-quoted to (package.SomeClass. ...). It worked for me, because I was in the same namespace. You are right. Sincerely Meikel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---