Просмотр исходного кода

* Patch from Simone Tacconi to fix set getdeclaration. Fixes issue #41106

Michaël Van Canneyt 7 месяцев назад
Родитель
Сommit
c89b6a5908
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/fcl-passrc/src/pastree.pp

+ 1 - 1
packages/fcl-passrc/src/pastree.pp

@@ -4580,7 +4580,7 @@ begin
     end
   else
     begin
-    Result:='Set of '+EnumType.SafeName;
+    Result:='Set of '+EnumType.GetDeclaration(True);
     If Full then
       Result:=SafeName+' = '+Result;
     end;