overwrite file attribute specification
commit93ce87dd029fda7563a4453023c048fc7432fb0d
authorMillie Chen <milliechen@fb.com>
Tue, 30 Nov 2021 01:14:23 +0000 (29 17:14 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 30 Nov 2021 01:23:35 +0000 (29 17:23 -0800)
treeafd35e3d812cd6afc29825898dbd86b5d80d27f0
parentc632890de25eaca5fcb748d97eefdd8d2d8d9300
overwrite file attribute specification

Summary: In the case of multiple file attribute specifications, only keep the last one. This matches the facts parser behavior: https://www.internalfb.com/code/fbsource/[6095536cde0802f964ae73137bdbfb629b2a26e4]/fbcode/hphp/hack/src/facts/facts_parser.rs?lines=463-464

Reviewed By: shayne-fletcher

Differential Revision: D32606063

fbshipit-source-id: f3da9ecda3333193803f3891837199ba26b3bc63
hphp/hack/src/decl/direct_decl_smart_constructors.rs