From 93f724f68fc89aa361d5ebf774780ae0e546ea5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Doeraene?= Date: Sat, 22 Sep 2018 13:47:12 +0200 Subject: [PATCH 1/2] Remove one sneaky left-over WhileDo-like label-def. --- compiler/src/dotty/tools/dotc/ast/tpd.scala | 10 ---------- compiler/src/dotty/tools/dotc/transform/LazyVals.scala | 4 ++-- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/compiler/src/dotty/tools/dotc/ast/tpd.scala b/compiler/src/dotty/tools/dotc/ast/tpd.scala index d27497d27f66..71ea819f38a9 100644 --- a/compiler/src/dotty/tools/dotc/ast/tpd.scala +++ b/compiler/src/dotty/tools/dotc/ast/tpd.scala @@ -319,16 +319,6 @@ object tpd extends Trees.Instance[Type] with TypedTreeInfo { Block(cdef :: Nil, New(cls.typeRef, Nil)) } - // {