The Defer instruction pushes the specified call onto a stack of functions to be called by a RunDefers instruction or by a panic.

See CallCommon for generic function call documentation.

Pos() returns the ast.DeferStmt.Defer.

Example printed form:

defer println(t0, t1)
defer t3()
defer invoke t5.Println(...t6)

Defer is referenced in 16 repositories