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

Improve typer traces #14270

Merged
merged 1 commit into from
Jan 21, 2022
Merged

Improve typer traces #14270

merged 1 commit into from
Jan 21, 2022

Commits on Jan 15, 2022

  1. Improve typer traces

    1. Drop traceIndented from isSubType, which calls recur so it was just
       doubling the lines
    
    2. Replace newlines with spaces, in doTrace and traceIndented, as
       they're meant to be single lines.  For example ErrorType and
       MatchType have toText that are multi-line and mess up the output.
    
    3. Change ExplainingTypeComparer#addConstraint to use show like the
       other methods.
    dwijnand committed Jan 15, 2022
    Configuration menu
    Copy the full SHA
    97b96b6 View commit details
    Browse the repository at this point in the history