Index: pkg/fixnum/lib/src/int32.dart |
diff --git a/pkg/fixnum/lib/src/int32.dart b/pkg/fixnum/lib/src/int32.dart |
index 80f5f3c5166b42e92c76ef2032ea5a356fe4fa0c..ac92a7e1b4bbd7b767caa712752762301fe1e1b8 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 NullPointerException(); |
+ throw new ArgumentError(null); |
} else if (other is intx) { |
return other.toInt32()._i; |
} else if (other is int) { |