a3b38cf6ed
Reuse it in the main type-checking path in DoubleColonExpressionResolver, as well as in ArgumentTypeResolver which handles the case when a callable reference appears as an argument to another call