Skip to content

Fix toString cycle detection equality dispatch#3530

Open
puneetdixit200 wants to merge 1 commit into
ramda:masterfrom
puneetdixit200:fix-to-string-equals-cycle
Open

Fix toString cycle detection equality dispatch#3530
puneetdixit200 wants to merge 1 commit into
ramda:masterfrom
puneetdixit200:fix-to-string-equals-cycle

Conversation

@puneetdixit200

Copy link
Copy Markdown

Summary

Fixes #3150.

Tests

  • BABEL_ENV=cjs npm exec -- mocha test/toString.js --require @babel/register --reporter spec --grep "does not dispatch to equals"
  • BABEL_ENV=cjs npm exec -- mocha test/toString.js --require @babel/register --reporter min
  • npm run spec
  • npm run lint
  • git diff --check

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown
Coverage Summary
> ramda@0.32.0 coverage:summary
> BABEL_ENV=cjs nyc --reporter=text-summary mocha -- --reporter=min --require @babel/register

�[2J�[1;3H
1209 passing (974ms)


=============================== Coverage summary ===============================
Statements   : 94.1% ( 2519/2677 )
Branches     : 85.9% ( 981/1142 )
Functions    : 93.37% ( 563/603 )
Lines        : 94.36% ( 2361/2502 )
================================================================================

@kedashoe kedashoe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ty for the PR, looks good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: toString function is executing function expression assign as a value to an "equals" key of given object.

2 participants