mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
Merge pull request #200667 from wegank/to-base-digits-type
lib.trivial.toBaseDigits: type check
This commit is contained in:
commit
b0a6ab09d5
@ -514,6 +514,8 @@ rec {
|
||||
in
|
||||
[r] ++ go q;
|
||||
in
|
||||
assert (isInt base);
|
||||
assert (isInt i);
|
||||
assert (base >= 2);
|
||||
assert (i >= 0);
|
||||
lib.reverseList (go i);
|
||||
|
Loading…
Reference in New Issue
Block a user