Skip to content

fix - #679

Merged
izulin merged 3 commits into
developfrom
pu/nestedexpressions
May 24, 2021
Merged

fix#679
izulin merged 3 commits into
developfrom
pu/nestedexpressions

Conversation

@izulin

@izulin izulin commented May 23, 2021 •

Copy link
Copy Markdown
Contributor

Context

Adding new namedexpression with new-new nested was resulting in a race-condition with addresses:

    const engine = HyperFormula.buildFromArray([['=ABCD']])
    engine.addNamedExpression('ABCD', '=EFGH')
    engine.addNamedExpression('EFGH', 1)

resulted in improper evaluation and/or exception thrown

How has this been tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature or improvement (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Additional language file or change to the existing one (translations)

Related issue(s):

Checklist:

  • My code follows the code style of this project,
  • My change requires a change to the documentation,
  • I described the modification in the CHANGELOG.md file.

@codecov

codecov Bot commented May 23, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #679 (c82d5df) into develop (c1340e8) will decrease coverage by 0.02%.
The diff coverage is 85.71%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #679      +/-   ##
===========================================
- Coverage    92.50%   92.48%   -0.03%     
===========================================
  Files          166      166              
  Lines        38842    38829      -13     
  Branches      5324     5318       -6     
===========================================
- Hits         35931    35911      -20     
- Misses        2875     2882       +7     
  Partials        36       36              
Impacted Files Coverage Δ
src/Operations.ts 93.23% <75.00%> (-0.02%) ⬇️
src/CrudOperations.ts 85.35% <100.00%> (-1.05%) ⬇️
src/NamedExpressions.ts 95.06% <100.00%> (-0.15%) ⬇️

@wojciechczerniak wojciechczerniak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@izulin
izulin merged commit e77bca5 into develop May 24, 2021
@izulin
izulin deleted the pu/nestedexpressions branch May 24, 2021 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants