Oxygene winform designer fails when a variable of type control is added

Steps to reproduce:

Create a new Windows Forms application
Open the main form code and add:

var c := new Control;

to the private section.

Compile and 0pen the form designer, and it will show an error instead of the designer.

Thanks, logged as bugs://81245

Hello Theo,
Could you please send me a failing project? I couldn’t get the failing winforms designer with your steps.
Thanks in advance.

Here it is:
Designer Error.zip (66.3 KB)

This is a new project, where I added 1 codeline.

Result:

bugs://81245 got closed with status fixed.

Fix confirmed.

1 Like