Skip to content

assert.deepEqual loops forever with circular refs #6416

Description

@kuraga

Version: v4.4.3

Platform: Linux 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Code:

varassert=require('assert');varb={};b.b=b;varc={};c.b=c;assert.deepEqual(b,c);

Expected: no exceptions.

Actual: RangeError: Maximum call stack size exceeded

See also:

Metadata

Metadata

Assignees

No one assigned

    Labels

    assertIssues and PRs related to the assert subsystem.confirmed-bugIssues with confirmed bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions