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

No link resolution on globally defined standalone functions #118

Open
gnikit opened this issue May 19, 2022 · 0 comments
Open

No link resolution on globally defined standalone functions #118

gnikit opened this issue May 19, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@gnikit
Copy link
Member

gnikit commented May 19, 2022

Describe the bug

Globally defined functions common in Fixed Form Fortran do not get resolved when "imported".

To Reproduce
fortls --debug_filepath test_fixed.f --debug_rootpath . --debug_hover --debug_line 11 --debug_char 16

      function fff(x,y)
          implicit none
          real fff, x,y
          fff = x+y
          return
      end

      program main
          implicit none
          real y, fff
          y = fff(1.2,3.3)
          write(*,*) y
      end

Expected behavior
show hover signature of FUNCTION fff

@gnikit gnikit added the bug Something isn't working label May 19, 2022
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

No branches or pull requests

1 participant