regression introduced in f6d4da5d81. this has been overlooked due to the assert macro being optimized out in non-debug builds.
f6d4da5d81