[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MIT-Scheme-devel] [patch #9205] Fix deinstall of multiplexer when a def

From: Daniel White
Subject: [MIT-Scheme-devel] [patch #9205] Fix deinstall of multiplexer when a default exists.
Date: Mon, 2 Jan 2017 15:17:40 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36


                 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



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

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
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:



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]