Comment #1 by andrej.mitrovich — 2013-03-12T14:29:28Z
Hmmm.. a quick hack is to try to infer the type before type is outputted:
void Declaration::jsonProperties(JsonOut *json)
{
// ...
if (!type)
{
VarDeclaration *vd = this->isVarDeclaration();
type = vd->init->inferType(NULL);
}
json->property("type", "deco", type);
// ...
}
But that's no good, scope is missing. Anyone more experienced knows how to handle this?
Comment #2 by robert.schadek — 2024-12-13T18:04:52Z