Skip to content
New issue

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

I should be able to send top-level functions and static methods across isolates #6109

Closed
DartBot opened this issue Oct 20, 2012 · 4 comments
Closed
Labels
area-library closed-duplicate Closed in favor of an existing report library-isolate type-enhancement A request for a change that isn't a bug

Comments

@DartBot
Copy link

DartBot commented Oct 20, 2012

This issue was originally filed by ladicek@gmail.com


I know I'm not supposed to send closures across isolates, but the VM supports sending arbitrary objects under certain circumstances.

I believe I should also be able to send (implicit closures of) top-level functions and static methods, as their lexical environment is empty. That would make isolates immediately more powerful while not having to support passing arbitrary closures (which is probably a lot more complex).

Note that this feature request was born from this discussion https://groups.google.com/a/dartlang.org/forum/?fromgroups=#!topic/misc/ljYrd0FlVXw (which also gave birth to the issue #6108).

@sethladd
Copy link
Contributor

Removed Type-Defect label.
Added Type-Enhancement, Area-Library, Library-Isolates, Triaged labels.

@dgrove
Copy link
Contributor

dgrove commented Jan 11, 2013

Added Library-Isolate label.

@dgrove
Copy link
Contributor

dgrove commented Jan 11, 2013

Removed Library-Isolates label.

@sgjesse
Copy link
Contributor

sgjesse commented Feb 16, 2015

Added Duplicate label.
Marked as being merged into #20992.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-library closed-duplicate Closed in favor of an existing report library-isolate type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

5 participants