Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various changes, including fixes for CallFuncList #1417

Merged
merged 4 commits into from Jun 16, 2017

Conversation

fingolfin
Copy link
Member

No description provided.

@fingolfin fingolfin added kind: bug Issues describing general bugs, and PRs fixing them topic: tests issues or PRs related to tests labels Jun 13, 2017
@codecov
Copy link

codecov bot commented Jun 13, 2017

Codecov Report

Merging #1417 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1417      +/-   ##
==========================================
+ Coverage   63.42%   63.45%   +0.02%     
==========================================
  Files        1011     1011              
  Lines      339073   339078       +5     
  Branches    13761    13748      -13     
==========================================
+ Hits       215068   215161      +93     
+ Misses     120961   120887      -74     
+ Partials     3044     3030      -14
Impacted Files Coverage Δ
src/lists.h 100% <ø> (ø) ⬆️
src/hpc/aobjects.c 59.41% <ø> (+0.19%) ⬆️
src/funcs.c 70.12% <100%> (+6.86%) ⬆️
src/intrprtr.c 70.2% <100%> (+0.74%) ⬆️
src/objects.h 80% <0%> (-0.49%) ⬇️
src/listfunc.c 76.77% <0%> (-0.18%) ⬇️
src/vec8bit.c 72.31% <0%> (+0.03%) ⬆️
src/intfuncs.c 90.98% <0%> (+0.11%) ⬆️
src/calls.c 50.34% <0%> (+0.13%) ⬆️
... and 5 more

This is a feature that to the best of my knowledge nobody uses,
but which allows turning arbitrary GAP objects into something
like a function; this feature was added by Steve 2010-09-19.

This was broken in (at least) three ways, as uncovered by the test I wrote
for this feature:
1. Calling such a function object with more than 6 arguments segfaulted;
2. Executed function calls with 3 arguments ignored the last 2 arguments;
3. Executed procedure calls with 5 arguments were rejected

All three issues are fixed by this commit
@fingolfin fingolfin merged commit 6d72467 into gap-system:master Jun 16, 2017
@fingolfin fingolfin deleted the mh/misc branch June 16, 2017 16:20
@olexandr-konovalov olexandr-konovalov added this to the GAP 4.9.0 milestone Jan 29, 2018
@olexandr-konovalov olexandr-konovalov added the release notes: added PRs introducing changes that have since been mentioned in the release notes label Jan 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Issues describing general bugs, and PRs fixing them release notes: added PRs introducing changes that have since been mentioned in the release notes topic: tests issues or PRs related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants