We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example code: import "dart:isolate"; func(){} main() { var r = new RawReceivePort(); r.handler = (v) { print(v[0] == v[1]); r.close(); }; r.sendPort.send([func, func]); }
This prints: runtime/vm/object.h:4781: error: Handle check failed: saw Function 'main': static. expected Instance Aborted (core dumped)
The text was updated successfully, but these errors were encountered:
Set owner to @a-siva. Added Accepted label.
Sorry, something went wrong.
uploaded cl https://codereview.chromium.org/1004923002/ for review.
Added Fixed label.
a-siva
No branches or pull requests
Example code:
import "dart:isolate";
func(){}
main() {
var r = new RawReceivePort();
r.handler = (v) {
print(v[0] == v[1]);
r.close();
};
r.sendPort.send([func, func]);
}
This prints:
runtime/vm/object.h:4781: error: Handle check failed: saw Function 'main': static. expected Instance
Aborted (core dumped)
The text was updated successfully, but these errors were encountered: