Repository navigation
fix #269 - #270
Merged
Merged
fix #269#270
Conversation
joergbrech
marked this pull request as ready for review
July 30, 2026 07:37
…-in-grunkdynamicfeature # Conflicts: # grunk/dynamic/DynamicFeature.hpp
…fy_type registry gap Address post-review follow-ups from PR #270 (grunk::DynamicFeature type hints / native colon-call dispatch): - Expose DynamicFeature::call to Python via nb::args, so the Python doc example actually works. call()'s variadic template now special-cases a single std::vector<object> argument (expanded via sol::as_args) instead of adding a second overload, which turned out to be ambiguous with the template and silently forwarded the whole vector as one opaque Lua argument - mirrors the same convention already used by grunk::action(). - Split the Feature usertype's __index fallback into three distinct error messages (no type hint / hint with no registered usertype / known type missing the requested member) backed by a new state::m_type_names map, instead of one message that conflated all three failure modes. - Make modify_type<T> populate m_type_registry/m_type_names itself rather than relying on a prior register_type call for the same table to have already done so. - Document that overloaded member functions (sol::overload(...)) don't get a return-type hint, same root cause as constructors before add_constructors started stamping theirs manually. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UZKAeFJHMA8uVJ9oDco5p5
joergbrech
added a commit
that referenced
this pull request
Jul 30, 2026
Fix regression of #270: colon operator doesn't work if type-hint is behind a custom pointer
joergbrech
added a commit
that referenced
this pull request
Jul 30, 2026
joergbrech
added a commit
that referenced
this pull request
Sep 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.