After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 603865 - Support for connecting to functions with default parameters
Support for connecting to functions with default parameters
Status: RESOLVED DUPLICATE of bug 787521
Product: vala
Classification: Core
Component: Code Generator: GSignal
0.7.x
Other Linux
: Normal enhancement
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2009-12-05 20:02 UTC by Sebastian Reichel
Modified: 2018-02-19 09:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Reichel 2009-12-05 20:02:03 UTC
How it would look like at the moment:
signal void foo();
void bar(string moo="");
foo.connect(() => { bar(); });

How I want it:
signal void foo();
void bar(string moo="");
foo.connect(bar);
Comment 1 Rico Tzschichholz 2018-02-19 09:47:05 UTC

*** This bug has been marked as a duplicate of bug 787521 ***