Index: lib/src/frontend/timeout.dart |
diff --git a/lib/src/frontend/timeout.dart b/lib/src/frontend/timeout.dart |
index 9aca1c021102a00fe0c8bb2d08c7b38807f6463d..63669370d4fae88f15b46d02edef4f855585e6fb 100644 |
--- a/lib/src/frontend/timeout.dart |
+++ b/lib/src/frontend/timeout.dart |
@@ -89,7 +89,7 @@ class Timeout { |
// Parse time units until none are left. The condition is in the middle of |
// the loop because we've already parsed the first number. |
- var microseconds = 0; |
+ var microseconds = 0.0; |
while (true) { |
scanner.expect(_unit, name: "unit"); |
microseconds += _microsecondsFor(number, scanner.lastMatch[0]); |