[GH-ISSUE #20] Bindings for destructured parameters #8

Open
opened 2026-11-02 15:32:22 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @reservedbytes on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon-mixins/issues/20

A target function whose parameters are destructured patterns ((xd, zd): (f64, f64) in horizon's creatures::knock_back) is refused with E_INVALID_BINDING, so no HEAD or RETURN hook can sit on it

What's missing

  • binding a destructured parameter, either as the whole parameter or as its named parts
Originally created by @reservedbytes on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon-mixins/issues/20 A target function whose parameters are destructured patterns (`(xd, zd): (f64, f64)` in horizon's `creatures::knock_back`) is refused with `E_INVALID_BINDING`, so no HEAD or RETURN hook can sit on it What's missing - binding a destructured parameter, either as the whole parameter or as its named parts
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon-mixins#8
No description provided.