codes with Attributes are not parsed

Issue #104 new
Former user created an issue

For attributes syntax please refer to: http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Declaring_Custom_Attributes_(RTTI)

I have some attributes or custom attributes in my code and I found that the outline view does NOT work well. I believe that the code parser is NOT compatible with this syntax. Once that [Attributes code] removed from the my code, everything became OK.

FYI, the attribute in my code is [Align(n)]

Comments (1)

  1. DiGi

    Outline and Goto symbol is not working.

    unit Test;
    
    interface
    
    type
      MyPropAttribute = class(TCustomAttribute);
    
      [MyProp]
      TMyClass = class(TObject)
      public
        procedure Run;
      end;
    
    implementation
    
    procedure TMyClass.Run;
    begin
    end;
    
    begin
    end.
    
  2. Log in to comment