Index: pkg/fixnum/lib/src/int64.dart |
diff --git a/pkg/fixnum/lib/src/int64.dart b/pkg/fixnum/lib/src/int64.dart |
index cefb2c012a59e0b853324376746cf697917d9d83..3ef0bc09be1f79f0f6ff8556524bbabce944a4fb 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 NullPointerException(); |
+ throw new ArgumentError(null); |
} else if (other is intx) { |
other = other.toInt64(); |
} else if (other is int) { |