This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Very strange behavior when copying util.inspect
to a new Object
#2225
Labels
Comments
I can confirm the same behavior in |
The issue is that the sys.inspect function checks for It checks now for whether or not the object === exports. Maybe instead, it should check for if object.inspect === exports.inspect. |
Related to #410 |
I've added a fix for this in #2226. Credit goes to @indexzero for the test case and @isaacs for the fix. |
Ha! I knew it! :) |
alexkwolfe
pushed a commit
to alexkwolfe/node
that referenced
this issue
Dec 23, 2011
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I can't even begin to understand what's going on here:
The text was updated successfully, but these errors were encountered: