Support parsing of shortened function bodies#439
Merged
WebFreak001 merged 2 commits intomasterfrom Jan 30, 2022
Merged
Conversation
Collaborator
Author
|
Looks like the CI is failing because we're still using an ancient version of the allocators. We really need to fix that. |
WebFreak001
requested changes
May 27, 2021
src/dparse/ast.d
Outdated
Member
There was a problem hiding this comment.
startLocation & endLocation never actually assigned (and obsolete since the introduction of the tokens slice)
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
Not needed since they can be obtained by the tokens slice.
WebFreak001
approved these changes
Jan 30, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support for 2.096.0's new
-preview=shortenedMethodssyntax.