Index: pkg/fixnum/lib/src/int64.dart |
diff --git a/pkg/fixnum/lib/src/int64.dart b/pkg/fixnum/lib/src/int64.dart |
index f8673ec14f3818123f800ff6a594dde867f92cc7..cefb2c012a59e0b853324376746cf697917d9d83 100644 |
--- a/pkg/fixnum/lib/src/int64.dart |
+++ b/pkg/fixnum/lib/src/int64.dart |
@@ -242,7 +242,7 @@ class int64 implements intx { |
int64 _promote(other) { |
if (other == null) { |
- throw new ArgumentError("other is null"); |
+ throw new NullPointerException(); |
} else if (other is intx) { |
other = other.toInt64(); |
} else if (other is int) { |