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 f085145 commit e99aeeeCopy full SHA for e99aeee
compiler/src/dotty/tools/dotc/parsing/Parsers.scala
@@ -1140,7 +1140,7 @@ object Parsers {
1140
report.errorOrMigrationWarning(AmbiguousNamedTupleInfixApply(), infixOp.right.srcPos, MigrationVersion.AmbiguousNamedTupleInfixApply)
1141
if MigrationVersion.AmbiguousNamedTupleInfixApply.needsPatch then
1142
val asApply = cpy.Apply(infixOp)(Select(opInfo.operand, opInfo.operator.name), args)
1143
- patch(source, infixOp.span, asApply.show)
+ patch(source, infixOp.span, asApply.show(using ctx.withoutColors))
1144
asApply // allow to use pre-3.6 syntax in migration mode
1145
else infixOp
1146
case _ => infixOp
0 commit comments