From 6b0350e81e7e2827d5117c782b9c80f75b9c7bb5 Mon Sep 17 00:00:00 2001 From: liu fengyun Date: Wed, 3 May 2017 14:37:46 +0200 Subject: [PATCH] fix missing case TypedSplice in UntypedTreeMap --- compiler/src/dotty/tools/dotc/ast/untpd.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/src/dotty/tools/dotc/ast/untpd.scala b/compiler/src/dotty/tools/dotc/ast/untpd.scala index 7a9f2fe6670a..9ebf35972a91 100644 --- a/compiler/src/dotty/tools/dotc/ast/untpd.scala +++ b/compiler/src/dotty/tools/dotc/ast/untpd.scala @@ -517,6 +517,8 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo { cpy.ContextBounds(tree)(transformSub(bounds), transform(cxBounds)) case PatDef(mods, pats, tpt, rhs) => cpy.PatDef(tree)(mods, transform(pats), transform(tpt), transform(rhs)) + case TypedSplice(_) => + tree case _ => super.transform(tree) }