Skip to content

Prevent duplicates in restrictedFuncs - #11

Draft
tenntenn wants to merge 3 commits into
mainfrom
codex/update-restrictedfuncs-to-track-added-functions
Draft

Prevent duplicates in restrictedFuncs#11
tenntenn wants to merge 3 commits into
mainfrom
codex/update-restrictedfuncs-to-track-added-functions

Conversation

@tenntenn

@tenntenn tenntenn commented May 19, 2025

Copy link
Copy Markdown
Member

Summary

  • avoid adding the same function multiple times
  • add unit test ensuring duplicate names are deduplicated

Comment thread restrictedfuncs_test.go
@@ -0,0 +1,26 @@
package called

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

called_test

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant