File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
compiler/src/dotty/tools/backend/sjs Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1532,9 +1532,9 @@ class JSCodeGen()(implicit ctx: Context) {
15321532 case jstpe.LongType =>
15331533 js.BinaryOp (js.BinaryOp .Long_- , js.LongLiteral (0 ), genArg)
15341534 case jstpe.FloatType =>
1535- js.BinaryOp (js.BinaryOp .Float_- , js.FloatLiteral (0 .0f ), genArg)
1535+ js.BinaryOp (js.BinaryOp .Float_* , js.FloatLiteral (- 1 .0f ), genArg)
15361536 case jstpe.DoubleType =>
1537- js.BinaryOp (js.BinaryOp .Double_- , js.DoubleLiteral (0 ), genArg)
1537+ js.BinaryOp (js.BinaryOp .Double_* , js.DoubleLiteral (- 1. 0 ), genArg)
15381538 }
15391539
15401540 case NOT =>
Original file line number Diff line number Diff line change 22//
33// e.g. addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.1.0")
44
5- addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 1.0 .0" )
5+ addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 1.1 .0" )
66
77addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.6" )
88
You can’t perform that action at this time.
0 commit comments