changeset 24542:d6f06eeb8917

Don't install meta.event and meta.dynproperty in the symbol table. * ov-classdef.cc (cdef_manager::initialize): Don't install meta.event and meta.dynproperty in the symbol table.
author Piotr Held <pjheld@gmail.com>
date Thu, 28 Sep 2017 17:35:59 -0700
parents 3d1b40992075
children 0c204cd762a4
files libinterp/octave-value/ov-classdef.cc
diffstat 1 files changed, 10 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/octave-value/ov-classdef.cc	Thu Sep 28 17:32:48 2017 -0700
+++ b/libinterp/octave-value/ov-classdef.cc	Thu Sep 28 17:35:59 2017 -0700
@@ -3639,13 +3639,16 @@
     ("meta.package",
      octave_value (m_meta_package.get_constructor_function ()));
 
-  symtab.install_built_in_function
-    ("meta.event",
-     octave_value (tmp_meta_event.get_constructor_function ()));
-
-  symtab.install_built_in_function
-    ("meta.dynproperty",
-     octave_value (tmp_meta_dynproperty.get_constructor_function ()));
+// FIXME: meta.event and meta.dynproperty are not implemented
+//        and should not be installed into symbol table.
+
+//  symtab.install_built_in_function
+//    ("meta.event",
+//     octave_value (tmp_meta_event.get_constructor_function ()));
+
+//  symtab.install_built_in_function
+//    ("meta.dynproperty",
+//     octave_value (tmp_meta_dynproperty.get_constructor_function ()));
 }
 
 cdef_class