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

Erroneous diagnostic error with "recursive" argument in arg list #157

Closed
gnikit opened this issue Jun 27, 2022 · 0 comments · Fixed by #158
Closed

Erroneous diagnostic error with "recursive" argument in arg list #157

gnikit opened this issue Jun 27, 2022 · 0 comments · Fixed by #158
Assignees
Labels
bug Something isn't working

Comments

@gnikit
Copy link
Member

gnikit commented Jun 27, 2022

Describe the bug
False positive diagnostic error

To Reproduce
fortls --debug_filepath literals.f90 --debug_rootpath . --debug_diagnostics

program test_literals
    implicit none
    contains
    subroutine foo(recursive, ierr)
        integer, intent(in) :: recursive
        integer, intent(out) :: ierr
        print*, recursive
    end subroutine foo
end program test_literals

Expected behavior
No diagnostic error

Screenshots & Animations
If applicable, add screenshots or GIF/MP4 animations to help explain your problem.

Setup information (please complete the following information):

  • OS: Linux
  • Python Version 3.8
  • fortls Version 2.10.0
  • Code editor used: VS Code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant