Skip to content

Commit

Permalink
Work around problem with MakeImmutable in HPCGAP
Browse files Browse the repository at this point in the history
  • Loading branch information
stevelinton committed Aug 13, 2019
1 parent c85b3e6 commit 258df81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tst/testinstall/attribute.tst
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,12 @@ gap> Size(foo);
gap> InstallMethod(FavouriteFruit, [HasSize], x-> "pear");
gap> FavouriteFruit(foo);
"pear"
#@if not IsHPCGAP
gap> MakeImmutable(foo);
<object>
gap> FavouriteFruit(foo);
"pear"
gap> HasFavouriteFruit(foo);
true
#@fi
gap> STOP_TEST("attribute.tst", 1);

0 comments on commit 258df81

Please sign in to comment.