I don't know whether zig should use the trait syntax, which is a higher-level syntax than the type, and only describes the syntax of the interface, because the disadvantage is that the language becomes complicated. But the anytype function can actually be optimized. It should be able to generate the corresponding syntax and describe what interface functions are needed. The error prompt should not directly enter the function body, but should prompt the cause of the error and the prompt for correction at the client code.
For further actions, you may consider blocking this person and/or reporting abuse
I don't know whether zig should use the trait syntax, which is a higher-level syntax than the type, and only describes the syntax of the interface, because the disadvantage is that the language becomes complicated. But the anytype function can actually be optimized. It should be able to generate the corresponding syntax and describe what interface functions are needed. The error prompt should not directly enter the function body, but should prompt the cause of the error and the prompt for correction at the client code.