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

Add destructor pattern #217

Merged
merged 3 commits into from
May 30, 2019
Merged

Add destructor pattern #217

merged 3 commits into from
May 30, 2019

Conversation

matter123
Copy link
Collaborator

@matter123 matter123 commented May 29, 2019

destructors are not allowed to take parameters so a range is not needed.
destructor_proptype was an unneeded pattern.

prevents matching foo::~bar() as a single function name. Instead, its matched as a scope resolution and ~foo()

Part of #80

The generate script was made to just return false on error. See the commit message for why.

some exit conditions can result in the underlying subprocess returning a
staus code of 256. as kernel#exit only handles
1 byte https://bugs.ruby-lang.org/issues/8083 this causes the actual
exit code to be 0
destructors are not allowed to take paramaters so a range is not needed.
destructor_proptype was an unneeded pattern.
@matter123 matter123 changed the title Add/destructor pattern Add destructor pattern May 29, 2019
@jeff-hykin jeff-hykin self-requested a review May 30, 2019 05:49
@jeff-hykin jeff-hykin merged commit 5c04866 into master May 30, 2019
@matter123 matter123 deleted the Add/destructor-pattern branch June 18, 2019 21:24
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.

2 participants