Re: [Vala] Newbie question (using directive)



 
    > On Wednesday, 20 February 2019, 13:30:08 GMT, Wolfgang Mauer <wolfgang mauer kabelmail de> wrote:  > 
The sample was C#, but yes i do use ... --pkg=gio-2.0

I know the problem(have a look to compiler.vala), that's why i ask to 
"improve".

One possibility is the Vala compiler is applying different symbol resolution rules for properties and 
inheritance. So public Menu menu; is generating a conflict, whereas class App:Application {} is using the 
first symbolencountered. If it is following the latter rule then I would say that was a bug.
A test case illustrating the bug is required and then an issue to be opened at gitlab.gnome.org ....


Am 20.02.19 um 14:20 schrieb Al Thomas via vala-list:
    > On Wednesday, 20 February 2019, 13:16:38 GMT, Wolfgang Mauer <wolfgang mauer kabelmail de> wrote:  >> 
The same would happen in C# if you had two
classes/interfaces/whatever with the same name but defined in distinct
namespaces.
Sorry, but you are wrong!!!
The "Application" is ONLY resolved by the "using Gtk;" and not
"GLib.Application"
Are you using --pkg gio-2.0 ? GLib.Application is part of the gio-2.0 binding.
    
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list

  


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]