zeek/testing/btest/Baseline/language.sizeof
Evan Typanski d3dd8a155d Fix port/enum values SizeOf not being a count
Really, they both should be count. But, they were getting provided as an
integer. Port is easy since it is backed by an unsigned value. Enums
*should* be unsigned, but aren't. This doesn't address that, it just
takes the other name for this operator (absolute value) and makes the
enum value positive if it's negative.

This fixes a case where using the size of operator on enum/port values
in certain contexts (like the default parameter of a struct) would cause
an internal error.
2024-09-17 10:55:45 -04:00
..
.stderr Fix port/enum values SizeOf not being a count 2024-09-17 10:55:45 -04:00
output Fix port/enum values SizeOf not being a count 2024-09-17 10:55:45 -04:00