Skip to content

Commit a1c9abb

Browse files
authored
Merge pull request #569 from sjrd/fix-typo-revert-strict-floats
Fix typo in the setting to revert to non-strict floats.
2 parents f739002 + 77a78e5 commit a1c9abb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_posts/news/2022-02-14-announcing-scalajs-1.9.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ We have optimized our `fround` polyfill to the greatest extent possible, but ben
8686
If you really want to, you can switch back to non-strict float semantics with the following linker setting:
8787

8888
{% highlight scala %}
89-
scalaJSLinkerConfig ~= { _.withSemantics(_.withStrictFloats(true)) }
89+
scalaJSLinkerConfig ~= { _.withSemantics(_.withStrictFloats(false)) }
9090
{% endhighlight scala %}
9191

9292
This is however *deprecated*, and will eventually *cease to have any effect* in a later major or minor version of Scala.js.

0 commit comments

Comments
 (0)