Index: runtime/lib/math_patch.dart |
diff --git a/runtime/lib/math_patch.dart b/runtime/lib/math_patch.dart |
index 5942078f8a90539bfd526a110aba9d7a63352592..e9cc0838082b2add865d93fa326e09ecdce43f88 100644 |
--- a/runtime/lib/math_patch.dart |
+++ b/runtime/lib/math_patch.dart |
@@ -114,7 +114,7 @@ class _Random implements Random { |
void _nextState() native "Random_nextState"; |
int nextInt(int max) { |
- final limit = 0x3FFFFFFF; |
+ const limit = 0x3FFFFFFF; |
if (max <= 0 || ((max > limit) && (max > _POW2_32))) { |
throw new ArgumentError("max must be positive and < 2^32:" |
" $max"); |