Segmentation fault on wrong access to record components #3489
Labels
kind: bug: crash
Issues describing bugs that cause GAP to crash, and PRs fixing them (used for release notes)
kind: bug
Issues describing general bugs, and PRs fixing them
topic: documentation
Issues and PRs related to documentation
The following input causes a segmentation fault (already in very old GAP versions).
I think GAP should better give an appropriate error message.
In addition to that, I think that the documentation is not clear enough in this respect.
The section "Record Access Operations" in the GAP Reference Manual says that record component names are encoded by numbers,
and that the correspondence is implemented by
NameRNam
andRNamObj
.It does not say what this means for non-infix calls to the operation
\.
and to the methods installed for this operation.
In particular it does not show an example.
The following example would already be helpful.
If you agree that extending the documentation this way would be useful
then I can provide a pull request for such a change.
The text was updated successfully, but these errors were encountered: