fortran-lang / fortls

fortls - Fortran Language Server
https://fortls.fortran-lang.org/
MIT License
258 stars 41 forks source link

fix: len and kind attribute mistaken as variables #238

Closed gnikit closed 2 years ago

gnikit commented 2 years ago

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

codecov[bot] commented 2 years ago

Codecov Report

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

:exclamation: 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%) :arrow_up:
fortls/parse_fortran.py 88.77% <100.00%> (-0.03%) :arrow_down:
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.