As mentioned by Dennis here: https://forum.dlang.org/post/fgszmctemzfkjniiibrx@forum.dlang.org throw should be added to StorageClass, otherwise there is an inconsistency between nothrow and throw. -Steve