fn failExpectedType(
self: @This(),
T: type,
node: Zoir.Node.Index,
) error 547
548
549
550
551
552
553
554 fn failExpectedType(
self: @This(),
T: type,
node: Zoir.Node.Index,
) error{ ParseZon, OutOfMemory } {
@branchHint(.cold);
return self.failExpectedTypeInner(T, false, node);
}
Prints a message of the form
expected Twhere T is first converted to a ZON type. For example,**?**u8becomes?u8, and types that involve user specified type names are just referred to by the type of container.