Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #11 #12

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

fix #11 #12

wants to merge 1 commit into from

Conversation

findmyway
Copy link
Contributor

No description provided.

Comment on lines +28 to +29
if !Base.show_circular(io, x)
recur_io = IOContext(io.bland_io, :SHOWN_SET => x)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The git diff doesn't reflect the change clearly. Actually I just added these two lines and ...

if !isdefined(x, f) # print undef as comment color
pprint(io, undef)
else
new_io = GarishIO(recur_io, io; limit = true)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

... and this line

@codecov
Copy link

codecov bot commented Dec 3, 2021

Codecov Report

Merging #12 (6ea0091) into master (e892654) will decrease coverage by 20.58%.
The diff coverage is 97.82%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #12       +/-   ##
===========================================
- Coverage   88.88%   68.30%   -20.59%     
===========================================
  Files          10       10               
  Lines         360      366        +6     
===========================================
- Hits          320      250       -70     
- Misses         40      116       +76     
Impacted Files Coverage Δ
src/struct.jl 91.02% <97.72%> (-3.50%) ⬇️
src/io.jl 86.04% <100.00%> (-2.05%) ⬇️
src/pprint.jl 82.92% <100.00%> (-12.20%) ⬇️
src/set.jl 0.00% <0.00%> (-92.31%) ⬇️
src/misc.jl 40.00% <0.00%> (-60.00%) ⬇️
src/arrays.jl 61.05% <0.00%> (-32.64%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e892654...6ea0091. Read the comment docs.

recur_struct_list = T6([])
push!(recur_struct_list.x, T5(recur_struct_list))
pprint(recur_struct_list)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

@findmyway
Copy link
Contributor Author

findmyway commented Feb 19, 2022

Ping @Roger-luo , 😃
Could you help review this PR? I really need this feature in one of my packages. Seems to find another bug, still investigating...

@findmyway findmyway marked this pull request as draft February 19, 2022 08:19
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.

1 participant