Skip to content
Snippets Groups Projects
  • Arne Goedeke's avatar
    fa155aea
    equal: allow comparing objects with getters · fa155aea
    Arne Goedeke authored
    setters/getters are marked as variables with special run_time_type.
    object_equal_p() did not handle that case and ended up calling
    low_is_equal with type PIKE_T_GET_SET which would lead to a
    fatal.
    
    This change makes object_equal_p() ignore getters.
    fa155aea
    History
    equal: allow comparing objects with getters
    Arne Goedeke authored
    setters/getters are marked as variables with special run_time_type.
    object_equal_p() did not handle that case and ended up calling
    low_is_equal with type PIKE_T_GET_SET which would lead to a
    fatal.
    
    This change makes object_equal_p() ignore getters.