Changeset 4273

Show
Ignore:
Timestamp:
05/24/08 04:17:06 (6 months ago)
Author:
pmoura
Message:

Fixed a Logtalk compiler bug when compiling an alias/3 predicate directive within a category that extends other categories.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/compiler/logtalk.pl

    r4271 r4273  
    54725472    (   '$lgt_pp_extended_protocol_'(Entity, _, _, _) 
    54735473    ;   '$lgt_pp_implemented_protocol_'(Entity, _, _, _) 
     5474    ;   '$lgt_pp_extended_category_'(Entity, _, _, _, _) 
    54745475    ;   '$lgt_pp_imported_category_'(Entity, _, _, _, _) 
    54755476    ;   '$lgt_pp_extended_object_'(Entity, _, _, _, _, _, _, _, _, _) 
     
    69396940    ;   Pred = Alias, 
    69406941        '$lgt_pp_object_'(_, _, Dcl, _, _, IDcl, _, _, _, _, _), 
    6941         (   ('$lgt_pp_instantiated_class_'(_, _, _, _, _, _, _, _, _, _); '$lgt_pp_specialized_class_'(_, _, _, _, _, _, _, _, _, _)) -> 
    6942             TPred = '$lgt_call_ctg_pred'(IDcl, Pred, Sender, This, Self) 
    6943         ;   TPred = '$lgt_call_ctg_pred'(Dcl, Pred, Sender, This, Self) 
     6942        (   \+ '$lgt_pp_instantiated_class_'(_, _, _, _, _, _, _, _, _, _), 
     6943            \+ '$lgt_pp_specialized_class_'(_, _, _, _, _, _, _, _, _, _) -> 
     6944            TPred = '$lgt_call_ctg_pred'(Dcl, Pred, Sender, This, Self) 
     6945        ;   TPred = '$lgt_call_ctg_pred'(IDcl, Pred, Sender, This, Self) 
    69446946        ) 
    69456947    ). 
  • trunk/RELEASE_NOTES.txt

    r4271 r4273  
    1111 
    1212 
    13 2.31.6 - May ??, 2008 
     132.31.6 - May 26, 2008 
    1414 
    1515    Fixed a Logtalk runtime bug when using the :/1 control construct to  
    1616    call a predicate defined in a category extended by a category that  
    1717    is imported by the object making the call. 
     18 
     19    Fixed a Logtalk compiler bug when compiling an alias/3 predicate  
     20    directive within a category that extends other categories. 
    1821 
    1922    Fixed a Logtalk compiler bug when compiling a class that imports a