Skip to content

removing semi-colons, except where needed for disambiguation - #505

Merged
tomblind merged 5 commits into
masterfrom
remove-semicolons
Apr 5, 2019
Merged

removing semi-colons, except where needed for disambiguation#505
tomblind merged 5 commits into
masterfrom
remove-semicolons

Conversation

@tomblind

@tomblind tomblind commented Apr 4, 2019

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread src/LuaPrinter.ts Outdated
|| this.options.luaLibImport === LuaLibImportKind.Always)
{
header += `require("lualib_bundle");\n`;
header += `require("lualib_bundle")\n`;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What if the first line after this starts with a parenthesis?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Nice catch!

@tomblind
tomblind requested a review from Perryvw April 4, 2019 21:52

@Perryvw Perryvw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, would be good to try this branch on a reasonably sized codebase, maybe @TheLartians could test this.

@TheLartians

Copy link
Copy Markdown
Contributor

Looks good and runs fine!

@tomblind
tomblind merged commit 683e43a into master Apr 5, 2019
@tomblind
tomblind deleted the remove-semicolons branch April 5, 2019 12:38
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.

3 participants