Skip to content

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

Open
@Or123M

Description

@Or123M

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions