Re: [Vala] [vapigen] How to replace the abstract by virtual



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]