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

Refactor: preconditions return array of preconditions by default #16527

Conversation

balsa-sarenac
Copy link
Member

@balsa-sarenac balsa-sarenac commented Apr 26, 2024

We don't rely on a singe condition with and,or,not (we still use them when needed), but default return value of preconditions is array now.

Also, generateChanges method returns changes by default. A bunch of changes is caused by this, but they are trivial to review.

Copy link

request-info bot commented Apr 26, 2024

This issue has either a default title or empty body. We would appreciate it if you could provide more information. Note: I am not a very intelligent bot, I can only react to new comments. Please add a comment for me if you update the body or title.

@jecisc
Copy link
Member

jecisc commented Apr 26, 2024

15 tests are failings with this PR.

@jecisc jecisc added the Status: Need more work The issue is nearly ready. Waiting some last bits. label Apr 26, 2024
@Ducasse
Copy link
Member

Ducasse commented Apr 27, 2024

@jecisc where do you see the tests?

@jecisc
Copy link
Member

jecisc commented Apr 28, 2024

@jecisc where do you see the tests?

I click for example on the #1 at the top and select tests results

@jecisc
Copy link
Member

jecisc commented Apr 28, 2024

image

@Ducasse
Copy link
Member

Ducasse commented Apr 28, 2024

OK thanks for the info.

@balsa-sarenac balsa-sarenac marked this pull request as ready for review May 4, 2024 14:37
@balsa-sarenac balsa-sarenac reopened this May 4, 2024
@balsa-sarenac balsa-sarenac added Status: Tests passed please review! and removed Status: Need more work The issue is nearly ready. Waiting some last bits. labels May 7, 2024
@balsa-sarenac
Copy link
Member Author

Failing tests seem unrelated

@Ducasse
Copy link
Member

Ducasse commented May 7, 2024

nice!

@Ducasse Ducasse merged commit f7ffafb into pharo-project:Pharo13 May 7, 2024
1 of 2 checks passed
@balsa-sarenac balsa-sarenac deleted the refactoring/preconditions-return-array-by-default branch May 9, 2024 11:10
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.

None yet

3 participants