Again, trying to move this over to vala-devel... On Wed, 2013-12-11 at 12:29 +0800, Tal Liron wrote:
Sometimes it's absolutely necessary due to naming conflicts between imported libraries. Without this feature, Vala is broken in those instances.
No, it isn't at all necessary, and Vala isn't broken in those instances. You can still use the qualified name, for example: using Gee; public void main() { Gee.Queue queue = new LinkedList<Object>(); } Note the mixing of Gee.Queue and LinkedList (without the Gee part). If you wanted to use the glib's queue, you just type GLib.Queue. Even if you had a Queue symbol outside of a namespace, you could just use global::Queue.
There was a patch that I assumed would be accepted (2.5 years ago!), but apparently was never merged: https://bugzilla.gnome.org/show_bug.cgi?id=646713 On 12/11/2013 04:19 AM, Evan Nemerson wrote:On Tue, 2013-12-10 at 19:54 +0100, pancake wrote:I have asked for this feature several times, but i didnt got a good reply about why Vala doesnt supports this.Obviously this is up to Jürg, not me, but I'm against the idea. It makes code harder to read because you have to remember how people mapped stuff which becomes especially difficult when switching back and forth between several different pieces of code where everyone has stuff mapped differently. This really belongs on the development list (or in a the bug tracker as a feature request), not on the user list. I'm CCing the devel list, if anyone wants to continue this conversation let's do it there. -Evan _______________________________________________ vala-list mailing list vala-list gnome org https://mail.gnome.org/mailman/listinfo/vala-list_______________________________________________ vala-list mailing list vala-list gnome org https://mail.gnome.org/mailman/listinfo/vala-list
Attachment:
signature.asc
Description: This is a digitally signed message part