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 07150fd commit 47a4c66Copy full SHA for 47a4c66
compiler/src/dotty/tools/backend/sjs/JSEncoding.scala
@@ -206,7 +206,7 @@ object JSEncoding {
206
*/
207
ir.Definitions.BoxedUnitClass
208
} else {
209
- ir.Definitions.encodeClassName(sym.fullName.toString)
+ ir.Definitions.encodeClassName(fullyMangledString(sym.fullName))
210
}
211
212
@@ -231,7 +231,7 @@ object JSEncoding {
231
val c = base.charAt(i)
232
if (c == '_')
233
result.append("$und")
234
- else if (Character.isJavaIdentifierPart(c))
+ else if (Character.isJavaIdentifierPart(c) || c == '.')
235
result.append(c)
236
else
237
result.append("$u%04x".format(c.toInt))
0 commit comments