Unverified Commit e8eb8764 authored by Danny Tuppeny's avatar Danny Tuppeny Committed by GitHub

Fix build (fix references to _flutter -> flutter) (#61568)

parent a1d4d1b1
...@@ -37,10 +37,10 @@ void main() { ...@@ -37,10 +37,10 @@ void main() {
}); });
test('multiple overlapping hot reload are debounced and queued', () async { test('multiple overlapping hot reload are debounced and queued', () async {
await _flutter.run(); await flutter.run();
// Capture how many *real* hot reloads occur. // Capture how many *real* hot reloads occur.
int numReloads = 0; int numReloads = 0;
final StreamSubscription<void> subscription = _flutter.stdout final StreamSubscription<void> subscription = flutter.stdout
.map(parseFlutterResponse) .map(parseFlutterResponse)
.where(_isHotReloadCompletionEvent) .where(_isHotReloadCompletionEvent)
.listen((_) => numReloads++); .listen((_) => numReloads++);
...@@ -52,7 +52,7 @@ void main() { ...@@ -52,7 +52,7 @@ void main() {
const Duration delay = Duration(milliseconds: hotReloadDebounceOverrideMs * 2); const Duration delay = Duration(milliseconds: hotReloadDebounceOverrideMs * 2);
Future<void> doReload([void _]) => Future<void> doReload([void _]) =>
_flutter.hotReload(debounce: true, debounceDurationOverrideMs: hotReloadDebounceOverrideMs); flutter.hotReload(debounce: true, debounceDurationOverrideMs: hotReloadDebounceOverrideMs);
try { try {
await Future.wait<void>(<Future<void>>[ await Future.wait<void>(<Future<void>>[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment