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

Hashes - Add parameter to prevent removing default values #1383

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jokoho48
Copy link
Member

When merged this pull request will:

@jokoho48 jokoho48 changed the title possible fix for #1358 Add Parameter for Removing Defaults from hashes Oct 14, 2020
@jokoho48 jokoho48 changed the title Add Parameter for Removing Defaults from hashes Add Parameter to prevent removing defaults from hashes Oct 14, 2020
@PabstMirror PabstMirror added this to the 3.15.2 milestone Nov 1, 2020
@PabstMirror
Copy link
Contributor

_hash = [[], nil, false] call CBA_fnc_hashCreate; 
[_hash, "A", nil] call CBA_fnc_hashSet;
[_hash] call CBA_fnc_hashKeys;

returns []

_hash = [[], 5, false] call CBA_fnc_hashCreate; 
[_hash, "B", 5] call CBA_fnc_hashSet;
[_hash, "B"] call CBA_fnc_hashRem;
[_hash] call CBA_fnc_hashKeys;

returns ["B"]

@PabstMirror PabstMirror modified the milestones: 3.15.2, 3.16 Nov 2, 2020
@PabstMirror PabstMirror modified the milestones: 3.16, Ongoing Jan 20, 2021
@jonpas jonpas added the WIP label Jul 23, 2021
@jonpas jonpas changed the title Add Parameter to prevent removing defaults from hashes Hasehs - Add parameter to prevent removing default values Jul 23, 2021
@jonpas jonpas changed the title Hasehs - Add parameter to prevent removing default values Hashes - Add parameter to prevent removing default values Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants