Ok so this is not the same toPrettyChars function. This on is for Type, not for declaration. Thats its own inheritance hirarchy. And if you look at my change in Type::toPrettyChars it sets hgs.pretty = 1;