Fix error in syntax folder
commitfa31c55825e67adb3ab2b6a3c8e75e6ef42fbb5d
authorEric Lippert <ericlippert@fb.com>
Fri, 3 Nov 2017 20:11:49 +0000 (3 13:11 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 3 Nov 2017 20:26:26 +0000 (3 13:26 -0700)
tree0925f04554cbc6a8a6355e3730e2db53ced651c6
parent7f7fe481d53accea14b715a4008031a0b67625b7
Fix error in syntax folder

Summary: While attempting to implement some logic in the positioned syntax tree I noticed that this auto-generated method was wrong when the argument was a list.  In the current codebase we never call this method with a list, so the error is invisible. But I figured that we might as well fix it now.

Reviewed By: vladima

Differential Revision: D6214483

fbshipit-source-id: 283faed33affef463b90551cc5d83f65ceaa86fa
hphp/hack/src/generate_full_fidelity.ml
hphp/hack/src/parser/full_fidelity_syntax.ml