Class AssertPanicSymbol

All Implemented Interfaces:
Serializable, IScope, IScopedSymbol, ISymbol, ISymbolNature, ITokenReference

public class AssertPanicSymbol extends ControlSymbol
EK9 assertPanic expression - asserts that the wrapped expression fires an org.ek9.lang::Panic. When used in an assignment context, the return type is org.ek9.lang::Panic (exposing message()/exitCode()).

Unlike assertThrows there is no type argument - Panic is a single fixed type.

See Also: