fortls icon indicating copy to clipboard operation
fortls copied to clipboard

No link resolution on globally defined standalone functions

Open gnikit opened this issue 2 years ago • 0 comments

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 avatar May 19 '22 13:05 gnikit