Remove `if self.is_type_checker` check
Summary:
follow-up to
D38082663 (https://github.com/facebook/hhvm/commit/
f2bac8caaa25e1b3711efa45769c74fef5a133f3)
What:
- remove a check that we're in the type checker rather than hackc. iuc users won't notice the difference unless they are running hhvm without hh, in which case more readonly violations will be caught.
Why:
- We use `if self.is_type_checker` to ensure we roll out changes to the type-checker before hackc. I suspect the type-checker change is deployed, since
D38082663 (https://github.com/facebook/hhvm/commit/
f2bac8caaa25e1b3711efa45769c74fef5a133f3) landed ~1 week ago.
Reviewed By: viratyosin
Differential Revision:
D38387657
fbshipit-source-id:
b2af393f1dd890db92146fc6fd1f3bb4e5774465