Improving setting Size (and possibly other attributes)
Closed this issue · 1 comments
olexandr-konovalov commented
Consider example:
gap> br:=SmallSkewBrace(8,1);
A skew brace of size 8
gap> KnownAttributesOfObject(br);
[ ]
So br
knows its Size
, it is displayed in the output, but it is not yet a known attribute. However, we have:
gap> br:=SmallSkewBrace(8,1);
A skew brace of size 8
gap> Size(br);
8
gap> KnownAttributesOfObject(br);
[ "Size" ]
The reason is that Size
is not declared as an attribute for IsSkewBrace
in skew.gd
and then installed as other method in
Lines 24 to 27 in 6434fda
Instead, it should be declared as attribute, and then the call of Objectify in
Lines 16 to 21 in 6434fda
ObjectifyWithAttributes
. Other components should be also handled in the same way.olexandr-konovalov commented
Done as a part of 7ccf14d