Skip to content
Snippets Groups Projects
Commit d3876edc authored by floitsch@google.com's avatar floitsch@google.com
Browse files

Import math library with a prefix.

Review URL: https://codereview.chromium.org//14111004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@21406 260f80e4-7a28-3924-810f-c04153c831b5
parent 665f2b15
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
library command_line_config;
import 'dart:io';
import 'dart:math';
import 'dart:math' as math;
import 'package:pathos/path.dart' as path;
import 'package:unittest/unittest.dart';
......@@ -92,7 +92,7 @@ class CommandLineConfiguration extends Configuration {
if (stack.length == 0) return;
// Figure out the longest path so we know how much to pad.
int longest = stack.map((frame) => frame.location.length).reduce(max);
int longest = stack.map((frame) => frame.location.length).reduce(math.max);
// Print out the stack trace nicely formatted.
for (var frame in stack) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment