joinr / clclojure

An experimental port of clojure to common lisp. Also some native common lisp implementations of clojure libraries, like seq, persistent vectors, etc.
Eclipse Public License 1.0
223 stars 8 forks source link

False positives in tco #5

Open joinr opened 4 years ago

joinr commented 4 years ago

Getting counterintuitive tail call warnings for when-let forms. Somehow tripping a false positive.

joinr commented 4 years ago

Added a "warn" hook to default to complaining about the (actually currently valid) "illegal" recur sites. It looks like some issues with macroexpanding both if-let and when-let, when invoked during tail-children and detect-recur. For now, we can get functional compilation of forms that we know are good, just with some warnings.