Skip to content

Conversation

@ibuclaw
Copy link
Member

@ibuclaw ibuclaw commented Dec 27, 2017

Rebase of #4136

@dlang-bot
Copy link
Contributor

dlang-bot commented Dec 27, 2017

Thanks for your pull request, @ibuclaw!

Bugzilla references

Auto-close Bugzilla Description
519 Invariant not called from autogenerated class/struct constructor/destructor

@wilzbach
Copy link
Contributor

FYI: I am about to change the warning at dlang-bot, so that it isn't displayed for major issues anymore: dlang/dlang-bot#152

}
}

version (none) // Controversial - see Bugzilla 519
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So are we going to do it, or not?

Copy link
Contributor

@wilzbach wilzbach Jan 25, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this decision is the only thing holding this PR up. How about splitting it of into a separate PR?

@ibuclaw ibuclaw force-pushed the issue519 branch 2 times, most recently from 3ab09ed to f0fe660 Compare December 30, 2017 15:57
@ibuclaw
Copy link
Member Author

ibuclaw commented Dec 30, 2017

Hmm, I think I've managed to turn 4995 into an error by moving the buildInv() call for classes.

@dlang dlang deleted a comment from codecov-io Jan 25, 2018
e = el_combine(e, e1);
}

if (global.params.useInvariants && sle.sd.inv)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inserting the invariant call here seems strange. Everywhere else it is controlled by addPostInvariant

@RazvanN7
Copy link
Contributor

What is stalling this PR, besides the rebase? @ibuclaw will you take this to the finish line? If not, I volunteer to adopt it.

@thewilsonator
Copy link
Contributor

#7536 (review)

@RazvanN7
Copy link
Contributor

For anyone who is interested in this patch, I have created a rebase of this PR with the appropriate modifications #10022

@Geod24 Geod24 closed this Sep 15, 2019
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.

8 participants