* Fixed to conform to new structures in pastree

git-svn-id: trunk@22092 -
This commit is contained in:
michael 2012-08-15 16:00:51 +00:00
parent e6efbd36ad
commit 3bc8bbf378

View File

@ -1905,7 +1905,7 @@ begin
begin
if j > 0 then
AppendSym(CodeEl, ', ');
AppendPasSHFragment(CodeEl, CurVariant.Values[j], 0);
AppendPasSHFragment(CodeEl, TPasElement(CurVariant.Values[j]).GetDeclaration(true), 0);
end;
AppendSym(CodeEl, ': (');
AppendType(CodeEl, TableEl, CurVariant.Members, True, NestingLevel + 3);