Implement downcasting by instanciating a template in object.d
Opened this issue · 0 comments
deadalnix commented
Right now, we have a way to do it in the runtime, and another way generated by the LLVM backend, both being tightly coupled together. We'd be better off having one implementation in object.d and have it be instantiated as per needed.