You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because build clashes with code generated by the macro. The same happens with non-inline props and a field named build.
Expected behavior
The macro generates boilerplate which does not collide with regular names, either buy using a trait (PropTrait::build) or by generating names that have a very slim/no chance of colliding with user code.
Environment
Sycamore: 0.8.2
The text was updated successfully, but these errors were encountered:
Describe the bug
This does not compile:
Because
build
clashes with code generated by the macro. The same happens with non-inline props and a field namedbuild
.Expected behavior
The macro generates boilerplate which does not collide with regular names, either buy using a trait (PropTrait::build) or by generating names that have a very slim/no chance of colliding with user code.
Environment
The text was updated successfully, but these errors were encountered: