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

Revert GroovyObject casting #2082

Merged
merged 3 commits into from
Mar 10, 2022
Merged

Conversation

nbauernfeind
Copy link
Member

Originally made the to-revert change to provide a better error message when the class was anonymous. In groovy, the anonymous object's class ends up with a purely numeric name. This cannot be referenced in the formula generator. I originally intended to downcast these objects to GroovyObject.

Unfortunately, script-defined classes (with a name) are also GroovyObjects.

Best solution I see is simply to revert the offending change.

@nbauernfeind nbauernfeind merged commit 5596389 into deephaven:main Mar 10, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Mar 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants