checkThrow

Checks whether throw <exp> throws an Exception or an Error and raises an error if this violates nothrow.

checkThrow

Parameters

loc Loc

location of the throw

exp Expression

expression yielding the throwable

mustNotThrow bool

inside of a nothrow scope?

func FuncDeclaration

function containing the throw

Return Value

Type: BE

BE.[err]throw depending on the type of exp

Meta