Basic flow analysis on if statements
[hiphop-php.git] / hphp / test / slow / bad-reified.php
blob5297e4d8419755c00d1f15f0836e7ea0b83c214e
1 <?hh
3 function uhoh<reify T>() {
4 var_dump(HH\ReifiedGenerics\get_type_structure<T>());
7 class F {
8 const type TWat = vec<HelloAlias>;
10 function go() {
11 uhoh<this::TWat>();
15 <<__EntryPoint>>
16 function main() {
17 include "bad-reified.inc";
18 (new F)->go();