# HG changeset patch # User Rik # Date 1592253354 25200 # Node ID 5fb8449e4dd00fc7a1499183f06b28263d4fbc5f # Parent 7f586be7282c702f16de6c4f184bfbcbb1ef7a83 warning_ids.m: Document "Octave:classdef-to-struct" ID. * warning_ids.m: Document "Octave:classdef-to-struct" ID. diff -r 7f586be7282c -r 5fb8449e4dd0 scripts/help/warning_ids.m --- a/scripts/help/warning_ids.m Mon Jun 15 08:41:54 2020 -0700 +++ b/scripts/help/warning_ids.m Mon Jun 15 13:35:54 2020 -0700 @@ -139,6 +139,14 @@ ## By default, the @code{Octave:built-in-variable-assignment} warning is ## enabled. ## +## @item Octave:classdef-to-struct +## If the @code{Octave:classdef-to-struct} warning is enabled, a warning +## is issued when a classdef object is forcibly converted into a struct with +## @code{struct (@var{CLASSDEF_OBJ})}. Conversion removes the access +## restrictions from the object and makes private and protected properties +## visible. +## By default, the @code{Octave:classdef-to-struct} warning is enabled. +## ## @item Octave:colon-complex-argument ## If the @code{Octave:colon-complex-argument} warning is enabled, a warning ## is issued when one of the three arguments to the colon operator (base,