mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 15:47:53 +02:00
Allow constructor RTTI info in Pas2Js generated file.
This commit is contained in:
parent
9392e62935
commit
8ecdc6ed05
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user