Skip to content

Comments

Reset RHS expression shape when hanging at binop#434

Merged
JohnnyMorganz merged 3 commits intomasterfrom
hanging-shape
Apr 1, 2022
Merged

Reset RHS expression shape when hanging at binop#434
JohnnyMorganz merged 3 commits intomasterfrom
hanging-shape

Conversation

@JohnnyMorganz
Copy link
Owner

It caused the calculation to be incorrect, with a ghost offset present inside the shape, causing the RHS expression to expand unnecessarily

Fixes #432

@codecov
Copy link

codecov bot commented Apr 1, 2022

Codecov Report

Merging #434 (0ab818a) into master (f8e3101) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #434   +/-   ##
=======================================
  Coverage   96.37%   96.38%           
=======================================
  Files          14       14           
  Lines        5191     5194    +3     
=======================================
+ Hits         5003     5006    +3     
  Misses        188      188           
Impacted Files Coverage Δ
src/formatters/expression.rs 96.91% <100.00%> (+0.01%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f8e3101...0ab818a. Read the comment docs.

@JohnnyMorganz JohnnyMorganz merged commit 09be20b into master Apr 1, 2022
@JohnnyMorganz JohnnyMorganz deleted the hanging-shape branch April 1, 2022 17:32
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.

Function calls break into multiple lines after 17 string concatenations

1 participant