Fix more segfaults with ::types and lambda exprs