Generic invocation of primitive methods
Posted: Wed Sep 01, 2021 12:38 pm
Is there an equivalent to Object.sendMsg for primitive types? Something like Any.sendMsg and sendMsgWithParams? I'd settle for type-specific Boolean.sendMsg etc though that would be a bit more clumsy. Would use this extensively for run-time expression evaluation. It would be way better than constructing proxy classes for primitives as we do now, and having to keep them updated.