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

feat(java): improve variable support #1100

Merged
merged 4 commits into from
Jun 28, 2023
Merged

feat(java): improve variable support #1100

merged 4 commits into from
Jun 28, 2023

Conversation

didroe
Copy link
Contributor

@didroe didroe commented Jun 28, 2023

Description

Improves support for variables in Java:

  • Lookup variables in array initializers and for loop initializers
  • Create a new scope for for loops and blocks

Also makes assignment update the scope that originally defined a variable, in all languages.

Checklist

  • I've added test coverage that shows my fix or feature works as expected.
  • I've updated or added documentation if required.
  • I've included usage information in the description if CLI behavior was updated or added.
  • PR title follows Conventional Commits format

@didroe didroe requested a review from cfabianski June 28, 2023 12:26
@didroe didroe merged commit c8c9457 into main Jun 28, 2023
5 checks passed
@didroe didroe deleted the feat/java-improvements branch June 28, 2023 13:29
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