Closed
Description
Compiler version
3.3.1-RC1-bin-20230216-2507577-NIGHTLY
Expectation
What the title says. ValDefMethods
has a tpt
member but it is missing from DefDefMethods
. I was also thinking whether it would make sense to have a ValOrDefDef
common super type for ValDef
and DefDef
(I find myself often writing ValDef | DefDef
). This would hep abstracting over the common members, i.e., tpt
and rhs
.