Skip to content

Commit

Permalink
Avoid InstallValue for non-plain objects
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Jul 27, 2023
1 parent d0e15c7 commit 609a7dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions lib/inflist.gd
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ DeclareGlobalFunction( "InfConcatenation" );
DeclareOperation( "InfList", [ IsInfList, IsFunction ] );
DeclareOperation( "HalfInfList", [ IsHalfInfList, IsFunction ] );

DeclareGlobalVariable( "IntegersList" );

DeclareRepresentation( "IsHalfInfListDefaultRep",
IsComponentObjectRep and IsAttributeStoringRep,
[ "values", "start", "direction",
Expand Down
3 changes: 1 addition & 2 deletions lib/inflist.gi
Original file line number Diff line number Diff line change
Expand Up @@ -842,5 +842,4 @@ end );
##
## An IsInfList with the integer i at position i.
##
InstallValue( IntegersList, FunctionInfList( IdFunc ) );

BindGlobal( "IntegersList", FunctionInfList( IdFunc ) );

0 comments on commit 609a7dd

Please sign in to comment.