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

KarpelesLab / goro / 26138479493
12%

Build:
DEFAULT BRANCH: master
Ran 20 May 2026 03:08AM 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

20 May 2026 02:58AM UTC coverage: 12.392% (+0.004%) from 12.388%
26138479493

push

github

MagicalTux
vm: fix property-assign error message + undefined-var warning

Two regressions from B1 (\$obj->prop = v native emit):

1. objectSet was using receiver.GetType().TypeName() ("bool"/"null")
   for the error message; PHP uses value-specific names ("true"/
   "false"/"null"). Exported compiler.PhpValueTypeName (alias for
   the existing private phpValueTypeName) and switched ops_object.go
   to use it. Fixes bug44660.

2. emitObjectVarAssign loaded the receiver via emitExpr, which for
   a simple variable picked OP_LOAD_LOCAL_OR_WARN. PHP's write
   context for property assignment suppresses the "Undefined
   variable" warning (the AST's runVariable.Run sees
   Parent=runOperator(write)). For simple-variable receivers,
   emit OP_LOAD_LOCAL directly. Fixes bug75921.

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

6 of 14 new or added lines in 3 files covered. (42.86%)

14581 of 117666 relevant lines covered (12.39%)

2569.93 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
20.27
0.0% core/vm/ops_object.go
3
60.0
1.04% core/vm/vmcompiler/emit_object.go
1
23.56
-0.01% core/compiler/compile-object.go
Jobs
ID Job ID Ran Files Coverage
1 26138479493.1 20 May 2026 03:08AM UTC 398
12.39
GitHub Action Run
Source Files on build 26138479493
  • Tree
  • List 398
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26138479493
  • 34a68d29 on github
  • Prev Build on master (#26138154870)
  • Next Build on master (#26145542672)
  • 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