I’ve been learning some Swift on Plurasight. We were going over the ‘unique’ ways Swift approaches For Loops. I did the exercises in Fire and it appears that a decrementing For Stride Loop will not return any values to the console or debugger. Thanks for taking a look.
looks like this was commented out top work around a compiler bug/limitation; I’ll check the status on that and see if I can add it back. (bugs://75284: Silver: can’t overload global func on parameter names)
Update: Fixed, except for the Double version of stride on Toffee, that one still fails, and I have reopened 75284 to solve that)
fixed; these were hardcoded to only accept positive by values; it seems that was as designed originally, and Apple has since their version.
Both of these fixes will be in today’s build, .2627; thanx for reporting!
On a positive note, I’m about 2/3rd’s of the way through the Swift tutorial and everything else has worked as expected in Fire (functions, arrays, etc…)