DoxigAlpha

inactiveUnionField

Function parameters

Parameters

#
active:anytype
accessed:@TypeOf(active)

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 inactiveUnionField(active: anytype, accessed: @TypeOf(active)) noreturn {
    _ = accessed;
    call("access of inactive union field", null);
}