Skip to content

tools/libclass_smoke.sh fails: Undefined constant Acme\Point::NAME in the app linked against a library #632

Closed

Description

@blacktrs

Problem

bash tools/libclass_smoke.sh fails on main (a04798cc): the app that links the library from tests/libs/classes exits rc=255 with

PHP Fatal error:  Uncaught Error: Undefined constant Acme\Point::NAME

and its output differs from php (2 failures). A class constant declared in a library is not reachable from the application that imports the class through the library's .sig.

Notes

  • Not part of tools/docker/gate.sh, so CI does not run it — it may have been red for a while.
  • Found while working on shared generics; the failure is identical on the base binary.

Expected

tools/libclass_smoke.sh prints === RESULT: libclass OK.

Activity

  1. added
    bug
    on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions