Skip to content

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

Description

@gnikit

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

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions