4 ms·
This is different from what you wrote the first time though. This time it makes sense syntactically and compiles, but why would you write it? It makes no logica
by Grustaf 5y ago
This is different from what you wrote the first time though. This time it makes sense syntactically and compiles, but why would you write it? It makes no logical sense, the inner block would never be executed.
If the inner block is actually called, that's an extremely serious bug. I know people in the Swift core team, can you share a code sample with me the exposes the bug and I will bring it up?
- worik 5y agoThe inner block is, roughly 1% of the time (in the code base this is from) executed. This is my point: The flagship development system of the most valuable company in the world is buggy. It is one example, but I have several examples of flaws like this.