Phobos unit tests, unreadable code

Jacob Carlborg doob at me.com
Wed Jun 12 01:49:36 PDT 2013


I'm merging the orange (std.serialization) unit tests with the test of 
Phobos. I hit a problem. I'm getting a warning about unreadable code but 
it's clear the code is reachable in some cases because there's a 
static-if involved. The unit tests won't run if there's a warning. How 
can we solve this?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list