@@ -135,8 +135,7 @@ final class JSExportsGen(jsCodeGen: JSCodeGen)(using Context) {
135135
136136 for ((info, _) <- tups.tail) {
137137 report.error(
138- em " export overload conflicts with export of $firstSym: " +
139- " a field may not share its exported name with another export" ,
138+ em " export overload conflicts with export of $firstSym: a field may not share its exported name with another export " ,
140139 info.pos)
141140 }
142141
@@ -264,8 +263,8 @@ final class JSExportsGen(jsCodeGen: JSCodeGen)(using Context) {
264263 .alternatives
265264
266265 assert(! alts.isEmpty,
267- em " Ended up with no alternatives for ${classSym.fullName}:: $name. " +
268- em " Original set was ${alts} with types ${alts.map(_.info)}" )
266+ em """ Ended up with no alternatives for ${classSym.fullName}:: $name.
267+ | Original set was ${alts} with types ${alts.map(_.info)}"" " )
269268
270269 val (jsName, isProp) = exportNameInfo(name)
271270
@@ -309,7 +308,7 @@ final class JSExportsGen(jsCodeGen: JSCodeGen)(using Context) {
309308 if (isProp && methodSyms.nonEmpty) {
310309 val firstAlt = alts.head
311310 report.error(
312- i " Conflicting properties and methods for ${classSym.fullName}:: $name. " ,
311+ em " Conflicting properties and methods for ${classSym.fullName}:: $name. " ,
313312 firstAlt.srcPos)
314313 implicit val pos = firstAlt.span
315314 js.JSPropertyDef (js.MemberFlags .empty, genExpr(name)(firstAlt.sourcePos), None , None )
@@ -613,7 +612,7 @@ final class JSExportsGen(jsCodeGen: JSCodeGen)(using Context) {
613612 val altsTypesInfo = alts.map(_.info.show).sorted.mkString(" \n " )
614613
615614 report.error(
616- s " Cannot disambiguate overloads for $fullKind $displayName with types \n $altsTypesInfo" ,
615+ em " Cannot disambiguate overloads for $fullKind $displayName with types \n $altsTypesInfo" ,
617616 pos)
618617 }
619618
0 commit comments