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

Deprecate gen functions #351

Merged
2 commits merged into from Sep 11, 2021
Merged

Deprecate gen functions #351

2 commits merged into from Sep 11, 2021

Conversation

ghost
Copy link

@ghost ghost commented Sep 11, 2021

To make the Gen API more clear, I've decided to deprecate the Gen.int and Gen.float functions.

  • For Gen.int I've added a new function called Gen.int32, so the naming is consistent across integer types.
  • For Gen.float, I don't see any reason for it since we already have Gen.double.

Instead of outright removing these functions, I've marked them with Obsolete attributes, to make the upgrade path a little friendlier. The plan is to remove them completely following the 0.11.0 release.

I'm still undecided on Gen.byte and Gen.sbyte.

@ghost ghost added this to the 0.11.0 milestone Sep 11, 2021
@TysonMN
Copy link
Member

TysonMN commented Sep 11, 2021

Approve

@ghost ghost merged commit 94013d0 into hedgehogqa:master Sep 11, 2021
@ghost ghost deleted the deprecate-gen-functions branch September 11, 2021 20:09
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant