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

KarpelesLab / goro / 26001428533
13%

Build:
DEFAULT BRANCH: master
Ran 17 May 2026 08:11PM 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

17 May 2026 08:09PM UTC coverage: 12.17% (+0.02%) from 12.152%
26001428533

push

github

MagicalTux
vm: lower ::class operator natively

Foo::class, \$obj::class, self::class, parent::class, static::class
all go through the same AST helper runClassNameOf.Run. Extracted that
into EvalClassNameOf(ctx, v, isLiteral, l) — both the AST runner and
the new OP_CLASS_NAMEOF call it. The class-source expression is
compiled by the VM emitter normally; OP_CLASS_NAMEOF pops the value,
applies the self/parent/static / object-class-name resolution, and
pushes the result string.

runClassNameOf drops from IsClassConstNode (so it no longer routes
through the generic OpClassConst AST-delegation), from IsSlotSafe's
class-const slot-unsafe case, and gets the new isLiteral accessor for
the error-message disambiguation.

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

32 of 55 new or added lines in 5 files covered. (58.18%)

3 existing lines in 1 file now uncovered.

14126 of 116075 relevant lines covered (12.17%)

2483.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
10.56
-0.29% core/compiler/compile-classref.go
6
80.74
-1.44% core/compiler/vmaccess.go
4
83.42
-0.18% core/vm/vmcompiler/emit_expr.go
2
66.51
0.08% core/vm/vm.go

Coverage Regressions

Lines Coverage ∆ File
3
10.56
-0.29% core/compiler/compile-classref.go
Jobs
ID Job ID Ran Files Coverage
1 26001428533.1 17 May 2026 08:11PM UTC 398
12.17
GitHub Action Run
Source Files on build 26001428533
  • Tree
  • List 398
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26001428533
  • 7a1247aa on github
  • Prev Build on master (#26001336227)
  • Next Build on master (#26001475088)
  • 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