mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
LibCrypto+Everywhere: Rename *BigInteger::to_base to to_base_deprecated
This commit is contained in:
parent
63c814fa2f
commit
0ddc2e1f50
Notes:
sideshowbarker
2024-07-17 09:49:33 +09:00
Author: https://github.com/trflynn89
Commit: 0ddc2e1f50
Pull-request: https://github.com/SerenityOS/serenity/pull/17014
Reviewed-by: https://github.com/linusg ✅
17 changed files with 24 additions and 24 deletions
|
@ -401,7 +401,7 @@ ThrowCompletionOr<DeprecatedString> Value::to_string(VM& vm) const
|
|||
return DeprecatedString::number(as_i32());
|
||||
// 8. If argument is a BigInt, return BigInt::toString(argument, 10).
|
||||
case BIGINT_TAG:
|
||||
return as_bigint().big_integer().to_base(10);
|
||||
return as_bigint().big_integer().to_base_deprecated(10);
|
||||
// 9. Assert: argument is an Object.
|
||||
case OBJECT_TAG: {
|
||||
// 10. Let primValue be ? ToPrimitive(argument, string).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue