virtual dtor for Stmt in debug mode


I've just found out the hard way that there are no virtual functions in the Stmt class anymore. Please, can we reintroduce a virtual dtor (or something else) in debug mode as it would make debugging (at least for MSVC users) much more easier (which is hard enough anyway).

Best regards

Allowing the size of Stmt nodes change between release and debug modes makes it hard to mix-and-match .o files between debug and release builds :frowning:

  • Doug