Closed ameaninglessname closed 1 year ago
Your code has multiple errors. You're trying to capture [this]
from within a nested lambda that's already "lost" this
due to LoadingLambda having no captures, and the mandatory ()
is missing before the ->
return type specification. With these issues fixed, I managed to compile a similar nested lambda setup on both MSVC and Clang.
I can't do anything about Rider's tooltips, try reporting this issue to them.
My bad for over simplified the example code.(Fixed.)
I tried really hard to find reproducible steps, but i failed. It looks like a compiler error. I decide to work around and ignore it now. (Just about to close this when you just closed it^^)
I got this error when trying to capture variable in the coroutine lambda:
After changing it to this, it compiles fine:
but still get a warning from rider: