Hello,
When i build this piece of code, i have this message:
testbug.gs:9.65-9.65: error: syntax error, expected `)' but got `:' with
previous identifier
def test (mystring : string, files : SList of string, myint : int)
Is it a bug in the genie parser ?
I don't know if the problem appear with vala.
Code:
[indent=4]
class TestGenieBug : Object
init
print "test if it's a bug"
/* NOT WORKING */
def test (mystring : string, files : SList of string, myint : int)
print "hello"
/* WORKING */
def test2 (mystring : string, myint : int, files : SList of string)
print "hello"
init
var bugtest = new TestGenieBug()
Regards,
Nicolas.
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list