Skip to content

allow brackets in receive objects; dropped for display name#286

Open
dromer wants to merge 17 commits into
developfrom
feature/parameter-order
Open

allow brackets in receive objects; dropped for display name#286
dromer wants to merge 17 commits into
developfrom
feature/parameter-order

Conversation

@dromer

@dromer dromer commented Jul 11, 2025

Copy link
Copy Markdown
Collaborator

This might solve #57

Needs to investigate the consequences of allowing brackets internally.

This comment was marked as resolved.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Comments suppressed due to low confidence (1)

hvcc/compiler.py:140

  • Input events are still sorted alphabetically while input parameters now preserve receiver insertion order. Since ordering tags are allowed for both params and events (and the C generator iterates receivers in insertion order), this can make event ordering inconsistent across generators/outputs that consume ExternInfo.

    # Exposed input events
    in_event_list = [(k, v) for k, v in hvir.control.receivers.items() if v.extern == "event"]
    in_event_list.sort(key=lambda x: x[0])
    check_extern_name_conflicts("input event", in_event_list, results)

Comment thread tests/unit/test_regex.py Outdated
Comment thread hvcc/core/hv2ir/HeavyGraph.py Outdated

This comment was marked as resolved.

This comment was marked as low quality.

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