Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
<for> switch to tag params #1238
This pr updates the
It also normalizes the for loop, and removes some unneeded functionality. Previously the
Here are some of the previous ways you could write a for loop:
Migrators have been added in this PR for all of the above variants where possible. Where a migration was not possible there now may be some additional runtime warnings, but all existing syntax should continue to work until a future version of Marko. You can automatically migrate the old syntax using marko migrate.
@@ Coverage Diff @@ ## tag-param-core-tags #1238 +/- ## ======================================================= + Coverage 90.56% 90.59% +0.03% ======================================================= Files 337 334 -3 Lines 12356 12339 -17 ======================================================= - Hits 11190 11179 -11 + Misses 1166 1160 -6