Closed rtoy closed 4 months ago
Imported from SourceForge on 2024-07-05 18:39:16 Created by rtoy on 2023-01-26 15:11:25 Original: https://sourceforge.net/p/maxima/bugs/4089/#c29a
The bracnch rtoy-schatc-rename-specvar-ans has a working rename. It appears that series.lisp and trgred.lisp have to rename ans
too.
Imported from SourceForge on 2024-07-05 18:39:20 Created by rtoy on 2023-01-27 19:14:56 Original: https://sourceforge.net/p/maxima/bugs/4089/#d441
Imported from SourceForge on 2024-07-05 18:39:15 Created by rtoy on 2023-01-26 04:25:48 Original: https://sourceforge.net/p/maxima/bugs/4089
The file schatc.lisp has a
declare-top
for the variableans
to declare it special at the beginning of the file. It's also declaredunspecial
at the end.This makes it seem as if it's only used within this file. However, renaming
ans
t o*schatc-ans*
in this file causes many tests for power series to fail with an error message that*schatc-ans*
is unbound. So clearly something that schatc.lisp calls is expectingans
to be special, or, conversely, so caller of schatc.lisp expects settingans
to have an effect on schatc.lisp.Since
ans
is such a common variable name, it's really hard to know where it's really supposed to be the specvar or is just a simple lexical var. Yuck.