Pretty printing of typed variadic function types
commit59a2f3c3ea98f2ec834700297db7d8c327a36589
authorAndrew Kennedy <akenn@fb.com>
Fri, 24 Nov 2017 08:18:59 +0000 (24 00:18 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 24 Nov 2017 08:23:54 +0000 (24 00:23 -0800)
tree2cd175f0f0a79f3b54d4c47c0d10eff2620f81a3
parent27b15dad53a8459a3e99c7926b29f44e1142315e
Pretty printing of typed variadic function types

Summary: We were not printing the type on a variadic parameter in a function type such as `(function(int, string...))`. Now we are.

Reviewed By: CatherineGasnier

Differential Revision: D6404956

fbshipit-source-id: a067ad108b153f4671dd88bbf39579508d96152b
hphp/hack/src/typing/typing_print.ml
hphp/hack/test/typecheck/prettyprint/variadic_functions.php
hphp/hack/test/typecheck/prettyprint/variadic_functions.php.exp