Skip to content

Preserve numeric types for literal subtree port values#17

Open
L4co77 wants to merge 1 commit intomainfrom
fix-subtree-literal-numeric-types-main
Open

Preserve numeric types for literal subtree port values#17
L4co77 wants to merge 1 commit intomainfrom
fix-subtree-literal-numeric-types-main

Conversation

@L4co77
Copy link

@L4co77 L4co77 commented Mar 12, 2026

When literal values are passed to SubTree ports (not blackboard remapping), detect numeric types (int64_t, double) before storing them in the child blackboard. Previously all literals were stored as std::string, which caused type-mismatch errors in Script expressions that tried to do arithmetic.

@L4co77 L4co77 self-assigned this Mar 12, 2026
@L4co77 L4co77 force-pushed the fix-subtree-literal-numeric-types-main branch from c910871 to 1a0002f Compare March 12, 2026 12:55
When literal values are passed to SubTree ports (not blackboard remapping),
detect numeric types (int64_t, double) before storing them in the child
blackboard. Previously all literals were stored as std::string, which caused
type-mismatch errors in Script expressions that tried to do arithmetic.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@L4co77 L4co77 force-pushed the fix-subtree-literal-numeric-types-main branch from 1a0002f to d248867 Compare March 12, 2026 13:57
Copy link
Member

@davetcoleman davetcoleman left a comment

Choose a reason for hiding this comment

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

LGTM, @MikeWrock to approve

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