snazzy-d/sdc

Make class a pointer to the underlying struct in the IR

deadalnix opened this issue · 0 comments

Right now, we have to special case classes every time aggregate are involved, and this is really annoying and error prone.

A better path forward would be to generate a pointer to the struct in the IR, and then special case the few places where the difference matter, like template pattern matching.