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

Highlighting of object-subroutine when using nested types. #1114

Open
1 task done
Or123M opened this issue Jun 30, 2024 · 0 comments
Open
1 task done

Highlighting of object-subroutine when using nested types. #1114

Or123M opened this issue Jun 30, 2024 · 0 comments

Comments

@Or123M
Copy link

Or123M commented Jun 30, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Description

(in reference to the screenshot) primitive_halo and halo are the same type, but halo is nested inside the grad object. I think that "grad%halo" should be highlighted like "primitive_halo", and "exchange_blocking_1d_i4" should be highlighted the same way in both places.

Screenshots

highlight_problem

Code Example

No response

Fortran Version (Free/Fixed Form)

Free Form e.g. F90+

Version of Modern Fortran

v3.2.0

Version of Visual Studio Code

1.90.2

Platform and Architecture

Linux via WSL2

Additional Information

I noticed that if I give a single symbol (with associate) to the nested type (like gh=>grad%halo), the highlighting is correct.

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

No branches or pull requests

1 participant