• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

KarpelesLab / goro / 25773911250
13%

Build:
DEFAULT BRANCH: master
Ran 13 May 2026 02:11AM UTC
Jobs 1
Files 398
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 May 2026 02:10AM UTC coverage: 12.153% (-0.008%) from 12.161%
25773911250

push

github

MagicalTux
vm: OP_SYNC_SLOTS + AST delegation for unknown-callable by-ref calls

The previous attempt to handle by-ref function/method calls to
unknown callables (compile-time signature unknowable) AST-delegated
the call AND marked the surrounding body slot-unsafe. Marking the
body slot-unsafe broke 52 unrelated tests that depended on slot-
only semantics.

Add a new OP_SYNC_SLOTS opcode that flushes all non-nil slots to
the FuncContext hashtable. Pair it with OP_REFRESH_SLOTS around an
AST-delegated call: the AST reads fresh values, then any writes
flow back into slots after. The surrounding body stays slot-only;
only the specific call site pays the sync cost.

emit_call.go now uses emitCallViaASTSync for the unknown-callable
case (both direct \`foo(\$x)\` and indirect \`\$f(\$x)\` forms).
This closes the by-ref user-function regressions (bug71622,
bug72038, etc.) without the previous wholesale slot-unsafety cost.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

7 of 33 new or added lines in 3 files covered. (21.21%)

7 existing lines in 1 file now uncovered.

14054 of 115638 relevant lines covered (12.15%)

2039.21 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
63.11
-9.31% core/vm/vmcompiler/emit_call.go
8
67.35
-13.14% core/vm/frame.go
4
64.55
-0.35% core/vm/vm.go

Coverage Regressions

Lines Coverage ∆ File
7
52.56
-1.56% core/compiler/dispatch.go
Jobs
ID Job ID Ran Files Coverage
1 25773911250.1 13 May 2026 02:11AM UTC 398
12.15
GitHub Action Run
Source Files on build 25773911250
  • Tree
  • List 398
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25773911250
  • 8da393d9 on github
  • Prev Build on master (#25773758900)
  • Next Build on master (#25773969741)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc