I should be able to send top-level functions and static methods across isolates #6109
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
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).
The text was updated successfully, but these errors were encountered: