-
Notifications
You must be signed in to change notification settings - Fork 17
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
ToString Tests #731
ToString Tests #731
Conversation
I am not deprecating the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some questions before I do a deeper review. Can you take a look, please?
@bgogul ready for re-review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, Andrew. I have some clean up suggestions. Looks good otherwise.
d292ac8
to
bbf1048
Compare
This adds tests to
ast_string.h
which we apparently already had and already used for other tests in the repository. However, this code didn't have any tests itself. So rather than have two ways of making a string from the AST, I updatedast_string.h
so that it is good enough for the uses of the ToString methods in the AST and added some tests forast_string.h
. In a follow-up PR, I will deprecate the ToString methods in the AST class and use justast_string.h
for the remaining tests thereby satisfying #720.