|
@@ -21219,7 +21219,7 @@ begin
|
|
// check visibility
|
|
// check visibility
|
|
case mt of
|
|
case mt of
|
|
mtClass:
|
|
mtClass:
|
|
- if P.Visibility<>visPublished then continue;
|
|
|
|
|
|
+ if (P.Visibility<>visPublished) and (not P.InheritsFrom(TPasConstructor) or (P.Visibility <> visPublic)) then continue;
|
|
mtInterface: ; // all members of an interface are published
|
|
mtInterface: ; // all members of an interface are published
|
|
mtRecord:
|
|
mtRecord:
|
|
// a published record publishes all non private members
|
|
// a published record publishes all non private members
|