Skip to content

Switch case goto chain is now transpiled to an elseif chain#791

Merged
Perryvw merged 2 commits into
TypeScriptToLua:masterfrom
DoctorGester:switch-elseif
Jan 9, 2020
Merged

Switch case goto chain is now transpiled to an elseif chain#791
Perryvw merged 2 commits into
TypeScriptToLua:masterfrom
DoctorGester:switch-elseif

Conversation

@DoctorGester

Copy link
Copy Markdown
Contributor

elseif instead of multiple if
Fixed 82 tests being skipped in conditionals.spec.ts

Comment thread src/transformation/visitors/switch.ts Outdated
@Perryvw Perryvw merged commit 17bb60f into TypeScriptToLua:master Jan 9, 2020
@DoctorGester DoctorGester deleted the switch-elseif branch January 10, 2020 12:54
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