[clang++] Assertion `isGenericLambdaCallOperatorSpecialization(CurLSI->CallOperator) && "While computing 'this' capture-type for a generic lambda, when we " "run out of enclosing LSI's, yet the enclosing DC is a " "lambda-call-operator we must be (i.e. Current LSI) in a generic " "lambda call oeprator"' failed. #112558
This testcase is generated by a fuzzer.
Compiler Explorer: https://godbolt.org/z/KrWhxnc3r
This invalid code will crash on Clang Assertion Trunk, it seems that this goes back to clang-6:
Stack dump: