[Vala] namespaces bug



Hello list!

This simple vala-code:
namespace NameSpaceName {int myval = 2;}
namespace name_space_name {int myval = 3;}

void main() {
   NameSpaceName.myval = 3;
   name_space_name.myval = 4;
}


produce this C-code:
...
extern gint name_space_name_myval;
gint name_space_name_myval = 2;
gint name_space_name_myval = 3;
...


Thanks.
   niXman.



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