Skip to content

Cryptol bindings escape functions #2304

@sauclovian-g

Description

@sauclovian-g

Observe:

sawscript> let f () = do { let {{ y = 3 : [8] }}; return (); };
sawscript> f ()
sawscript> return (eval_int {{ y }});
[01:55:32.455] 3
sawscript> 

This definitely violates the principle of least surprise.

(Note that it's not the same as #2243, but obviously related.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs testIssues for which we should add a regression testsubsystem: saw-scriptIssues related to the SAWScript language and/or its interpretation and executiontech debtIssues that document or involve technical debttype: bugIssues reporting bugs or unexpected/unwanted behavior

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions