Obviously, because these compilers still cautiously implement support
for lambda expressions _literally_ as mere syntactic sugar for local
class declarations.
They just don't care/don't dare to optimize the general approach.
Lambda expressions are not seen as nested functions. Nobody even
considered following the "save a pointer to the parent's stack frame"
approach in their implementation. Maybe one day...
--
Best regards,
Andrey Tarasevich