Don't add trailing commas in used trait lists
commit1b58076f23bc7856066efae5eb43a8b38e5f398b
authorMike Qian <mqian@fb.com>
Fri, 19 Dec 2014 23:31:58 +0000 (19 15:31 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Sat, 20 Dec 2014 00:00:36 +0000 (19 16:00 -0800)
tree82e4b475bf46f158f14fbead939c7316a1b45bdc
parent3ff59db891641ae7040b974177f961778dabc3b7
Don't add trailing commas in used trait lists

Summary: Another place where trailing commas don't work (in runtime, Hack is happy with this):

"Hit fatal : While autoloading class [...] from [...]: syntax error, unexpected ';'"

Reviewed By: @int3

Differential Revision: D1746379
hphp/hack/src/parsing/format_hack.ml