Stage2 miscompiles call to std.math.big.int.Managed.shiftLeft
#11897
Closed
Labels
bug
Observed behavior contradicts documented or intended behavior
frontend
Tokenization, parsing, AstGen, Sema, and Liveness.
miscompilation
The compiler reports success but produces semantically incorrect code.
Milestone
The biggest difference between the two seems to be that the in the second one the
a2
passed by value is copied first but the doc comments onshiftLeft
says that aliasing here should be okay:This is blocking
std.math.big.Rational.toFloat
tests.The text was updated successfully, but these errors were encountered: