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 exception formatting for generic methods #639

Merged

Conversation

0xced
Copy link
Contributor

@0xced 0xced commented Nov 24, 2021

The generic parameters were double escaped and would display as [[T0,T1,TRet]] instead of [T0,T1,TRet]. This is because the builder.AppendWithStyle method already escapes its value so the caller must not escape the passed value.

The generic parameters were double escaped and would display as `[[T0,T1,TRet]]` instead of `[T0,T1,TRet]`. This is because the `builder.AppendWithStyle` method already escapes its value so the caller must not escape the passed value.
@nils-a
Copy link
Contributor

nils-a commented Nov 25, 2021

@0xced looks reasonable. I have not done any testing of this currently, but I think I will get to it tomorrow. Would you mind opening an issue, so we can track this "correctly"?

@0xced
Copy link
Contributor Author

0xced commented Nov 25, 2021

Would you mind opening an issue, so we can track this "correctly"?

Done in #641

@nils-a nils-a linked an issue Nov 26, 2021 that may be closed by this pull request
Copy link
Contributor

@nils-a nils-a left a comment

Choose a reason for hiding this comment

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

LGTM!

@nils-a nils-a merged commit 168f352 into spectreconsole:main Nov 26, 2021
@nils-a
Copy link
Contributor

nils-a commented Nov 26, 2021

@0xced your changes have been merged, thanks for your contribution 👍

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.

Wrong exception formatting for generic methods in stack traces
3 participants