core
core copied to clipboard
'Bitwise not' operation is broken
It seems like the following commit has broken bitwise not operations in the compiled javascript: https://github.com/dotnet-websharper/core/commit/58f9fcda175a022dfce73ac59b281ca318188df2
Let's consider:
Console.Log(~~~1000)
Before that commit it correctly printed -1001
From that commit onwards it prints false
.