| Index: utils/pub/version_solver.dart
 | 
| diff --git a/utils/pub/version_solver.dart b/utils/pub/version_solver.dart
 | 
| index cd817cfbdbca5195494d24fcf25c31c87758570a..2aadbfa8d7c8bab613e8cee24ada93cd679a284d 100644
 | 
| --- a/utils/pub/version_solver.dart
 | 
| +++ b/utils/pub/version_solver.dart
 | 
| @@ -38,6 +38,7 @@
 | 
|  #library('version_solver');
 | 
|  
 | 
|  #import('dart:json');
 | 
| +#import('dart:math');
 | 
|  #import('lock_file.dart');
 | 
|  #import('package.dart');
 | 
|  #import('pubspec.dart');
 | 
| @@ -108,7 +109,7 @@ class VersionSolver {
 | 
|          // TODO(rnystrom): These numbers here are magic and arbitrary. Tune
 | 
|          // when we have a better picture of real-world package topologies.
 | 
|          _numIterations++;
 | 
| -        if (_numIterations > Math.max(50, _packages.length * 5)) {
 | 
| +        if (_numIterations > max(50, _packages.length * 5)) {
 | 
|            throw new CouldNotSolveException();
 | 
|          }
 | 
|  
 | 
| 
 |