Skip to content

directory_watcher/linux.dart has fuzzy arrow warning #1709

Closed
@leafpetersen

Description

@leafpetersen

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @leafpetersen@mosuem

    Issue actions

      directory_watcher/linux.dart has fuzzy arrow warning · Issue #1709 · dart-lang/tools