After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 768641 - Property accessors marked internal are emitted in output vapis
Property accessors marked internal are emitted in output vapis
Status: RESOLVED DUPLICATE of bug 653909
Product: vala
Classification: Core
Component: Code Generator
0.32.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2016-07-10 19:06 UTC by bob
Modified: 2017-03-09 07:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description bob 2016-07-10 19:06:54 UTC
Compiling code like

    namespace Lib {
        public class Useful : Object {
            public string info {internal set; get;}
        }
    }

with the --vapi switch results in something like 

    namespace Lib {
        public class Useful : Object {
            public Useful ();
            public string info { get; internal get; }
        }
    }

written to the vapi file.

I wasn't sure if this was a bug or not, so I asked in #vala on GimpNet, and nemequ instructed me to open this ticket:

    04:50:05 <~nemequ> yeah, file a bug, please.  if nothing else we should warn there instead of silently ignoring the programmer's intentions :/

It seems as though https://bugzilla.gnome.org/show_bug.cgi?id=653909 might be related.
Comment 1 Rico Tzschichholz 2017-03-09 07:11:27 UTC

*** This bug has been marked as a duplicate of bug 653909 ***