binding/wasm/controls.hpp:388 does static_cast from double to each variant alternative, which fails to compile when an alternative is not numeric (e.g. std::string):
avnd/binding/wasm/controls.hpp:388:22: error: no matching conversion for static_cast from 'double' to 'Alt' (aka 'std::string')
Breaks the wasm build of Variant, Aggregate, AllPortsTypes.
Repro: emscripten build of the repo (emcmake cmake && ninja Variant_wasm), emsdk latest. Pre-existing on main (fails identically at 82c034b).
binding/wasm/controls.hpp:388doesstatic_castfromdoubleto each variant alternative, which fails to compile when an alternative is not numeric (e.g.std::string):Breaks the wasm build of
Variant,Aggregate,AllPortsTypes.Repro: emscripten build of the repo (
emcmake cmake && ninja Variant_wasm), emsdk latest. Pre-existing on main (fails identically at 82c034b).