We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c18ed5 commit 1821b50Copy full SHA for 1821b50
compiler/src/dotty/tools/dotc/printing/RefinedPrinter.scala
@@ -447,8 +447,8 @@ class RefinedPrinter(_ctx: Context) extends PlainPrinter(_ctx) {
447
if (ctx.settings.YprintDebug.value) "[" ~ toText(t) ~ "]#TS#"
448
else toText(t)
449
case tpd.UntypedSplice(t) =>
450
- if (ctx.settings.YprintDebug.value) "[" ~ toText(t) ~ "]#US#"
451
- toText(t)
+ if (ctx.settings.YprintDebug.value) "[" ~ toText(t) ~ ":" ~ toText(tree.typeOpt) ~ "]#US#"
+ else toText(t)
452
case tree @ ModuleDef(name, impl) =>
453
withEnclosingDef(tree) {
454
modText(tree.mods, NoSymbol, keywordStr("object")) ~~ nameIdText(tree) ~ toTextTemplate(impl)
0 commit comments