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

Added record, moved enum, added var for Groovy #1984

Merged
merged 2 commits into from Aug 25, 2023

Conversation

glaforge
Copy link
Contributor

@glaforge glaforge commented Aug 3, 2023

Groovy supports records, a new kind of class.
Moved enum to be a kind of type as well (like classes, interfaces, etc.)
Added var as an alternative to the def keyword.

The 'record' keyword defines a new kind of record class.
'enum' was moved as the same level as the other types, as enums are also kind of classes.
Added 'var' as an alternative to 'def' for defining variables and such.
Update groovy for record, enum, var
@tancnle
Copy link
Collaborator

tancnle commented Aug 25, 2023

Thank you for your contribution @glaforge 🙇🏼 LGTM 🚀

@tancnle tancnle added this pull request to the merge queue Aug 25, 2023
Merged via the queue into rouge-ruby:master with commit 4e47529 Aug 25, 2023
7 checks passed
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.

None yet

2 participants