Methods always shwoDcl as `def`
Methods always shwoDcl as `def`

This is reasonable because getters are only generated late in the
compilation pipeline. No need to hide a getter as a val in error messages.

dotty-staging/dotty,spetz911/dotty,som-snytt/dotty,VladimirNik/dotty,folone/dotty,reactormonk/dotty,auvik/dotty,lampepfl/dotty,dotty-staging/dotty,VladimirNik/dotty,svalaskevicius/dotty,sjrd/dotty,dotty-staging/dotty,AlexSikia/dotty,vsalvis/dotty,lampepfl/dotty,yusuke2255/dotty,lampepfl/dotty,densh/dotty,sjrd/dotty,densh/dotty,som-snytt/dotty,lampepfl/dotty,svalaskevicius/dotty,spetz911/dotty,reactormonk/dotty,angi2/dotty,sjrd/dotty,angi2/dotty,AlexSikia/dotty,som-snytt/dotty,sjrd/dotty,som-snytt/dotty,sjrd/dotty,yusuke2255/dotty,som-snytt/dotty,folone/dotty,dotty-staging/dotty,vsalvis/dotty,auvik/dotty,dotty-staging/dotty,lampepfl/dotty