Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose String::bin_to_int64 over to GDScript #56368

Open
wants to merge 1 commit into
base: 3.x
Choose a base branch
from

Conversation

Rubonnek
Copy link
Member

@Rubonnek Rubonnek commented Dec 31, 2021

Depends on #56363

Patch not needed on master.

Edit: Rebased patch now that #56363 is merged.

@Rubonnek Rubonnek requested review from a team as code owners December 31, 2021 02:14
@Rubonnek Rubonnek changed the base branch from master to 3.x December 31, 2021 02:14
@Rubonnek Rubonnek removed request for a team December 31, 2021 02:15
@Rubonnek Rubonnek removed request for a team December 31, 2021 02:15
@Rubonnek Rubonnek changed the title Expose bin to int Expose String::bin_to_int64 over to GDScript Dec 31, 2021
@Rubonnek Rubonnek added this to the 3.5 milestone Dec 31, 2021
@aaronfranke
Copy link
Member

aaronfranke commented Dec 31, 2021

I don't think we should undo the work I did in #43978. It's nicer to just have it automatically handle the prefix, we don't need a parameter for it. Meaning if we want the behavior of allowing both prefixed and non-prefixed in 3.x, we could just backport the ability to automatically determine the prefix, but it'd be a bit tricky to do this without breaking compatibility with 3rd-party modules. It'd be weird to add a parameter to 3.x that isn't present in 4.0.

@Rubonnek Rubonnek marked this pull request as draft December 31, 2021 02:22
@Rubonnek
Copy link
Member Author

Rubonnek commented Dec 31, 2021

I won't expose the parameter on GDScript then.

Edit: with_prefix is no longer exposed. PR updated.

@akien-mga akien-mga force-pushed the 3.x branch 2 times, most recently from 71cb8d3 to c58391c Compare January 6, 2022 22:40
@akien-mga akien-mga modified the milestones: 3.5, 3.x Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants