-
Notifications
You must be signed in to change notification settings - Fork 59
Description
Describe the bug
sanity-io litter.Dump(ctx) fails to dump a moderately complex struct cuecontext.New() where spew.Dump(ctx) dumps over 100 lines.
Both dumpers print a reasonable representation of a simple demo struct
To Reproduce
Run the main.go shown in the next comment and observe results (also reproduced below)
Expected behavior
A detailed dump of ctx by litter, equivalent to that from spew
Observed behavior
From litter.Dump(ctx) I get just a single line:
&cue.Context{}
Which versions of Sanity are you using?
v1.5.5
@atombender atombender tagged this Apr 28, 2022
What operating system are you using?
try-litter % sw_vers
ProductName: macOS
ProductVersion: 13.6.1
BuildVersion: 22G313
Which versions of Node.js / npm are you running?
try-litter % npm -v && node -v
9.8.0
v20.5.1
Additional context
Security issue?
No