Skip to content

directory_watcher/linux.dart has fuzzy arrow warning #1709

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

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

directory_watcher/linux.dart has fuzzy arrow warning #1709

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

Comments

@leafpetersen
Copy link
Member

On this line:

https://github.com/dart-lang/watcher/blob/master/lib/src/directory_watcher/linux.dart#L64

The _onBatch callback has type List<FileSystemEvent> but is passed to a parameter of type `dynamic -> void. This relies on deprecated fuzzy arrows, and needs to be fixed.

Context:
dart-lang/sdk#29630

@leafpetersen
Copy link
Member Author

Grabbing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants