diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-20 08:13:49 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-20 08:13:49 +0800 |
| commit | 9dc737acec1eab40ef65bef8e6c729a4e5e06401 (patch) | |
| tree | 05484fd697e7d2a047d8f525d6ede55c88010934 /examples/example-argument-picker | |
| parent | a6697111573952903b3d9d0659ffe1af23432c3c (diff) | |
feat(macros): preserve user function as standalone item in codegen
Refactor #[chain], #[renderer], #[help], and #[completion] macros to
keep
the original user function as a named item instead of inlining its body.
Trait method implementations now call the original function by name,
injecting resources from the application context.
This improves debugging (stack traces reference user function names),
error messages, and macro expansion clarity.
Diffstat (limited to 'examples/example-argument-picker')
0 files changed, 0 insertions, 0 deletions
