--TEST-- Intersection type reduction invalid invariant type check --FILE-- ===DONE=== --EXPECTF-- Fatal error: Type of Test2::$prop must be X&Y (as in class Test) in %s on line %d