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

get(A::AbstractArray, (), default) should get A[] #30270

Merged
merged 3 commits into from
Dec 7, 2018
Merged

Conversation

mbauman
Copy link
Sponsor Member

@mbauman mbauman commented Dec 4, 2018

... and not allocate a new 0-element vector. I'm guessing few folks have ever looked at this method (besides to targetedly improve coverage) after it was implemented back in 2013, let alone use it. This is a breaking change that we should decide on.

I'm guessing you're not using this @timholy? (5994263)

... and not allocate a new 0-element vector.
@mbauman mbauman added needs decision A decision on this change is needed status:triage This should be discussed on a triage call labels Dec 4, 2018
@timholy
Copy link
Sponsor Member

timholy commented Dec 4, 2018

I can't imagine why whatever moron wrote that 😉 had it return an array....

@StefanKarpinski StefanKarpinski added the kind:minor change Marginal behavior change acceptable for a minor release label Dec 4, 2018
@JeffBezanson JeffBezanson removed the status:triage This should be discussed on a triage call label Dec 6, 2018
@JeffBezanson
Copy link
Sponsor Member

Triage approves for 1.x.

@mbauman mbauman added this to the 1.1 milestone Dec 6, 2018
@mbauman mbauman removed the needs decision A decision on this change is needed label Dec 6, 2018
@JeffBezanson JeffBezanson merged commit 1875947 into master Dec 7, 2018
@JeffBezanson JeffBezanson deleted the mb/getwhatnow branch December 7, 2018 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:minor change Marginal behavior change acceptable for a minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants