-
Notifications
You must be signed in to change notification settings - Fork 175
Closed
Labels
kind: bugIssues describing general bugs, and PRs fixing themIssues describing general bugs, and PRs fixing them
Description
In the GAP master branch the following happens
gap> list := [];
[ ]
gap> list{ [fail] };
Error, List Elements: <positions> must be a dense list of positive integers
not in any function at *stdin*:3
gap>
So, we don't get a break loop. This turns out to be a bit annoying when debugging code, because if one ends up in a situation where an index list contains invalid entries, one cannot inspect it anymore.
An easy solution to this is to replace ErrorQuit in error.c by ErrorMayQuit, but there might be a deeper reason why this was not used.
Metadata
Metadata
Assignees
Labels
kind: bugIssues describing general bugs, and PRs fixing themIssues describing general bugs, and PRs fixing them