GNOME Bugzilla – Bug 611460
Closures for argument-less signal handlers dont work as expected
Last modified: 2018-05-22 13:30:33 UTC
Created attachment 154937 [details] Sample code to demonstrate misbehaving event handlers in closures In Genie with javac 0.7.10, for an event that does not take arguments, like event empty_event () I fail to register a "closured" signal handler that can access its context, like var s = "string" emitter.empty_event += def handle print s Sample code is attached. Other minor issues (parsing, I guess), can be seen in the sample code too. I assume that there is a common underlying source. If it happens to be separete issue, kindly ask me to report as a separate bug.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/76.