Re: [Vala] [vapigen] How to replace the abstract by virtual
- From: Abderrahim Kitouni <a kitouni gmail com>
- To: Nicolas Joseph <gege2061 redaction-developpez com>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] [vapigen] How to replace the abstract by virtual
- Date: Fri, 30 Apr 2010 16:13:53 +0100
Hello,
2010/4/27, Nicolas Joseph <gege2061 redaction-developpez com>:
Hello,
I try to replace an abstract method by a virtual method with this metadata:
gtk_source_completion_provider_activate_proposal abstract="0" virtual="1"
But this has no effect.
The relevant code in vapigen/valagidlparser.vala says (around line 1620):
} else if (nv[0] == "abstract") {
if (eval (nv[1]) == "1") {
m.is_abstract = true;
}
}
i.e it only looks if abstract is set to 1, you can fix it and report a bug ;-)
HTH,
Abderrahim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]