Skip to content

Fix resolution of parameterized dictionary subscriptions#457

Open
somiljain2006 wants to merge 1 commit into
cbomkit:mainfrom
somiljain2006:Dictioniary-subscription-bug
Open

Fix resolution of parameterized dictionary subscriptions#457
somiljain2006 wants to merge 1 commit into
cbomkit:mainfrom
somiljain2006:Dictioniary-subscription-bug

Conversation

@somiljain2006
Copy link
Copy Markdown

Fixes #10

Fix the resolution of dictionary subscriptions using function parameters. Preserve argument mappings when resolving subscription expressions and re-resolve outer-scope hook expressions using call-site arguments. This allows expressions such as _curveTable[curve] to resolve through dictionary lookups and correctly identify values like SECP256R1. Added a regression test.

@somiljain2006 somiljain2006 requested a review from a team as a code owner May 29, 2026 19:32
Signed-off-by: somiljain2006 <somil16022006@gmail.com>
@somiljain2006 somiljain2006 force-pushed the Dictioniary-subscription-bug branch from 09be5fd to 00bdf04 Compare May 29, 2026 19:33
@somiljain2006
Copy link
Copy Markdown
Author

@n1ckl0sk0rtge Can you review this pr?

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.

Resolution for an outer parameter that is used in a subscription expression

1 participant