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

Fix empty statement in the transformer #10

Merged
merged 1 commit into from Jun 2, 2023
Merged

Conversation

imteekay
Copy link
Owner

@imteekay imteekay commented Jun 1, 2023

Looking at how the compiler emits the statements, we should not exclude it from the final js output

This code

var singleQuote = 'singleQuote';;var doubleQuote = "doubleQuote";

Generates this output:

"use strict";
var singleQuote = 'singleQuote';
;
var doubleQuote = "doubleQuote";

@imteekay imteekay mentioned this pull request Jun 1, 2023
@imteekay imteekay merged commit 81ecd4c into main Jun 2, 2023
1 check passed
@imteekay imteekay deleted the fix-empty-transformer branch June 2, 2023 18:10
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