Index: runtime/lib/math_patch.dart |
diff --git a/runtime/lib/math_patch.dart b/runtime/lib/math_patch.dart |
index 52818a42dcabe6ddb1ec033579ec7521c82f8b03..4168db328e669fd03d01425e6366dc3b69cdcb58 100644 |
--- a/runtime/lib/math_patch.dart |
+++ b/runtime/lib/math_patch.dart |
@@ -51,7 +51,7 @@ patch class Random { |
class _Random implements Random { |
// Internal state of the random number generator. |
- final _state = new List(2); |
+ final _state = new List.fixedLength(2); |
static const kSTATE_LO = 0; |
static const kSTATE_HI = 1; |