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

add check for to_string in is_struct_with_default_print #1640

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

ellipse12
Copy link
Contributor

The function wasn't checking if the struct had the method to_string which caused a segfault when trying to override the default to_string on a struct

The function wasn't checking if the struct had the method `to_string` which made it segfault when trying to override the default to_string on a struct
@lerno lerno merged commit a58d782 into c3lang:master Nov 23, 2024
43 checks passed
@lerno
Copy link
Collaborator

lerno commented Nov 23, 2024

Thank you!

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.

2 participants