DoxigAlpha

sentinelMismatch

Function parameters

Parameters

#
expected:anytype
found:@TypeOf(expected)

Prints the message to stderr without a newline and then traps.

Functions

#
call
Prints the message to stderr without a newline and then traps.

Source

Implementation

#
pub fn sentinelMismatch(expected: anytype, found: @TypeOf(expected)) noreturn {
    _ = found;
    call("sentinel mismatch", null);
}