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

KarpelesLab / goro
12%

Build:
DEFAULT BRANCH: master
Repo Added 14 Mar 2026 02:46AM UTC
Token ejLwcrnknMVLsW2iasnts5p9hKDwCVCMv regen
Build 189 Last
Files 398
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • master

24 May 2026 04:05AM UTC coverage: 12.477% (+0.004%) from 12.473%
26351462893

push

github

MagicalTux
vm: wrap trait-aliased/from-trait methods in MethodCallable for ByExprs dispatch

CallInstanceMethodByExprs was passing method.Method directly to ctx.Call
when no Attributes were present, which lost the trait-alias name in
stack traces and used the trait body's declaring class instead of the
class that did 'use T'. The AST runner (compile-object.go ~1245) wraps
in MethodCallable when:
  - method.FromTrait != nil  (the method came from a trait body)
  - method.Method.Name() != called-name  (the method is a trait alias,
    e.g. 'T::__get as __t_get' — Name() returns '__get', called as
    '__t_get')

Mirror the same logic. bug69180-backtrace.phpt was regressing because
the call to $this->__t_get($name) from Model::__get was reporting
'T::__get' in debug_backtrace() instead of 'Model::__t_get'.

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

8 of 17 new or added lines in 1 file covered. (47.06%)

1 existing line in 1 file now uncovered.

14748 of 118202 relevant lines covered (12.48%)

2578.84 hits per line

Relevant lines Covered
Build:
Build:
118202 RELEVANT LINES 14748 COVERED LINES
2578.84 HITS PER LINE
Source Files on master
  • Tree
  • List 398
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26351462893 master vm: wrap trait-aliased/from-trait methods in MethodCallable for ByExprs dispatch CallInstanceMethodByExprs was passing method.Method directly to ctx.Call when no Attributes were present, which lost the trait-alias name in stack traces and used th... push 24 May 2026 04:06AM UTC MagicalTux github
12.48
26351382778 master vm: unwrap receiver + caller-scope private resolution in CallInstanceMethodByExprs CallInstanceMethodByExprs (the B9-Stage1 helper that handles object method calls with by-ref/named/spread args) was missing two pieces of the AST runner's dispatch... push 24 May 2026 04:02AM UTC MagicalTux github
12.47
26351198757 master vm: lower by-ref/named/spread calls to dedicated ByExprs opcodes Previously, function/method calls whose argument shape required the full ctx.Call binding pipeline (by-ref params, named args, spread) were lowered to OP_CLASS_CONST / OP_TRY_FINALL... push 24 May 2026 03:52AM UTC MagicalTux github
12.46
26350972671 master vm: native foreach over non-by-ref non-local targets Previously `foreach ($arr as [$a,$b])` / `as $obj->prop` / `as Foo::$bar` / `as $k => [$a,$b]` etc. were AST-delegated via OP_TRY_FINALLY, forcing the enclosing function out of slot-only mode a... push 24 May 2026 03:39AM UTC MagicalTux github
12.43
26350835409 master vm: per-handler pending + chain-on-escape for try-finally (bug65784) The previous global "pending" register clobbered an outer finally's pending throw when an inner try-catch nested inside that finally caught an unrelated throw. Each TryHandler n... push 24 May 2026 03:31AM UTC MagicalTux github
12.4
26350583292 master vm: lower try-with-finally natively (OP_FINALLY_END + pending control) try { ... } finally { ... } previously forced a whole-function fallback to the AST tree-walker: emitStmt short-circuited the TryNode to OP_TRY_FINALLY (generic AST delegation)... push 24 May 2026 03:17AM UTC MagicalTux github
12.39
26145542672 master vm: lower Foo::method() static calls to OP_STATIC_METHOD_CALL + helper Adds EvalStaticMethodCall helper that dispatches via the AST's runObjectFunc.Run for the static branch (LSB binding, class resolution for self/parent/static, "Non-static metho... push 20 May 2026 06:30AM UTC MagicalTux github
12.42
26138479493 master 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 ("t... push 20 May 2026 03:08AM UTC MagicalTux github
12.39
26138649539 master vm: re-enable NoDiscard native emit + wrap native methods with attrs Two changes together: 1. dispatch.go's CallInstanceMethod now wraps native instance methods that carry attributes (e.g. NoDiscard on DateTimeImmutable:: setTimestamp) in ... push 20 May 2026 03:04AM UTC MagicalTux github
12.41
26138154870 master vm: lower extended clone() forms to OP_CLONE_EXT + helper PHP 8.5+ \`clone(\$x, \$with)\`, \`clone(...\$arr)\`, and named-arg clones previously went through the generic OpClassConst delegation via IsValueExprAstDelegated. Adds EvalCloneExt helper... push 20 May 2026 02:58AM UTC MagicalTux github
12.39
See All Builds (189)

Badge your Repo: goro

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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