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

KarpelesLab / goro / 24634752965

19 Apr 2026 05:20PM UTC coverage: 1.955%. Remained the same
24634752965

push

github

MagicalTux
phpobj: prepend [constant expression] frame on class-const-eval errors

The infrastructure for a synthetic "[constant expression]" stack frame
was already in place (AddConstantExpressionFrameAt in zclass.go, plus a
callerLoc captured in ZObject.init), but ResolveConstants's error path
was bailing out without decorating the trace. The companion
GetStaticProps call-site already did this correctly — port the same
pattern up one block.

Closes the gh7771_1 / gh7771_2 test pair. gh7771_3 is a different bug
(needs "Constant expression contains invalid operations" emitted on
eval'd-code const with runtime ops).

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

0 of 6 new or added lines in 1 file covered. (0.0%)

2188 of 111921 relevant lines covered (1.95%)

70.38 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/core/phpobj/zobject.go


Source Not Available

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