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

bug: type-bound procedure pointer mangled name while hovering #214

Closed
gnikit opened this issue Oct 30, 2022 · 0 comments · Fixed by #213
Closed

bug: type-bound procedure pointer mangled name while hovering #214

gnikit opened this issue Oct 30, 2022 · 0 comments · Fixed by #213
Assignees
Labels
bug Something isn't working

Comments

@gnikit
Copy link
Member

gnikit commented Oct 30, 2022

Describe the bug
hovering over norm yields incorrect name

To Reproduce

> fortls --debug_filepath tmp.f90 --debug_hover --debug_line 15 --debug_char 17
Testing "textDocument/hover" request:
  File = "tmp.f90"
  Line = 15
  Char = 17

  Result:
=======
[{'language': 'fortran90', 'value': 'FUNCTION vector_nonorm(norm)\n!! Doc 2\n REAL(8) :: norm'}]
=======
TYPE, EXTENDS(vector) :: scaled_vector
CONTAINS
  PROCEDURE :: norm => scaled_vector_norm !< Doc 3
END TYPE scaled_vector

image

@gnikit gnikit added the bug Something isn't working label Oct 30, 2022
@gnikit gnikit self-assigned this Oct 30, 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

Successfully merging a pull request may close this issue.

1 participant