You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: look at the underlying of a TermRef for a getter (#24565)
If the type of a `val` is a `TermRef`, generating the generic signature
based on the underlying type will produce the type
`scala.Function0<underlying>`. The reason behind this is that during the
`getters` phase, the same symbol will now refer to the getter where the
type will be `=> <underlying>`. Since the `TermRef` originally intended
to capture the underlying type of a `val`, we recover that information
by directly checking the resultType of the getter.
Closes#24553
0 commit comments