-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.closed-obsoleteClosed as the reported issue is no longer relevantClosed as the reported issue is no longer relevant
Description
This issue was originally filed by lod...@google.com
Hello,
I tried out code like this, where "view.on.click" takes a function responding to mouse click events:
view.on.click = function() {
print('clicked');
};
The above is wrong, it has to be, for example:
view.on.click = function(var event) {
print('clicked');
};
Dartium gives the following error message:
Exception: Closure argument mismatch
It would be nice if it would say something more helpful, like "Wrong function signature, one argument of type ..... required".
Metadata
Metadata
Assignees
Labels
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.closed-obsoleteClosed as the reported issue is no longer relevantClosed as the reported issue is no longer relevant