Do not allow user-defined constants in user attribute expressions
commitd8cde33f5fcb6aa9e201990e13232d64b8b22072
authorOguz Ulgen <oulgen@fb.com>
Wed, 18 Oct 2017 00:04:25 +0000 (17 17:04 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 18 Oct 2017 00:31:16 +0000 (17 17:31 -0700)
tree0bd3354abcd934fc2aaeb612add4ffec882fc26b
parent0e41d15abc9a435d22161acf96f920a3fe4db2eb
Do not allow user-defined constants in user attribute expressions

Summary: Do not allow user-defined constants in user attribute expressions

Reviewed By: vladima

Differential Revision: D6055351

fbshipit-source-id: 97841337151684dafd806f084cbcd794a9bdae91
hphp/hack/src/hhbc/ast_constant_folder.ml
hphp/hack/src/hhbc/emit_attribute.ml
hphp/test/hhcodegen_failing_tests_quick