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

KarpelesLab / goro / 26081419167 / 1
13%
master: 13%

Build:
DEFAULT BRANCH: master
Ran 19 May 2026 07:05AM UTC
Files 398
Run time 13s
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

19 May 2026 06:54AM UTC coverage: 12.31% (-31.6%) from 43.914%
26081419167.1

push

github

MagicalTux
vm: lower isset/empty array-access natively (\$container[\$key])

Adds OP_ISSET_DIM / OP_EMPTY_DIM. The per-arg dispatch in
emit_expr.go now handles two native shapes:
 - simple variable (\$x) — still OP_ISSET_LOCAL / OP_EMPTY_LOCAL
 - array access (\$x[\$k], also nested \$x[\$k1][\$k2]) — emit the
   container + offset, then the dim opcode

OP_ISSET_DIM calls compiler.EvalIssetDim — extracted from the AST's
checkExistence runArrayAccess branch, covering null-key deprecation,
array/object-key TypeErrors, string-offset coercion, ArrayAccess
FindIssetDimHandler dispatch, and the regular array exists+not-null
check.

OP_EMPTY_DIM calls compiler.EvalEmptyDim with the same shape for the
empty() variant.

Bodies whose only isset/empty usage is supported shapes (simple var
or array-access nesting on simple vars) stay slot-safe.

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

14439 of 117292 relevant lines covered (12.31%)

2557.97 hits per line

Source Files on job 26081419167.1
  • Tree
  • List 398
  • Changed 336
  • Source Changed 6
  • Coverage Changed 336
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26081419167
  • 9f63303d on github
  • Prev Job for on master (#26067127795.1)
  • Next Job for on master (#26082033737.1)
  • 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