-
Notifications
You must be signed in to change notification settings - Fork 137
Improved node compilation in CompileNodeToValue (compile solution) #95
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
Conversation
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.
May want to at least try casting the constant expression to string in here, or else there may be rage
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.
UnableToCompileNode::fromConstFetch($constNode) maybe?
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.
Previously it was just returning a string with the const name, (e.g. FOO would compile to "FOO"), but surely this could cause undesired behaviour?
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.
This could indeed cause undesired behavior :-(
37ec979 to
1cd4e96
Compare
1cd4e96 to
47de68e
Compare
|
#98 created to improve |
Improved node compilation in CompileNodeToValue (compile solution)
This PR aims to solve both #64 and #19.
An alternate PR exists in #67
Depends on PR #96 being merged