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

KarpelesLab / goro / 26064566188
13%

Build:
DEFAULT BRANCH: master
Ran 18 May 2026 10:39PM 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

18 May 2026 10:38PM UTC coverage: 12.327% (+0.02%) from 12.304%
26064566188

push

github

MagicalTux
vm: lower #[NoDiscard]-wrapped statements natively

Brackets the inner statement with OP_NODISCARD_ENTER (calls
compiler.NoDiscardEnter; stores the previous in-context flag as a
bool in a synthetic local) and OP_NODISCARD_EXIT (reads the prev
back, calls compiler.NoDiscardExit which checks LastCallable for
the attribute and emits the warning).

The inner statement is now native-emitted instead of running via
AST delegation, so bodies that only use NoDiscard wraps stay
slot-safe.

Error-path note: if the inner statement throws, OP_NODISCARD_EXIT
is skipped and inNoDiscardContext stays true. This is a rare edge
case (throw inside a NoDiscard call, caught somewhere up the stack)
and only affects EmitNoDiscardForMagicCall's preemptive check —
the AST runner does correctly restore. Acceptable for now; can be
fixed by adding a per-frame defer-action stack in a future change.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

23 of 27 new or added lines in 3 files covered. (85.19%)

165 existing lines in 6 files now uncovered.

14399 of 116806 relevant lines covered (12.33%)

2584.49 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
61.97
0.22% core/vm/vm.go
2
75.58
0.19% core/vm/vmcompiler/emit_stmt.go

Coverage Regressions

Lines Coverage ∆ File
65
0.0
0.0% core/compiler/run-enum.go
36
75.58
0.19% core/vm/vmcompiler/emit_stmt.go
31
61.97
0.22% core/vm/vm.go
21
77.42
-0.17% core/compiler/vmaccess.go
11
4.52
-3.55% core/compiler/compile-attributed.go
1
83.33
0.0% core/vm/opcode.go
Jobs
ID Job ID Ran Files Coverage
1 26064566188.1 18 May 2026 10:39PM UTC 398
12.33
GitHub Action Run
Source Files on build 26064566188
  • Tree
  • List 398
  • Changed 10
  • Source Changed 6
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26064566188
  • 5d34f230 on github
  • Prev Build on master (#26062109376)
  • Next Build on master (#26064637615)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc