lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Tue, Jun 11, 2019 at 11:15 AM Daurnimator <quae@daurnimator.com> wrote:
  - I'm unsatisfied with the response to Andrew Gierth's comment about
ensuring that
    errors are propagated to the embedder: I think it's crucial to
lua's use as an
    embeddable language
    I *think* the solution should be that an error in a <toclose>
should be immediately rethrown
    and that other <toclose> statements don't get to run.

I STRONGLY disagree. The contract is that <toclose> runs no matter how the function exits, as long as it does in fact exit.

/s/ Adam