Skip to content
This repository was archived by the owner on Sep 27, 2021. It is now read-only.

IsolateRunner.spawn has fuzzy arrow warning #19

Closed
leafpetersen opened this issue Oct 3, 2017 · 1 comment
Closed

IsolateRunner.spawn has fuzzy arrow warning #19

leafpetersen opened this issue Oct 3, 2017 · 1 comment
Assignees

Comments

@leafpetersen
Copy link
Contributor

On this line:
https://github.com/dart-lang/isolate/blob/master/lib/isolate_runner.dart#L58

Isolate.spawn is called with a callback of type SendPort -> void, but the parameter type is dynamic -> void. This currently is accepted because of the deprecated fuzzy arrow feature, and should be fixed up.

Context here:

dart-lang/sdk#30590

@leafpetersen
Copy link
Contributor Author

Grabbing this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant