Allow constructor RTTI info in Pas2Js generated file.

This commit is contained in:
Henrique Gottardi Werlang 2023-08-08 16:58:09 -03:00
parent 9392e62935
commit 8ecdc6ed05

View File

@ -21219,7 +21219,7 @@ begin
// check visibility
case mt of
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
mtRecord:
// a published record publishes all non private members