Changeset 4429

Show
Ignore:
Timestamp:
08/17/08 08:22:27 (5 months ago)
Author:
pmoura
Message:

Corrected a bug in the implementation of the built-in database predicates retract/1 and retractall/1 when adding a cachy entry for a local dynamic predicate with no scope declaration.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/compiler/logtalk.pl

    r4427 r4429  
    25972597            (   '$lgt_debugging_'(Obj) -> 
    25982598                retract((Call :- '$lgt_dbg_fact'(_, _))) 
    2599             ;   '$lgt_add_db_lookup_cache_entry'(Obj, Head, PScope, Sender, Call), 
     2599            ;   '$lgt_add_db_lookup_cache_entry'(Obj, Head, p, Sender, Call), 
    26002600                retract(Call) 
    26012601            ) 
     
    26602660            (   '$lgt_debugging_'(Obj) -> 
    26612661                true 
    2662             ;   '$lgt_add_db_lookup_cache_entry'(Obj, Head, PScope, Sender, Call) 
     2662            ;   '$lgt_add_db_lookup_cache_entry'(Obj, Head, p, Sender, Call) 
    26632663            ), 
    26642664            retractall(Call) 
  • trunk/RELEASE_NOTES.txt

    r4427 r4429  
    3131    standard Prolog built-in predicate abort/0. Corrected a bug that prevented 
    3232    the use of the command ignore at the redo port. 
     33 
     34    Corrected a bug in the implementation of the built-in database predicates  
     35    retract/1 and retractall/1 when adding a cachy entry for a local dynamic  
     36    predicate with no scope declaration. 
    3337 
    3438    Added ECLiPSe 6.0 config files. Modified the POSIX script "eclipselgt"