add type check for parameter default value
commit07f5607dc323bd0354818ff97a6879af2b7ebacf
authorHaoyang Qian <haoyangqian@fb.com>
Sat, 29 Jul 2017 18:21:55 +0000 (29 11:21 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Sat, 29 Jul 2017 18:41:36 +0000 (29 11:41 -0700)
tree7dd430d8d032d8fda4e651c438756dff00d0a7c4
parent8b1a5f79c9ebdc98929c090605d35c4d49b09cee
add type check for parameter default value

Summary: add type check for parameter default value type and the provided hint type, pass some tests which failed before.

Reviewed By: paulbiss

Differential Revision: D5467508

fbshipit-source-id: f344e4e5c222609dd29bc5a97be753d880565d3f
hphp/hack/src/hhbc/emit_param.ml
hphp/test/hhcodegen_failing_tests_quick