Skip to content

Commit 6afd432

Browse files
authored
Remove an inferrable argument type (flutter#96)
The `runZonedGuarded` API has a more specific static type which allows argument types for function literals to be inferred.
1 parent b538295 commit 6afd432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/directory_watcher/windows.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ class _WindowsDirectoryWatcher
383383
var innerStream = Directory(path).watch(recursive: true);
384384
_watchSubscription = innerStream.listen(_onEvent,
385385
onError: _eventsController.addError, onDone: _onDone);
386-
}, (error, StackTrace stackTrace) {
386+
}, (error, stackTrace) {
387387
if (error is FileSystemException &&
388388
error.message.startsWith('Directory watcher closed unexpectedly')) {
389389
_watchSubscription.cancel();

0 commit comments

Comments
 (0)