valac error report for return-value-less signals is misleading
Submitted by Alberto Ruiz
Link to original bug (#590535)
Description
Please describe the problem:
picview.vala:19.17-19.29: error: syntax error, expected `('
public signal model_changed ();
Steps to reproduce:
- declare a class with a signal with no return value class/type
- try to execute
Actual results:
expected '(' is reported
Expected results:
"signal needs return value"-ish message
Does this happen every time?
Other information:
Version: 0.7.x
Edited by Rico Tzschichholz