Exception: ASTTransform::ThunkLowering::PlacementError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ast_transform/thunk_lowering.rb

Overview

Raised when a thunk cannot be placed: its body's source lines fall after the execution point (the hidden proc's text IS its assignment, so a call can never textually precede the body), or two occurrences of the same thunk carry diverging bodies.