Skip to content

ABI: implement exact no-side-effects value stringification #235

Description

@chrisbbreuer

Parent: #134
Related: #140, #163, #164

Goal

Implement the shared pinned Bun__noSideEffectsToString boundary used by fatal and unhandled-error reporting.

Acceptance

  • Return exact strings for undefined, null, booleans, int32/double values, BigInts, and described/undescribed Symbols.
  • Return string inputs unchanged and collapse every other object/function/error/proxy to [object Object].
  • Never invoke conversion hooks, getters, proxy traps, or mutable globals.
  • Validate VM/global ownership and preserve existing pending-exception state.
  • Add focused primitive/large-BigInt/Symbol/proxy/identity/foreign coverage and a compile-link-runtime fixture call.
  • Refresh Home/Bun inventories with zero unclassified symbols.
  • Update README and compatibility docs, publish small implementation/docs commits on origin/main, and close only after evidence is live.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions