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 @@ -1531,9 +1531,9 @@ class JSCodeGen()(implicit ctx: Context) {
1531
1531
case jstpe.LongType =>
1532
1532
js.BinaryOp (js.BinaryOp .Long_- , js.LongLiteral (0 ), genArg)
1533
1533
case jstpe.FloatType =>
1534
- js.BinaryOp (js.BinaryOp .Float_- , js.FloatLiteral (0 .0f ), genArg)
1534
+ js.BinaryOp (js.BinaryOp .Float_* , js.FloatLiteral (- 1 .0f ), genArg)
1535
1535
case jstpe.DoubleType =>
1536
- js.BinaryOp (js.BinaryOp .Double_- , js.DoubleLiteral (0 ), genArg)
1536
+ js.BinaryOp (js.BinaryOp .Double_* , js.DoubleLiteral (- 1. 0 ), genArg)
1537
1537
}
1538
1538
1539
1539
case NOT =>
Original file line number Diff line number Diff line change 2
2
//
3
3
// e.g. addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.1.0")
4
4
5
- addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 1.0 .0" )
5
+ addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 1.1 .0" )
6
6
7
7
addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.6" )
8
8
You can’t perform that action at this time.
0 commit comments