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

C#: Generate meaningful ToString methods for types #976

Open
dicej opened this issue Jun 18, 2024 · 0 comments
Open

C#: Generate meaningful ToString methods for types #976

dicej opened this issue Jun 18, 2024 · 0 comments
Labels
gen-c# Related to the C# code generator

Comments

@dicej
Copy link
Collaborator

dicej commented Jun 18, 2024

Per #968 (comment), we should generate meaningful ToString method overrides, at least for types which are used as errors. This would allow us to generate a useful diagnostic message when constructing WitExceptions, which application code can catch and print.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gen-c# Related to the C# code generator
Projects
Status: No status
Development

No branches or pull requests

2 participants