Registriert seit: 3. Sep 2023
346 Beiträge
|
AW: D12: E2382 Konstruktoren können mit Instanzenvariablen nicht aufgerufen werden
1. Mär 2024, 09:16
Hi,
It looks like a compile bug.
I think the compiler had being confused with the exact name Create because it is already being used as constructor, to test this theory, if you change your "class function Create" to "class function CreateEx" it will compile fine, now if you add a constructor with with the name CreateEx then it will report the same error E2382.
So yes, it is a bug.
Kas
|