Einzelnen Beitrag anzeigen

Kas Ob.

Registriert seit: 3. Sep 2023
214 Beiträge
 
#2

AW: D12: E2382 Konstruktoren können mit Instanzenvariablen nicht aufgerufen werden

  Alt 1. Mär 2024, 08: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.
  Mit Zitat antworten Zitat