Handle self, static, super
[hiphop-php.git] / hphp / hack / test / shape_analysis / solve_constraints / const_parent.php
blob84ccfcbdb79379cd9da4b16e4a477e80a4b4f84d
1 <?hh
3 class TheParent {
4 const dict<string, string> DICT = dict["a" => "2"]; // expect ?'b' key
7 class TheChild extends TheParent {
8 public static function foo(): void {
9 parent::DICT['b'];