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

fixed issue 15639 - allocator.make enables abstract class instantiation #4023

Merged
merged 1 commit into from Mar 4, 2016
Merged

fixed issue 15639 - allocator.make enables abstract class instantiation #4023

merged 1 commit into from Mar 4, 2016

Conversation

ghost
Copy link

@ghost ghost commented Feb 26, 2016

No description provided.

@dlang-bot
Copy link
Contributor

Fix Bugzilla Description
15639 std.experimental.allocator enables abstract class instantiation

@JackStouffer
Copy link
Member

LGTM

@schveiguy
Copy link
Member

Changelog

Please put changelog entries into changelog.dd in phobos root directory. These will be merged and put into main changelog on release.

@ghost
Copy link
Author

ghost commented Mar 1, 2016

Ok actually I was not sure of the way to do but so far not merged so I'll wait.

@MetaLang
Copy link
Member

MetaLang commented Mar 1, 2016

@schveiguy Can you take a look at #4022 as well?

@ghost
Copy link
Author

ghost commented Mar 1, 2016

@schveiguy updated #4023, Is it like that that changelog should be updated ?

@schveiguy
Copy link
Member

Oh, I apologize completely! I saw your message comment about the changelog, and not thinking, I assumed you expected that that comment to be included somehow in the changelog. I'm honestly doing more harm than good today :(

changelog.dd is for changes that need further explanation (e.g. new features or behavior changes). Bug fixes will automatically be included as long as there is a bugzilla issue that is fixed during the release cycle (@MartinNowak I believe has a script to do that). I realize now, this (and the other update) are bugs that have corresponding bugzilla entries. So the changelog.dd update is not necessary (I think). I don't know if it's helpful to have them listed there, as @MartinNowak is the one to update the change log.

So sorry to waste your time with that! I will shut up now...

@schveiguy
Copy link
Member

LGTM

@schveiguy
Copy link
Member

Auto-merge toggled on

schveiguy added a commit that referenced this pull request Mar 4, 2016
fixed issue 15639 - allocator.make enables abstract class instantiation
@schveiguy schveiguy merged commit 3edc09d into dlang:master Mar 4, 2016
@ghost ghost deleted the ussue-15639 branch March 5, 2016 16:06
@schuetzm
Copy link
Contributor

schuetzm commented Mar 6, 2016

Stupid question - this seems the wrong place to fix the problem... Shouldn't emplace() itself be changed to reject abstract classes?

@ghost
Copy link
Author

ghost commented Mar 6, 2016

Yes It's also allowed and shouldn't !

@ghost
Copy link
Author

ghost commented Mar 6, 2016

A BR must be created so that it'll be referenced in the changelog, but actually since emplace() is an old function there's a risk, even if very small, of breakage.

https://issues.dlang.org/show_bug.cgi?id=15772

@ghost
Copy link
Author

ghost commented Mar 6, 2016

fix proposed in #4057

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants