Jump to content
Arash

Editor freezes on Add Field short cut

Recommended Posts

I use Add Field short cut regularly and I didn't have a problem so far. But I noticed when I try to use it like this example, it causes my RadStudio 10.4.2 to freeze! I put the cursor on "FMyField" and press the short cut(Ctrl+Alt+F by default). Is it just me or is there an issue?

 

type
  TFoo = class
  protected
    procedure NewMethod;
  end;

implementation

procedure TFoo.NewMethod;
const
  A = 1;
  B = 2;
begin
  FMyField := A < B;
end;

 

Share this post


Link to post

This bug was introduced in V15.0.11 when local variables started to detect generic types. Fixed in V15.0.47, which is now available for download.

  • Thanks 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×