Skip to content

lens: a PHP .inc file resolves to c (no php .inc discriminator) #4973

Closed

Description

@squid-protocol

Class (from #4546 / PR #4970 sweep): an extension claimed by several languages in COLLISION_FREQUENCIES resolves to the wrong language when the losing claimant has no internal_discriminator (no positive-evidence regex).

Repro (worker probe, real registry): a.inc containing <?php function helper($a){...} resolves to c ("Collision Resolved"), alone and beside .c/.cpp files.

Acceptance: php claims .inc on PHP evidence (<?php), tests over the whole member set (alone + each rival neighbourhood), golden reviewed.

Siblings: #4546

Activity

  1. added
    bug
    core-engine
    on Oct 12, 2026
  2. added a commit that references this issue on Oct 13, 2026
    600318d
  3. added
    scope:frontier
    on Oct 16, 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

    bugcore-enginedata-qualitypriority: mediumscope:frontier

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions