Use ast::Expr (not TAST stub) in HHAS param
commit4ff5a6f9e37855d65af224049fb86075038621a3
authorLeo Osvald <leoo@fb.com>
Wed, 6 Nov 2019 00:59:51 +0000 (5 16:59 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 6 Nov 2019 01:06:05 +0000 (5 17:06 -0800)
tree4f78c0125e8168b163ac196ebdb36d8aea5da56b
parent51e6ce9a5962916f6d2f0d91ffb501bea8046a63
Use ast::Expr (not TAST stub) in HHAS param

Summary: Also simplify the logic of replacing label.

Reviewed By: shiqicao

Differential Revision: D18337216

fbshipit-source-id: 7aeb777f97181060d7901d4dfccb5716955725d0
hphp/hack/src/hhbc/hhas_param.rs
hphp/hack/src/typing/tast.rs [deleted file]