changeset 21097:87b3348d8d76

Fix clearing breakpoints in @class files with dbstatus (bug #41190). * symtab.cc (symbol_table::fcn_info::fcn_info_rep::load_class_constructor): Add constructor to list of class_methods.
author Lachlan Andrew <lachlanbis@gmail.com>
date Tue, 15 Dec 2015 21:30:25 +1100
parents a1529d24beff
children 99d373870017
files libinterp/corefcn/symtab.cc
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/symtab.cc	Sun Jan 17 17:20:23 2016 +0100
+++ b/libinterp/corefcn/symtab.cc	Tue Dec 15 21:30:25 2015 +1100
@@ -434,6 +434,7 @@
           retval = octave_value (fcn);
 
           class_constructors[name] = retval;
+          class_methods[name] = retval;
         }
     }
   else
@@ -456,6 +457,7 @@
               retval = maybe_cdef_ctor;
 
               class_constructors[name] = retval;
+              class_methods[name] = retval;
 
               function_on_path = old_function_on_path;
             }