println: make aliases printable

This commit is contained in:
Alexander Medvednikov 2019-07-10 14:26:37 +02:00
parent fba8443f30
commit c8fc262da3
2 changed files with 8 additions and 8 deletions

View file

@ -2155,6 +2155,9 @@ fn (p mut Parser) typ_to_fmt(typ string) string {
return '%p'
}
}
if t.parent != '' {
return p.typ_to_fmt(t.parent)
}
return ''
}