|
From: Christophe R. <cs...@ca...> - 2021-01-19 21:01:08
|
Charles Zhang via Sbcl-devel <sbc...@li...> writes: > fwiw, I did look into doing this when I added a a bunch of other > shadows, but I concluded that there needs to be some genuine thought > put into whether to use the host or xc gensym depending on whether the > host or xc uses its macroexpander to call the gensym, to prevent > leakage, so shadowing it might just cause the opposite problem of > needing cl:gensym in just as many places. But you may find that it > does work out better to shadow it. I favour trying to fix most of the issues to get us to a baseline of (ideally) all xc files equal between host compilers, or at least a small number of known not-equal ones, and then making systematic changes like this. It's just too easy to regress otherwise. Once we're done or close to done, it might be more obvious which of the cl/xc gensyms is most useful. Cheers, Christophe |