Class used before declaration

Niko Sams niko.sams at gmail.com
Fri Jan 9 16:02:53 UTC 2009


Hi,

I have another problem with Php support, in Php the following is possible:
$a = new Foo;
class Foo {}

But in the TypeBuilder I can't find Foo - as its type and declaration
not yet created.

A second DeclarationBuilder run would work - but that is not very efficent.

Any better ideas?

Niko




More information about the KDevelop-devel mailing list