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

Prevent unused variable warnings on ternary and null coalescence expressions #1101

Merged

Conversation

agohof
Copy link
Contributor

@agohof agohof commented Mar 11, 2024

Prevents unused variable warnings when transpiling ternary and null coalescence expressions if they include enums and constants.

Addresses: #1091

Copy link
Member

@TwitchBronBron TwitchBronBron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, and it's nice and simple. Thanks!

src/parser/Expression.ts Outdated Show resolved Hide resolved
@TwitchBronBron TwitchBronBron merged commit 1c2133d into rokucommunity:master Mar 13, 2024
6 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.

2 participants