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

Derived type member access does not tolerate spaces around the percent sign #204

Open
rwirth opened this issue Aug 3, 2021 · 3 comments

Comments

@rwirth
Copy link

rwirth commented Aug 3, 2021

Given some derived type

TYPE(t_mytype)
    INTEGER :: member
END TYPE

the following field access is accepted by multiple Fortran compilers

TYPE(t_mytype) :: var

var% member = 1

However, when hovering over member in VSCode, no information is shown. If there is a variable member in the same scope, its declaration is shown instead.

@gnikit
Copy link

gnikit commented Dec 22, 2021

Do you know if spaces after % are considered standard notation?

@JHenneberg
Copy link
Contributor

@gnikit : Not sure if there is any stanard notation. I did not see this before.

@gnikit
Copy link

gnikit commented Dec 22, 2021

@JHenneberg thanks for looking into this, I greatly appreciate it. That was my understanding as well. I think for now this will got on the not-implement pile for fortls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants