Skip to content

Commit 6f41bfd

Browse files
committed
Export visibility for promoted property
1 parent eb0e991 commit 6f41bfd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Zend/zend_ast.c

+1
Original file line numberDiff line numberDiff line change
@@ -2558,6 +2558,7 @@ static ZEND_COLD void zend_ast_export_ex(smart_str *str, zend_ast *ast, int prio
25582558
if (ast->child[3]) {
25592559
zend_ast_export_attributes(str, ast->child[3], indent, 0);
25602560
}
2561+
zend_ast_export_visibility(str, ast->attr, ZEND_MODIFIER_TARGET_CPP);
25612562
if (ast->child[0]) {
25622563
zend_ast_export_type(str, ast->child[0], indent);
25632564
smart_str_appendc(str, ' ');

0 commit comments

Comments
 (0)