-
Notifications
You must be signed in to change notification settings - Fork 159
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
Support switch label clauses. Fixes #693 #694
Support switch label clauses. Fixes #693 #694
Conversation
Codecov Report
@@ Coverage Diff @@
## master #694 +/- ##
==========================================
- Coverage 80.87% 80.79% -0.09%
==========================================
Files 166 166
Lines 9351 9478 +127
==========================================
+ Hits 7563 7658 +95
- Misses 1369 1388 +19
- Partials 419 432 +13
Continue to review full report at Codecov.
|
02db90c
to
3e1c71c
Compare
4031cc1
to
5b59f0a
Compare
5b59f0a
to
2cff2ba
Compare
You have accidentally committed the |
ed0f766
to
c43a241
Compare
The Vendoring is useful to have reproducible builds, which in this case are less of a concern. So if you'd like @elliotchance, I'll remove the vendor folder? |
Third party code should never be committed to the repository. You can use Up until now there has been no dependencies (?) on the prod code so it hasn't been an issue. |
939dc05
to
0f6a60b
Compare
All statements of Label children are merged into a block statement. Similar handling for block & fallthrough as for case clauses.
Vendor folder is removed. |
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed. transpiler/switch.go, line 13 at r5 (raw file):
Is this bundled with go or do you need it add to Comments from Reviewable |
transpiler/switch.go, line 13 at r5 (raw file): Previously, elliotchance (Elliot Chance) wrote…
Installing/updating By needing to add it to Since PS: see https://github.com/golang/dep/blob/master/docs/FAQ.md#should-i-commit-my-vendor-directory on the pros/cons of committing the vendor folder. Comments from Reviewable |
Review status: all files reviewed, 1 unresolved discussion (waiting on @elliotchance) transpiler/switch.go, line 13 at r5 (raw file): Previously, kamphaus wrote…
That's fair enough. c2go is still alpha enough that we can get away without locking versions. As for committing the vendor folder, everything is a trade off. Unless your building extremely defensive software committing the vendor folder just bloats your codebase and opens the potential for people to tweak the vendor code. I have only used Comments from Reviewable |
Fixes #693
This change is