aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src/func
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-20 08:13:49 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-20 08:13:49 +0800
commit9dc737acec1eab40ef65bef8e6c729a4e5e06401 (patch)
tree05484fd697e7d2a047d8f525d6ede55c88010934 /mingling_macros/src/func
parenta6697111573952903b3d9d0659ffe1af23432c3c (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 'mingling_macros/src/func')
0 files changed, 0 insertions, 0 deletions