I have a class that contains a field and method with the same name, and Valac does not like it.
Generally Vala does not have any usable symbol mangling engine. It's good, because Vala generates a C api and you obviously don't want to have obfuscated symbols there (the way that C++ does it is just awful). The drawback is that you can't have symbols with the same name but different semantics (eg. no function overloading). It's possible that the problem you have is the same, but if not - well, maybe it could be improved (as Vala has no function overloading and similar things, the semantic analyzer may be - and probably is - much simpler than in other languages, and it does not allow symbol 'overloading' on any scope - Vala, or C api). best regards, -- Mój klucz publiczny o identyfikatorze 1024D/E12C5A4C znajduje się na serwerze hkp://keys.gnupg.net My public key with signature 1024D/E12C5A4C is on the server hkp://keys.gnupg.net
Attachment:
signature.asc
Description: PGP signature