diff options
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index 310dde912..e60633bb6 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -830,10 +830,10 @@ object SymDenotations { TermRef(owner.thisType, name.asTermName, this) override def valRef(implicit ctx: Context): TermRef = - TermRef.withSig(owner.thisType, name.asTermName, Signature.NotAMethod, this) + TermRef.withSigAndDenot(owner.thisType, name.asTermName, Signature.NotAMethod, this) override def termRefWithSig(implicit ctx: Context): TermRef = - TermRef.withSig(owner.thisType, name.asTermName, signature, this) + TermRef.withSigAndDenot(owner.thisType, name.asTermName, signature, this) def nonMemberTermRef(implicit ctx: Context): TermRef = TermRef.withNonMemberSym(owner.thisType, name.asTermName, symbol.asTerm) |