[Vala] Object constructors



It would be great, if Vala could compile expressions like this:

var bob = new Person(login="Bob", password="hello", email="me gmail com");

Compiler may replace it with:

var bob = new Person();
bob.
login = "Bob";
bob.password = "hello";
bob.email = "me gmail com";



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