-
-
Notifications
You must be signed in to change notification settings - Fork 372
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 the duplicate class refactoring wrong message #17941
base: Pharo13
Are you sure you want to change the base?
Fixed the duplicate class refactoring wrong message #17941
Conversation
Fixes pharo-project#17518 - Indeed there is a <1?:not > in #isGlobal: in: that was putting a "not" in the linked issue but because we evaluated ```(RBCondition alreadyExistGlobal: className in: self model) not.``` the not was put in the wrong cases - I created a new method to handle it to not change anything in #isGlobal: in: to not break something
I think you should just update the error message in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check other methods how they introduced support for not. Make the error message you created the default in the old method. Make sure it works with not as well.
Ok got it thanks :) |
I was thinking that we can integrate that now and we should convert everything to our condition and they should offer the possibility to change the message. I started to do that. |
I agree, but this is easy to fix, I would suggest fixing now, it will be easier when transitioning later |
Ok let us fix it now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's move on with this text, but this error message doesn't support not
message, so we're creating a new issue.
I have to load the code to give some better suggestion on how to fix this. I'll try to find some time during next week.
Fixes #17518
(RBCondition alreadyExistGlobal: className in: self model) not.
the not was put in the wrong cases