Skip to content
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

lexer: replace version comments with feature-ids mechanism (#777) #829

Closed
wants to merge 1 commit into from

Conversation

AilinKid
Copy link
Contributor

@AilinKid AilinKid commented Apr 24, 2020

What problem does this PR solve?

cherry-pick featureIDs mechanism #777 to release-3.1

small conflicts in `misc.go` L23-41, has been fixed
small conflicts in `lexer_test.gp` L275-276, has been fixed

What is changed and how it works?

Check List

Tests

  • Unit test
  • Integration test

Related changes

  • Need to update the documentation
  • Need to be included in the release note

* lexer: replace version comments with feature-ids mechanism

* tests: retain the original version digit test

* fix scanVersionDigits

* add SpecialCommentsController to decide what comments can be parsed

* only ignore comments with unsupported feature-id

* remove debug log
@codecov
Copy link

codecov bot commented Apr 24, 2020

Codecov Report

Merging #829 into release-3.1 will increase coverage by 0.03%.
The diff coverage is 81.83%.

@@               Coverage Diff               @@
##           release-3.1     #829      +/-   ##
===============================================
+ Coverage        64.65%   64.68%   +0.03%     
===============================================
  Files               31       33       +2     
  Lines            11211    11483     +272     
===============================================
+ Hits              7248     7428     +180     
- Misses            3552     3631      +79     
- Partials           411      424      +13     

Copy link
Contributor

@kennytm kennytm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kennytm kennytm added the status/LGT1 LGT1 label Apr 24, 2020
@AilinKid AilinKid closed this Apr 24, 2020
@AilinKid
Copy link
Contributor Author

duplicate with #819

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants