baml.panics.NegativeBitShift
The right operand of a shift (`<<` / `>>`) was negative. The type system can't rule this out because the shift count is a runtime value.
Reference version
Signature
class baml.panics.NegativeBitShiftThe right operand of a shift (<< / >>) was negative.
The type system can't rule this out because the shift count is a runtime value.
Examples
let result = 4 << -1; // panics
Source:<builtin>/baml/ns_panics/panics.bamlbytes 3583–3630
Fields
message
stringImplementations
baml.Concrete for T
Source:<builtin>/baml/core.bamlbytes 747–779