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.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.

Examples

let result = 4 << -1; // panics

Source:<builtin>/baml/ns_panics/panics.bamlbytes 35833630

Fields

message

string

Implementations

baml.Concrete for T

Source:<builtin>/baml/core.bamlbytes 747779