Skip to content

capture the calling scope once as callenv in [ - #7934

Open
ben-schwen wants to merge 1 commit into
brk/a2_missing_flagsfrom
brk/a3_callenv
Open

ben-schwen wants to merge 1 commit into
brk/a2_missing_flagsfrom
brk/a3_callenv

Conversation

@ben-schwen

Copy link
Copy Markdown
Member

Towards #852

Caches calling scope via parent.frame()

Capture parent.frame() once at the top as callenv and use that for every evaluation in the caller's scope (i, j, by, .SDcols, on, :=, ..var, the .N swap, SDenv's parent, ...).

No behaviour change.
@ben-schwen
ben-schwen added this pull request to stack #7933 October 21, 2026 12:09
@codecov

codecov Bot commented Oct 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.09%. Comparing base (a8fcf6a) to head (bc5c7da).

Additional details and impacted files
@@                  Coverage Diff                  @@
##           brk/a2_missing_flags    #7934   +/-   ##
=====================================================
  Coverage                 99.09%   99.09%           
=====================================================
  Files                        88       88           
  Lines                     17430    17431    +1     
=====================================================
+ Hits                      17272    17273    +1     
  Misses                      158      158           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant