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 b534eb2 commit 906a55fCopy full SHA for 906a55f
compiler/src/dotty/tools/backend/sjs/JSCodeGen.scala
@@ -936,7 +936,13 @@ class JSCodeGen()(implicit ctx: Context) {
936
js.Skip()
937
case BooleanTag =>
938
js.BooleanLiteral(value.booleanValue)
939
- case ByteTag | ShortTag | CharTag | IntTag =>
+ case ByteTag =>
940
+ js.ByteLiteral(value.byteValue)
941
+ case ShortTag =>
942
+ js.ShortLiteral(value.shortValue)
943
+ case CharTag =>
944
+ js.CharLiteral(value.charValue)
945
+ case IntTag =>
946
js.IntLiteral(value.intValue)
947
case LongTag =>
948
js.LongLiteral(value.longValue)
0 commit comments