Coverage remained the same at 100.0% when pulling cbb54e4cf32ffd45d0a2a2025f0d6783bf47783f on jonwhelan:bugfix-either-constructor into ed99fbf35ff8c693068e3a5bccca13c0e111409b on evilsoft:master.
Coverage remained the same at 100.0% when pulling cbb54e4cf32ffd45d0a2a2025f0d6783bf47783f on jonwhelan:bugfix-either-constructor into ed99fbf35ff8c693068e3a5bccca13c0e111409b on evilsoft:master.
Introduced in release 0.9.4 with commit https://github.com/evilsoft/crocks/commit/6bc5377cf4a47a927ff3fa407073d17aa3b0cdbe#diff-d70a7c87b679a4d796e121bd30e12fd1 the
inspect
function recursively stringifies objects which will blow the callstack when given an object containing a circular reference.This bug is triggered when constructing an Either due to its
inspect
method being eagerly evaluated during construction.