add wip tests for the interaction of traits and constants
[hiphop-php.git] / hphp / hack / test / shape_analysis / solve_constraints / trait_const_1_wip.php
blob0dca882ab352c06ea2fc3cb3776b93a5c0a17ae8
1 <?hh
3 trait TheTrait {
4 // T136213776: expect ?b key in shape type
5 const dict<string, mixed> DICT = dict[];
8 class TheClass {
9 use TheTrait;
12 function main(): void {
13 TheClass::DICT['b'];