Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sempass2: lift capture restriction #1427

Merged

Commits on Aug 21, 2024

  1. sempass2: lift unprincipled capture restriction

    Given the nested procedures `a: b: c:`, where `c` closes over a local
    of `a`, `c` effectively captures from `b` and `b` captures from `a`. A
    procedure usable in both a compile- and run-time context may capture
    from a compile-time-only procedure, so the aforementioned should work
    when `a` is a compile-time-only procedure and the others are not, but
    it was forbidden in practice.
    
    The restriction is now lifted, and the code implementing the test
    restructured to be more intelligible.
    zerbina committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    8d9c526 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d4e0bca View commit details
    Browse the repository at this point in the history