URL: <http://savannah.gnu.org/patch/?9205>
Summary: Fix deinstall of multiplexer when a default exists. Project: MIT/GNU Scheme Submitted by: dwhite Submitted on: Mon 02 Jan 2017 03:17:39 PM GMT Category: None Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: This copes with a somewhat subtle case where a default exists but the last generator is removed. By inverting the checks, we can ensure we only look at the cdr of the generator list when generators is actually a pair. The bug was originally exhibited by an error when removing the last generator with remove-generic-procedure-generator on a generic procedure with a default generator. I've added a somewhat clumsy test case, which I figured was an improvement over having nothing at all. I'm happy to twiddle with it a bit more if there are any better suggestions or recommendations around how to tackle it. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 02 Jan 2017 03:17:39 PM GMT Name: 0001-Fix-deinstall-of-multiplexer-when-a-default-exists.patch Size: 4kB By: dwhite <http://savannah.gnu.org/patch/download.php?file_id=39341> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?9205> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ MIT-Scheme-devel mailing list MIT-Scheme-devel@gnu.org https://lists.gnu.org/mailman/listinfo/mit-scheme-devel