Remove an inferrable argument type (dart-lang/watcher#96)
The `runZonedGuarded` API has a more specific static type which allows
argument types for function literals to be inferred.
diff --git a/pkgs/watcher/lib/src/directory_watcher/windows.dart b/pkgs/watcher/lib/src/directory_watcher/windows.dart
index ae4670d..98e9639 100644
--- a/pkgs/watcher/lib/src/directory_watcher/windows.dart
+++ b/pkgs/watcher/lib/src/directory_watcher/windows.dart
@@ -383,7 +383,7 @@
var innerStream = Directory(path).watch(recursive: true);
_watchSubscription = innerStream.listen(_onEvent,
onError: _eventsController.addError, onDone: _onDone);
- }, (error, StackTrace stackTrace) {
+ }, (error, stackTrace) {
if (error is FileSystemException &&
error.message.startsWith('Directory watcher closed unexpectedly')) {
_watchSubscription.cancel();