-
Notifications
You must be signed in to change notification settings - Fork 132
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
block.resize
must return itself instead of true
#3540
Comments
@maxonfjvipon WDYT? Any objections? |
@yegor256 no. It also it should be renamed to |
@yegor256 I'm trying to implement Here I'm resizing block and trying to get the size of it.
Here WDYT about such case? Is there a way we can prevent or predict such situations because they're quite confusing for unprepared developers |
@maxonfjvipon we can prevent this with the help of a new linter (maybe this one: objectionary/lints#21) |
Currently, the
block
inmalloc
returnstrue
onresize
. It doesn't make much sense and is not helpful. I suggest it to return itself (theblock
).The text was updated successfully, but these errors were encountered: