Skip to content

Commit 64cdb43

Browse files
committed
Eliminate unused definition
1 parent 7a007dc commit 64cdb43

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/src/dotty/tools/dotc/typer/Typer.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,6 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
567567
case lhs =>
568568
val lhsCore = typedUnadapted(lhs, AssignProto)
569569
def lhs1 = typed(untpd.TypedSplice(lhsCore))
570-
lazy val lhsVal = lhsCore.asInstanceOf[TermRef].denot.suchThat(!_.is(Method))
571570

572571
def reassignmentToVal =
573572
errorTree(cpy.Assign(tree)(lhsCore, typed(tree.rhs, lhs1.tpe.widen)),

0 commit comments

Comments
 (0)