Skip to content

Conversation

@zzzzzzzzzy9
Copy link

There should be an exit branch in the infinite loop in the code, and return error should be inside the for loop.
Additionally, when judging the length of mcsList, the delete method of mcs should directly remove the key-value pair instead of setting the key-value pair to false, otherwise the length of mcsList will keep increasing.

@zzzzzzzzzy9
Copy link
Author

#247
#246

@zzzzzzzzzy9
Copy link
Author

Copy link
Collaborator

@kolyshkin kolyshkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NACK. You change the public API in an incompatible way, it is not acceptable

@kolyshkin
Copy link
Collaborator

NACK. You change the public API in an incompatible way, it is not acceptable

The acceptable way is:

  • add new functions (that additionally can return an error)
  • mark the old ones as deprecated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants