Changeset 4269

Show
Ignore:
Timestamp:
05/22/08 03:58:04 (5 months ago)
Author:
pmoura
Message:

Fixed a Logtalk compiler bug when compiling a class that imports a category that extends other categories. Thanks to Victor Noel for the bug report.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/compiler/logtalk.pl

    r4233 r4269  
    98229822    '$lgt_pp_rclause_'('$lgt_imports_category_'(Obj, Ctg, _)),      % needed for parameter passing 
    98239823    '$lgt_pp_imported_category_'(Ctg, _, _, CDef, _), 
    9824     Lookup =.. [CDef, Pred, Sender, Obj, Self, Call], 
     9824    Lookup =.. [CDef, Pred, Sender, Obj, Self, Call, Ctn], 
    98259825    (   '$lgt_pp_alias_'(Ctg, _, _) -> 
    9826         Head =.. [OIDef, Alias, Sender, Obj, Self, Call, Ctg], 
     9826        Head =.. [OIDef, Alias, Sender, Obj, Self, Call, Ctn], 
    98279827        Rename =.. [PRnm, Ctg, Pred, Alias], 
    98289828        assertz('$lgt_pp_fdef_'((Head :- var(Alias) -> Lookup, Rename; Rename, Lookup))) 
    9829     ;   Head =.. [OIDef, Pred, Sender, Obj, Self, Call, Ctg], 
     9829    ;   Head =.. [OIDef, Pred, Sender, Obj, Self, Call, Ctn], 
    98309830        assertz('$lgt_pp_fdef_'((Head:-Lookup))) 
    98319831    ), 
  • trunk/RELEASE_NOTES.txt

    r4268 r4269  
    1111 
    1212 
    13 2.31.6 - May ??, 2008 
     132.31.6 - May 26, 2008 
     14 
     15    Fixed a Logtalk compiler bug when compiling a class that imports a   
     16    category that extends other categories.  Thanks to Victor Noel for  
     17    the bug report. 
    1418 
    1519    Removed from the YAP config file the definition of the forall/2  
    1620    predicate, which have been added as a built-in predicate in YAP  
    17     version 5.1.3. Added support for the proprietary if/1, else/0,  
    18     elif/1, and endif/0 directives. 
     21    version 5.1.3 (the current YAP CVS version must be used; the last  
     22    stable version, 5.1.2, is broken on Windows). Added support for  
     23    the proprietary if/1, else/0, elif/1, and endif/0 directives (when  
     24    used outside Logtalk entities). 
    1925 
    2026    Updated the SWI-Prolog config file with support for the proprietary  
    21     if/1, else/0, elif/1, and endif/0 directives. 
     27    if/1, else/0, elif/1, and endif/0 directives (when used outside  
     28    Logtalk entities). 
    2229 
    2330    Added support for the Pygments syntax highlighter (co-developed with