GNOME Bugzilla – Bug 723258
Property with name "type"
Last modified: 2016-09-17 20:28:16 UTC
Created attachment 267594 [details] Compile with valac -c bugxxxxx.vala Properties with name "type" should be checked in interfaces at Vala compiler stage, like class properties are checked right now. Also methods with signature get_type raises a problem at C compiler stage, but not at Vala compiler stage. This one can be mitigated by cname means, but not the other one. Attached file have two examples tested with git master version of vala compiler. Thank you for your time.
Created attachment 314197 [details] [review] Make sure the propetry name is not "type" when adding properties to an interface Minimal patch. I can include a unit test if wanted.