dlang-community / libdparse

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

Support parsing of shortened function bodies #439

Closed Hackerpilot closed 2 years ago

Hackerpilot commented 3 years ago

Support for 2.096.0's new -preview=shortenedMethods syntax.

Hackerpilot commented 3 years ago

Looks like the CI is failing because we're still using an ancient version of the allocators. We really need to fix that.

ghost commented 3 years ago

That will pass if you rebase as @RazvanN7 has deactivated the tests relying on Meson in fbdf71b929a9f9bc982d0204f921371806e5d412.

codecov[bot] commented 3 years ago

Codecov Report

Merging #439 (511a0cc) into master (6f0893f) will increase coverage by 0.93%. The diff coverage is 57.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #439      +/-   ##
==========================================
+ Coverage   81.86%   82.79%   +0.93%     
==========================================
  Files          11       11              
  Lines        8454     8290     -164     
==========================================
- Hits         6921     6864      -57     
+ Misses       1533     1426     -107     
Impacted Files Coverage Δ
src/dparse/ast.d 70.25% <0.00%> (-0.48%) :arrow_down:
src/dparse/astprinter.d 94.76% <ø> (-0.01%) :arrow_down:
src/dparse/formatter.d 43.92% <0.00%> (+2.34%) :arrow_up:
src/dparse/parser.d 91.24% <80.00%> (+0.04%) :arrow_up:
src/std/experimental/lexer.d 84.61% <0.00%> (-0.17%) :arrow_down:
src/dparse/strings.d 98.70% <0.00%> (-0.02%) :arrow_down:
src/dparse/trivia.d 99.44% <0.00%> (-0.02%) :arrow_down:
... and 4 more

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 6f0893f...511a0cc. Read the comment docs.