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

Commit

Permalink
support inout paremeters
Browse files Browse the repository at this point in the history
  • Loading branch information
jjergus committed Sep 13, 2019
1 parent afeede0 commit 2b5f57f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/PageSections/_Private/stringify_parameter.hack
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ function stringify_parameter(
): string {
$s = '';

if ($parameter->isInOut()) {
$s .= 'inout ';
}

$types = $docs['types'] ?? vec[];
if ($types) {
$s .= Str\join($types, '|').' ';
Expand Down

0 comments on commit 2b5f57f

Please sign in to comment.