Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/lists.h
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@
GAP_ASSERT(pos > 0);
UInt tnum = TNUM_OBJ(list);
if (FIRST_LIST_TNUM <= tnum && tnum <= LAST_LIST_TNUM &&
(tnum & IMMUTABLE)) {
!IS_MUTABLE_OBJ(list)) {

Check warning on line 470 in src/lists.h

View check run for this annotation

Codecov / codecov/patch

src/lists.h#L470

Added line #L470 was not covered by tests
ErrorMayQuit("List Unbind: <list> must be a mutable list", 0, 0);
}
(*UnbListFuncs[TNUM_OBJ(list)])(list, pos);
Expand Down Expand Up @@ -504,7 +504,7 @@
GAP_ASSERT(obj != 0);
UInt tnum = TNUM_OBJ(list);
if (FIRST_LIST_TNUM <= tnum && tnum <= LAST_LIST_TNUM &&
(tnum & IMMUTABLE)) {
!IS_MUTABLE_OBJ(list)) {
ErrorMayQuit("List Assignment: <list> must be a mutable list", 0, 0);
}
(*AssListFuncs[TNUM_OBJ(list)])(list, pos, obj);
Expand Down Expand Up @@ -552,7 +552,7 @@
GAP_ASSERT(LEN_LIST(poss) == LEN_LIST(objs));
UInt tnum = TNUM_OBJ(list);
if (FIRST_LIST_TNUM <= tnum && tnum <= LAST_LIST_TNUM &&
(tnum & IMMUTABLE)) {
!IS_MUTABLE_OBJ(list)) {

Check warning on line 555 in src/lists.h

View check run for this annotation

Codecov / codecov/patch

src/lists.h#L555

Added line #L555 was not covered by tests
ErrorMayQuit("List Assignments: <list> must be a mutable list", 0, 0);
}
(*AsssListFuncs[TNUM_OBJ(list)])(list, poss, objs);
Expand Down
Loading