Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pkgs/fixnum/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.2.0-wip

* Change `IntX` such that it implements `Comparable<IntX>`. This makes it
possible for `IntX` (and in turn `Int64` and `Int32`) be used with methods
like `sortedBy` in the platform libraries.

## 1.1.1

* Require Dart `^3.1.0`
Expand Down
2 changes: 1 addition & 1 deletion pkgs/fixnum/lib/src/intx.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'int32.dart';
import 'int64.dart';

/// A fixed-precision integer.
abstract class IntX implements Comparable<Object> {
abstract class IntX implements Comparable<IntX> {
/// Addition operator.
IntX operator +(Object other);

Expand Down
2 changes: 1 addition & 1 deletion pkgs/fixnum/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: fixnum
version: 1.1.1
version: 1.2.0-wip
description: >-
Library for 32- and 64-bit signed fixed-width integers with consistent
behavior between native and JS runtimes.
Expand Down
Loading