I am a bit puzzled while reading Period 11.2.1 of Vakil's $The\space Rising\space Sea$. A theorem was stated that for a finitely generated domain over a field $k$, the dimension is equal to the transcendence degree. Vakil then wrote for a irreducible $k$ variety, the dimension is just the transcendence degree of the function field $\mathcal{O}_{X,\eta}$ and therefore it can be calculated on any open set.
But he mentioned that this is false without the finite type hypothesis. I know that the above does not hold for domains not finitely generated. And my question is that is the finiteness criterion used in other parts of the above theorem? Like, if we just know that the function field of this integral scheme(which may not be a variety) is a finite extension of $k$, can we reach the same result?