Skip to content

Move isInternal() guard from ReflectionSymbolInfoFactory to BuiltinBackend #452

Description

@Firehed

ReflectionSymbolInfoFactory::classInfo() and functionInfo() both check isInternal() and return null for non-internal symbols. This is a policy decision about what the built-in backend serves, not a factory concern — the factory's job is turning a reflection object into a SymbolInfo.

Moving the guard into BuiltinBackend::lookup() separates "should I build this?" from "how do I build this?"

This issue body was written by AI and reviewed by a human.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions