Skip to content

Nullish coalescing with preceding statements#1172

Merged
Perryvw merged 2 commits intoTypeScriptToLua:masterfrom
GlassBricks:nullish-coalescing-preceding-statements
Nov 21, 2021
Merged

Nullish coalescing with preceding statements#1172
Perryvw merged 2 commits intoTypeScriptToLua:masterfrom
GlassBricks:nullish-coalescing-preceding-statements

Conversation

@GlassBricks
Copy link
Copy Markdown
Contributor

@GlassBricks GlassBricks commented Nov 20, 2021

Uses preceding statements instead of an IIFE (in the case where the right hand side does not have preceding statements).
Also fixes #1165.

After this, TSTL is officially IIFE free!

@Perryvw Perryvw merged commit 88d472a into TypeScriptToLua:master Nov 21, 2021
@GlassBricks GlassBricks deleted the nullish-coalescing-preceding-statements branch March 16, 2022 16:26
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.

varargs in nullish coalescing expression breaks

3 participants