diff --git a/CHANGES.current b/CHANGES.current index f78ccf67a..d37de6628 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -1,6 +1,12 @@ Version 1.3.30 (in progress) ============================ +06/20/2006: wuzzeb (John Lenz) + [Chicken] + Minor fixes to get apply_strings.i testsuite to pass + Remove integers_runme.scm from the testsuite, because SWIG and Chicken does + handle overflows. + 06/17/2006: olly [php] Added some missing keywords to the PHP4 keyword list, and fixed __LINE__ and __FILE__ which were in the wrong category. diff --git a/Doc/Manual/Chicken.html b/Doc/Manual/Chicken.html index 0a913e9e2..c415478b9 100644 --- a/Doc/Manual/Chicken.html +++ b/Doc/Manual/Chicken.html @@ -548,7 +548,9 @@ all the modules.
%feature(compactdefaultargs). -TinyCLOS has a limitation such that generic methods do not properly work on methods +
In Chicken versions equal to or below 1.92, TinyCLOS has a limitation such that generic methods do not properly work on methods with different number of specializers: TinyCLOS assumes that every method added to a generic function will have the same number of specializers. SWIG generates functions with different lengths of specializers when C/C++ functions are overloaded. For example, the code
@@ -571,13 +573,12 @@ int foo(int a);Using unpatched TinyCLOS, the second (define-method) will replace the first one,
so calling (foo 3 f) will produce an error.
There are two solutions to this: the +
There are three solutions to this. The easist is to upgrade to the latest Chicken version. Otherwise, the file Lib/chicken/tinyclos-multi-generic.patch in the SWIG source contains a patch against -tinyclos.scm inside the chicken source to add support into TinyCLOS for multi-argument generics. +tinyclos.scm inside the 1.92 chicken source to add support into TinyCLOS for multi-argument generics. (This patch was accepted into Chicken) This requires chicken to be rebuilt and custom install of chicken. An alternative is the Lib/chicken/multi-generic.scm file in the SWIG source. This file can be loaded after TinyCLOS is loaded, and it will override some functions -inside TinyCLOS to correctly support multi-argument generics. This solution will work on any install of chicken. -Please see the comments at the top of both files for more information.
+inside TinyCLOS to correctly support multi-argument generics. Please see the comments at the top of both files for more information.