Skip to content

Add HasCallStack to all specilization when generic function has one - #574

Open
Shimuuar wants to merge 2 commits into
masterfrom
has_call_stack_mut
Open

Shimuuar wants to merge 2 commits into
masterfrom
has_call_stack_mut

Conversation

@Shimuuar

@Shimuuar Shimuuar commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Some generic functions has HasCallStack in context while their specializations don't. This frequently makes stack traces quite useless since they end up truncated. I think only reasonable way is to add HasCallStack to specializations as well

Fixes #494

Add HasCallstack for all specialization which has it in Generic version:

 - !
 - indexM
 - slice
 - backpermute
 - copy

Fixes #494
 - new
 - grow
 - read,write
 - modify,modifyM
 - swap,exchange,copy,move
@Shimuuar
Shimuuar force-pushed the has_call_stack_mut branch from edd57a2 to d4a91a3 Compare October 5, 2026 17:09
@toyboot4e

Copy link
Copy Markdown
Contributor

Sweet ❤️ ❤️ ❤️

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.

Adding more HasCallStack s

2 participants