lfe-deprecated / clj

MERGED to LFE - Clojure-inspired macros and functions for use in LFE
28 stars 2 forks source link

Error compiling with v1.0 of LFE #22

Closed oubiwann closed 8 years ago

oubiwann commented 8 years ago

@rvirding below is the issue I was referring to in the https://github.com/rvirding/lfe/issues/201 ticket. I haven't dug into it yet, but I wanted to get this issue created in case you had time before I got to it later today,

Here's the output of compiling (with rebar3):

 ~~>    Compiling ./src/clj-seq.lfe ...
===>        Compiling
            "/home/oubiwann/lab/lfe/clj/src/clj-seq.lfe"
            to "/home/oubiwann/lab/lfe/clj/_build/default/lib/clj/ebin/clj-seq.beam" ...
===>        Config: [{outdir,
                                     "/home/oubiwann/lab/lfe/clj/_build/default/lib/clj/ebin"},
                                 debug_info,debug_info,
                                 {i,"include"},
                                 return,verbose]
===>    Compile results: {error,
                                  [{error,
                                    [{"/home/oubiwann/lab/lfe/clj/src/clj-seq.lfe",
                                      [{3,lfe_lint,
                                        {redef_fun,
                                         {'LFE-EXPAND-EXPORTED-MACRO',3}}}]}],
                                    []}],
                                  [],[]}
===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace
===> Uncaught error: {case_clause,
                             {error,
                              [{error,
                                [{"/home/oubiwann/lab/lfe/clj/src/clj-seq.lfe",
                                  [{3,lfe_lint,
                                    {redef_fun,
                                     {'LFE-EXPAND-EXPORTED-MACRO',3}}}]}],
                                []}],
                              [],[]}}
oubiwann commented 8 years ago

@yurrriq found the issue here: https://github.com/lfex/kla/pull/2

@rvirding also noted that another new auto-generated module function needs to be filtered out.

oubiwann commented 8 years ago

Eric fixed this with his PR.