dlang-community / libdparse

Library for lexing and parsing D source code
https://libdparse.dlang.io
Boost Software License 1.0
115 stars 57 forks source link

Add IfCondition to while (since DMD-FE 2.097.0) #462

Closed WebFreak001 closed 2 years ago

WebFreak001 commented 2 years ago

to fix https://github.com/Pure-D/serve-d/issues/228

codecov[bot] commented 2 years ago

Codecov Report

Merging #462 (b6e96bb) into master (b94a157) will increase coverage by 0.31%. The diff coverage is 85.41%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #462      +/-   ##
==========================================
+ Coverage   82.86%   83.17%   +0.31%     
==========================================
  Files          11       11              
  Lines        8321     8338      +17     
==========================================
+ Hits         6895     6935      +40     
+ Misses       1426     1403      -23     
Impacted Files Coverage Δ
src/dparse/parser.d 91.30% <72.72%> (+<0.01%) :arrow_up:
src/dparse/astprinter.d 94.31% <78.57%> (-0.45%) :arrow_down:
src/dparse/formatter.d 45.93% <95.45%> (+2.00%) :arrow_up:
src/dparse/ast.d 70.85% <100.00%> (+0.60%) :arrow_up:

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 b94a157...b6e96bb. Read the comment docs.

WebFreak001 commented 2 years ago

added more exhaustive tests and added support for scope, going to merge in