Skip to content

fix: Callable Matching Issue#40

Merged
AttAditya merged 2 commits into
mainfrom
fix/callable-issue
May 19, 2026
Merged

fix: Callable Matching Issue#40
AttAditya merged 2 commits into
mainfrom
fix/callable-issue

Conversation

@AttAditya

@AttAditya AttAditya commented May 19, 2026

Copy link
Copy Markdown
Owner

LangEx 0.4.5

Release Summary

  • Update Type: Minor
  • Update Version: 0.4.5
  • Breaking Changes: No
  • Backwards Compatibility: NA
  • Target Issue: None

Changelog

  • Updated handle_callable to use result.evaluate for proper result evaluation.
    • Ensures callable argument checking is correctly reflected in match results.
    • Simplifies return logic and aligns with other handlers.
    • Reduces potential bugs in nested match scenarios.
  • Added comprehensive validation tests for argument and return types.
    • Validates int, str, float, bool, and callable types.
    • Confirms that mismatched types raise ValidationError.
    • Includes positive and negative test cases for return type validations.
  • Introduced new test module tests/functions/test_validations.py.
    • Organizes validation tests separately.
    • Uses testing decorators @discover_test and @expects for clarity.

Updated Library Highlights

No significant API changes; focus was on internal logic and test coverage.

Future Plans

Remove this section if nothing significant to show here
Do not forget to remove this quote block either way

  • None

Notes

Remove this section if nothing significant to show here
Do not forget to remove this quote block either way

  • None

@github-actions

Copy link
Copy Markdown

🏷️ Generating labels using AI for commit abb5d4ad7795b81b572bbb5c7fd08254e0beebb4...

@github-actions

Copy link
Copy Markdown

🔍 Generating PR summary using AI for commit abb5d4ad7795b81b572bbb5c7fd08254e0beebb4...

@github-actions github-actions Bot added the BUG Observed unexpected behavior label May 19, 2026
@github-actions

Copy link
Copy Markdown

✅ PR summary updated using AI for commit abb5d4ad7795b81b572bbb5c7fd08254e0beebb4.

@github-actions github-actions Bot added the TESTS Related to code tests label May 19, 2026
@github-actions

Copy link
Copy Markdown

🏷️ Labels added: BUG,TESTS (commit abb5d4ad7795b81b572bbb5c7fd08254e0beebb4)

@AttAditya

Copy link
Copy Markdown
Owner Author

/ci tag

@github-actions

Copy link
Copy Markdown

🏷️ Generating labels using AI for commit ebb9e46c480ab6323ebde4b64461487a2b22e486...

@github-actions github-actions Bot added MINOR Small updates, non breaking changes RELEASE Version will be bumped labels May 19, 2026
@github-actions

Copy link
Copy Markdown

🏷️ Labels added: BUG,TESTS,MINOR,RELEASE (commit ebb9e46c480ab6323ebde4b64461487a2b22e486)

@AttAditya
AttAditya merged commit dcedf5b into main May 19, 2026
1 check passed
@AttAditya
AttAditya deleted the fix/callable-issue branch May 19, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BUG Observed unexpected behavior MINOR Small updates, non breaking changes RELEASE Version will be bumped TESTS Related to code tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant