Skip to content

Conversation

whitequark
Copy link
Member

We have a warning saying that the init value will be truncated to fit the signal's shape (suppressed for common patterns of 0 and -1), but the introspected via .init value is, confusingly, not truncated.

@whitequark whitequark added this to the 0.6 milestone Jul 19, 2024
@whitequark whitequark requested a review from wanda-phi July 19, 2024 01:12
@whitequark
Copy link
Member Author

I consider this PR a bugfix and tagged it for a backport to 0.5.1.

We have a warning saying that the init value will be truncated to fit
the signal's shape (suppressed for common patterns of 0 and -1), but
the introspected via `.init` value is, confusingly, not truncated.
@whitequark whitequark enabled auto-merge July 19, 2024 02:21
@whitequark whitequark added this pull request to the merge queue Jul 19, 2024
Merged via the queue into amaranth-lang:main with commit cde68fb Jul 19, 2024
@whitequark whitequark deleted the truncate-init branch July 19, 2024 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants