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

fix: len and kind attribute mistaken as variables #238

Merged
merged 6 commits into from
Nov 17, 2022
Merged

Conversation

gnikit
Copy link
Member

@gnikit gnikit commented Nov 16, 2022

Preliminary work on parsing attributes such as kind, len
as separate variables in the AST node.
They can then be excluded from the dublication check
for diagnostics.

Fixes #173
Fixes #175

This should help distinguish between attributes, variables and functions
using that name.
@codecov
Copy link

codecov bot commented Nov 16, 2022

Codecov Report

Merging #238 (1d195c2) into master (b4ba1cd) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 1d195c2 differs from pull request most recent head 37db70f. Consider uploading reports for the commit 37db70f to get more accurate results

@@           Coverage Diff           @@
##           master     #238   +/-   ##
=======================================
  Coverage   86.43%   86.43%           
=======================================
  Files          12       12           
  Lines        4474     4475    +1     
=======================================
+ Hits         3867     3868    +1     
  Misses        607      607           
Impacted Files Coverage Δ
fortls/ftypes.py 100.00% <100.00%> (ø)
fortls/objects.py 83.15% <100.00%> (+0.03%) ⬆️
fortls/parse_fortran.py 88.77% <100.00%> (-0.03%) ⬇️
fortls/regex_patterns.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

There were some issues with multiprocessing
and incorrect coverage reports being reported locally.
Restricting the minimum versions should solve this issue.
@gnikit gnikit merged commit d9070a1 into master Nov 17, 2022
@gnikit gnikit deleted the gnikit/issue173 branch November 17, 2022 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant