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 printing of types in reporter output #293

Merged
merged 1 commit into from Apr 25, 2022
Merged

Commits on Apr 23, 2022

  1. Fix printing of types in reporter output

    When printing a pointer, only elide the type for unnamed pointers.
    Otherwise, we can run into situations where named and unnamed pointers
    format the same way in indistinguishable ways.
    
    When printing an interview, never skip the interface type.
    Whether we skip printing the type should be determined by the
    parent containers, and not locally determined.
    For examples, interface values within a struct, slice, or map
    will always be elided since they can be inferred.
    dsnet committed Apr 23, 2022
    Copy the full SHA
    30f4f96 View commit details
    Browse the repository at this point in the history