[Vala] [Genie] Bug in Genie ?
- From: Nicolas <c r n a wanadoo fr>
- To: jamie mccrack googlemail com, vala-list gnome org
- Subject: [Vala] [Genie] Bug in Genie ?
- Date: Sun, 13 Dec 2009 16:56:43 +0100
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]