https://issues.dlang.org/show_bug.cgi?id=15989 --- Comment #6 from uplink.coder at googlemail.com --- Yes this code is invalid. finding this condition will involve scanning the members of a struct for classReferances and disallowing the creation of a manifest consntant if there are those in there. --