Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit 2b5f57f

Browse files
committed
support inout paremeters
1 parent afeede0 commit 2b5f57f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/PageSections/_Private/stringify_parameter.hack

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ function stringify_parameter(
2121
): string {
2222
$s = '';
2323

24+
if ($parameter->isInOut()) {
25+
$s .= 'inout ';
26+
}
27+
2428
$types = $docs['types'] ?? vec[];
2529
if ($types) {
2630
$s .= Str\join($types, '|').' ';

0 commit comments

Comments
 (0)