I was just testing various things in vala, and noticed this: pvanhoof schtrumpf:~$ ./test ** Message: test.vala:31: 100 ** Message: test.vala:21: 99 pvanhoof schtrumpf:~$ I attached the test.vala file, since in class Test x will be initialized to 100, and foo returns bar + x, those values are not right afaik. ps. I peeked at the .c file, and self->x is never set to 100. Also note that the ensures is never checked in the generated .c file [esc]:/x = "E486: Pattern not found: x =" -- Philip Van Hoof, freelance software developer home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org http://pvanhoof.be/blog http://codeminded.be
Attachment:
test.vala
Description: Text Data
Attachment:
test.c
Description: Text Data
Attachment:
test.h
Description: Text Data