Skip to content

Add trailing line numbers to loops in Expr conversion #298

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

Merged
merged 1 commit into from
Jun 3, 2023

Conversation

c42f
Copy link
Member

@c42f c42f commented Jun 2, 2023

These trailing line numbers are used to attribute coverage to the end of the loop for parts of the loop header which run there after lowering.

At least, I think that's what's going on with the fact that coverage changes when using JuliaSyntax in Base.

These trailing line numbers are used to attribute coverage to the `end`
of the loop for parts of the loop header which run there after lowering.
@codecov
Copy link

codecov bot commented Jun 2, 2023

Codecov Report

Merging #298 (215382d) into main (e7fe352) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #298   +/-   ##
=======================================
  Coverage   96.77%   96.77%           
=======================================
  Files          14       14           
  Lines        4090     4094    +4     
=======================================
+ Hits         3958     3962    +4     
  Misses        132      132           
Impacted Files Coverage Δ
src/expr.jl 100.00% <100.00%> (ø)

@c42f c42f merged commit 2c544c4 into main Jun 3, 2023
@c42f c42f deleted the c42f/fix-loop-linenumber-nodes branch June 3, 2023 02:29
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.

1 participant