by SkiFire13 · 1w ago · 0 comments
Wait, what do you mean by this? If I put an assert in an inline function in some header and compile it with and without NDEBUG in two different models, it's definitely UB. Are you saying contracts went further and made it UB to even link two binaries that compiled different functions in different modes, rather than the same functions in different modes? That sounds crazy and unnecessary if so.