On Tuesday, 9 September 2025 at 12:04:07 UTC, Brother Bill wrote:
When commenting out the callHome() in struct C, it fails.
You can't call a function that doesn't exist. When the function doesn't exist, you can't call it.
Obviously if callHome() is explicitly created, it works.
*Explicitly* created? You can't just call a non-existent function and expect the compiler to generate it for you. You would need to have an `opDispatch` in `struct C` in order to do what you seem to be expecting to happen.
