emscripten-core / emscripten-core/emscripten
WebIDL Binder binder generates incorrect JS code when IDL_CHECKS="ALL"
Open
wontfix
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
If I set `IDL_CHECKS="ALL"` instead of `IDL_CHECKS="DEFAULT"` when calling `webidl_binder.py`, generated code doesn't use `.ptr` when passing references/pointers in some cases (e.g. when overloading methods with parameters of type `double`)
Example IDL:
Incorrect `ClassB::f()`:
Correct `ClassC::f()`:
Contributor guide
Assessment
This issue has not been assessed yet.