GNOME Bugzilla – Bug 707680
valac does not print error-message when getters/setters collide with methods
Last modified: 2018-05-22 14:56:38 UTC
Created attachment 254343 [details] Testcase Although this is obviously an error which results from mistakes made by the programmer, valac should print something like "error: The root namespace already contains a definition for `get_foo'".
Created attachment 309219 [details] [review] check for name collisions with property accessors In the C code generated by valac, a property accessor may have the same name as another function. Make it check for this and report an error when it occurs.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/405.