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

Fix #29266, better error message for deprecated scalar-fill indexed assignment #31085

Merged
merged 4 commits into from
Jun 25, 2019
Merged

Conversation

dourouc05
Copy link
Contributor

No description provided.

@mbauman
Copy link
Sponsor Member

mbauman commented Feb 15, 2019

Continuing the discussion from #29266 (comment):

What would be the next steps?

You have test failures, look into the logs (I find the FreeBSD CI service to have the most readable ones) and see what was wrong. Or try running make testall in your own build of Julia. In this case it's an easy fix: just do what it says to fix it.

The next step is to add tests for this specific behavior. Take the failing cases listed in #29266, add the ones you ran into, and put them into a test file — somewhere in test/broadcast.jl would make sense for this change. It doesn't really matter much where you put them within that file — just create a new section there.

@mbauman mbauman added needs tests Unit tests are required for this change domain:broadcast Applying a function over a collection labels Feb 15, 2019
@mbauman mbauman changed the title Add a specific error message for #29266 Fix #29266, better error message for deprecated scalar-fill indexed assignment Feb 15, 2019
@dourouc05
Copy link
Contributor Author

The last commit adds two test cases for this. If the test suite still passes, I guess everything is OK!

@dourouc05
Copy link
Contributor Author

I don't get why the tests don't pass on Windows (and the failure seems unrelated), while they do on FreeBSD…

base/indices.jl Outdated Show resolved Hide resolved
Co-Authored-By: dourouc05 <[email protected]>
@dourouc05
Copy link
Contributor Author

That sounds better, indeed!

@dourouc05
Copy link
Contributor Author

This PR still has the tag "needs tests", but I provided some (fe4e503). Is there anything else needed from my side for this to get merged?

@dourouc05
Copy link
Contributor Author

@mbauman Is this PR ready to be merged?

@fredrikekre fredrikekre requested a review from mbauman June 24, 2019 19:17
@mbauman mbauman removed the needs tests Unit tests are required for this change label Jun 24, 2019
@mbauman
Copy link
Sponsor Member

mbauman commented Jun 24, 2019

Thanks for the bump! I'm just going to close and re-open to re-run the tests. I don't anticipate any trouble, but it's been some time since the last run. Once they pass, this is good to merge!

@mbauman mbauman closed this Jun 24, 2019
@mbauman mbauman reopened this Jun 24, 2019
@dourouc05
Copy link
Contributor Author

All bots have all tests running perfectly, except analyzegc and Windows, but these failures are unrelated: on Windows, Julia fails to compile; for analyzegc, it seems a rule is missing in the Makefile.

@fredrikekre fredrikekre merged commit 7bec296 into JuliaLang:master Jun 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:broadcast Applying a function over a collection
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants