Avoid forming ???.T type.
Avoid forming ???.T type.

More generally, avoid forming a type selection on a term prefix which
has a bottom class as a type. There might be other places where we have
to take similar measures. For now, this one fixes #1235.

dotty-staging/dotty,som-snytt/dotty,sjrd/dotty,sjrd/dotty,lampepfl/dotty,sjrd/dotty,dotty-staging/dotty,dotty-staging/dotty,som-snytt/dotty,lampepfl/dotty,dotty-staging/dotty,dotty-staging/dotty,som-snytt/dotty,lampepfl/dotty,som-snytt/dotty,sjrd/dotty,lampepfl/dotty,lampepfl/dotty,sjrd/dotty,som-snytt/dotty