Fix crash typo-correcting dependent member func.

PR16561.