summaryrefslogtreecommitdiffstats
path: root/tests/language-feature/system-value-extraction.slang
diff options
context:
space:
mode:
authorJames Helferty (NVIDIA) <jhelferty@nvidia.com>2025-10-08 19:11:10 -0400
committerGitHub <noreply@github.com>2025-10-08 23:11:10 +0000
commit54d9b345bff4b01949e875366cb1e7cf1c021c61 (patch)
tree374b635c94799c151f1ed98e562a9c1e194d086b /tests/language-feature/system-value-extraction.slang
parenteda080bbf7a2b48e26342df13005a40434f7d802 (diff)
parser: Avoid dropping modifiers when splitting list (#8546)
Fix for a linked list usage bug; avoids dropping any modifiers when moving type modifiers from a linked list of modifiers into their own linked list. Since this change results in no_diff modifiers to traditional functions ending up on the return type instead of the function (due to the order they're parsed in), we duplicate the no_diff modifier onto the function declaration after the fact. Includes a test for the original issue. The no_diff redistribution case is covered by a slangpy device test case. Fixes #8332 --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'tests/language-feature/system-value-extraction.slang')
0 files changed, 0 insertions, 0 deletions