Index: pkg/fixnum/lib/src/int32.dart |
diff --git a/pkg/fixnum/lib/src/int32.dart b/pkg/fixnum/lib/src/int32.dart |
index ecec4b1167a341061ccb373890b3d758c1cc5518..80f5f3c5166b42e92c76ef2032ea5a356fe4fa0c 100644 |
--- a/pkg/fixnum/lib/src/int32.dart |
+++ b/pkg/fixnum/lib/src/int32.dart |
@@ -142,7 +142,7 @@ class int32 implements intx { |
// will be truncated. |
int _convert(other) { |
if (other == null) { |
- throw new ArgumentError("other is null"); |
+ throw new NullPointerException(); |
} else if (other is intx) { |
return other.toInt32()._i; |
} else if (other is int) { |