add std.typecons.Typedef.toHash()

It would be nice to track down the cause of this problem.