bytecodealliance / bytecodealliance/wit-bindgen
rust: Generated resource bindings can conflict with resource methods
Open
- Dominant language
- Rust
- Stars
- 1.5k
- Forks
- 286
- Avg merge
- 6h 32m
- Merged PRs (30d)
- 19
Description
```wit
package repro:pkg;
world example {
resource repro {
constructor();
handle: func();
}
}
```
generates two conflicting `Repro::handle` methods; one `#[doc(hidden)]` internal method and the actual resource method. Same would presumably be true for `take_handle` and (`static`) `from_handle`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.