Arash 0 Posted October 19, 2021 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
Uwe Raabe 2060 Posted October 19, 2021 I can indeed reproduce that here. Investigating... 1 Share this post Link to post
Uwe Raabe 2060 Posted October 19, 2021 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. 1 Share this post Link to post