clclojure icon indicating copy to clipboard operation
clclojure copied to clipboard

False positives in tco

Open joinr opened this issue 6 years ago • 1 comments

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

joinr avatar Dec 08 '19 12:12 joinr

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.

joinr avatar Dec 09 '19 06:12 joinr