try to extract return type from for if while stmt